Thread: Buffers
View Single Post
Old 05-31-2015, 02:22 PM  
mr.babek
Member
 
Join Date: Jul 2005
Posts: 82
Default Buffers

Hi guys

I am wondering what the best buffersettings are to use with ioFTPD for a relativly fast WAN connection.
At the moment I am using a 500Mbits fiber line.

I have tried using 32k and 64k buffers but still ioFTPD does not perform very well.
The weird thing is that outgoing performance is much lower than incoming.
Any thoughts on this?

The drives behind the FTP shouldn't have any problem handling 60MB/s (24 drive RAID6 using SATA drives)

at the moment I am using:

# This is the default size (it grows if needed) for internal buffering.
# It probably should be a multiple and at least as large as the data
# socket send size. Since internal buffers are used for directory listings
# it should be larger than the space needed for the largest single directory
# listing to avoid growing it. 32k min.
Transfer_Buffer = 999999

# This is the size of the TCP send/receive socket buffers. Because TCP
# advertises these values as part of the TCP protocol they can affect
# performance. Slow and/or poor quality connection should use small
# buffer sizes since retransmition of dropped packets involves resending
# or receiving all the data over again from the first lost byte...
# High speed / high quality connections achieve better performance with
# larger values. The max is 64k. As an example FlashFXP uses 8k send
# and 32k recv. If you aren't maxing out your bandwidth on a try adjusting
# these upwards.
DataSocket_Send_Buffer = 65536
DataSocket_Recv_Buffer = 65536
# This is the size of the send/receive socket buffer for the command channel
# which usually never gets much bulk use. An exception would be clients who
# use "stat -l" to list directories. In that case for the send value use the
# datasocket send buffer size.
Socket_Send_Buffer = 65536
Socket_Recv_Buffer = 65536
DataSocket_Nagle = False
__________________
Current setup:

MS Windows Storage Server 2012R2, ioFTPD 7.7.3, ioNinja, nxTools
mr.babek is offline   Reply With Quote