sendfile-io |
NcFTPd general.cf file configuration Don't forget to restart NcFTPd after modifying the general.cf file. |
NcFTPd can use a performance optimization referred to as "sendfile" if this is supported by the operating system. These systems have a kernel function called sendfile which allows for efficient transfer of an entire file over a socket in one operation (as opposed to the usual method of transferring a series of small data blocks, which requires frequent context switches to and from user space). Depending on the quality of the implementation, this can greatly increase throughput and OS performance.
Currently the only supported systems this option takes effect on are Linux, FreeBSD, and Solaris 8 or newer. Because this is relatively new technology, you can disable it if you experience system instability.
Examples:
Recommendation: