ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles Scokart" <>
Subject RE: ivy:retrieve performance
Date Thu, 14 Jun 2007 12:15:33 GMT
> 2. The buffer in is too small. It's set at 8192. It seems
> to
> > be much better for me to set it much larger. This is due to the fact
> that
> > it
> > needs to read and write simultaneously. The bigger the buffer is, the
> > smaller number of time, HD header has to move. For me, 65536 seems to
> > perform much better but I haven't tried other numbers.
> I'd like to get more feedback on this. One use case is not the other. This
> size has been borrowed from Ant copy mechanism. Maybe what we could do is
> make this configurable, so that one could adapt to its needs. Or try to
> guess a good size depending on the size (when it's possible to get an idea
> of the size before copying).
> Xavier

Couldn't we use the nio for that?  (See


View raw message