maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kristian Rosenvold <>
Subject Re: Preview release: Plexus Archiver multithreaded Zip edition
Date Sat, 10 Jan 2015 19:14:30 GMT
No NIO. The problem is the ZipArchiveOutputStream in commons compress
which is already suffering from a bit of an overload. With the changes
I made to ZipArchiveOutputStream you could probably try to make a
patch; it'd be interesting to see what kind of effect it would have.
Be sure to make your patch as small and clean as possible if it's
going to commons :) (And there's a profile with IT's there too :)

I somehow suspect that the mix of small computations and quite small
blocks of IO is the main reason this algorithm is no faster.  It
writes about 250MB/s on my MBP SSD right now in the "gather" phase.


2015-01-10 19:55 GMT+01:00 Tibor Digana <>:
> Hi Kristian,
> Are you using NIO for writing big chunks?
> Several years ago I made NIO1 measurements. I found that using 256KB
> DirectByteBuffe on Win together with MappedByteBuffer/RandomAccessFile on
> very large files 1GB got terribly fast throughput 400MB/s on ordinal hard
> drive however the flush/close operation was obviously slow. So this DMA on
> mapped memory really gains the performance.
> --
> View this message in context:
> Sent from the Maven Developers mailing list archive at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message