[
https://issues.apache.org/jira/browse/FTPSERVER-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462422
]
Nicolas FROMENT commented on FTPSERVER-48:
------------------------------------------
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 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.
So, put the buffer size as a configuration parameter can help improving
performance, and test it easily.
> Ability to change the size of the buffer when writing data on disk
> ------------------------------------------------------------------
>
> Key: FTPSERVER-48
> URL: https://issues.apache.org/jira/browse/FTPSERVER-48
> Project: FtpServer
> Issue Type: Wish
> Environment: All
> Reporter: Nicolas FROMENT
> Priority: Minor
>
> It could be a great benefit to be able to configure in parameters file
> (ftpd.conf ?) the size of the buffer to write on disk. The size of the buffer
> is 512 and is hard coded in RequestHandler, I guess. Some FileSystem will be
> more performant with a different buffer size. Feel free to contact me if I'm
> not clear.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira