On 1/5/07, Nicolas FROMENT (JIRA) <[EMAIL PROTECTED]> wrote:
> First of all, I was wrong the default size is 4096 and not 512. Some
time ago, I experiment performance issue with the ftpserver. It was 4
times slower than proftpd on the same computer. I look around the code.
As I was previously implicated in a project with a lot of IO call, I
knew that writing on disk with different buffer size (because of disk
cluster size and/or because bigger the buffer is, fewer are the IO) we
got different performance.
I would be interesting to test this with different sizes for the
buffer. And, I would guess that there are many other places where we
can optimize our code. I don't know if anyone has done any serious
performance work with FtpServer. If you like to do it, we would be
trilled :-)
> I don't test it with the ftpserver code (I can't manage building it
with maven... If someone can explain or point to a wiki page :-) ). With
the last binaries I download, it is still 4 times slower than proftpd.
The binaries has not been updated for a few years so there no change there.
This, rather brief, page in the wiki describes what you should need to
build FtpServer:
http://cwiki.apache.org/FTPSERVER/building.html
If you get stuck anywhere doing it, feel free to ask here and I'll help
you out!
/niklas