What are Internal transfer buffer size & Socket buffer S

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
hsdpa
500 Command not understood
Posts: 1
Joined: 2007-05-02 16:52

What are Internal transfer buffer size & Socket buffer S

#1 Post by hsdpa » 2007-05-02 16:56

I can’t seem to find any documentation regarding the "Internal transfer buffer size" and "Socket buffer size" settings in FileZilla FTP Server. Can anyone tell me what they do, or refer me to somewhere on the web where they are documented?

User avatar
botg
Site Admin
Posts: 35562
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

#2 Post by botg » 2007-05-03 14:12

The "Socket buffer size" option controls the value of the SO_SNDBUF and SO_RCVBUF socket options set using setsockopt

The "Internal transfer buffer size" is the size of the buffer FZS uses internally. It's basically the maximum amount of bytes FZS tries to handle in a single IO operation.

In both cases, if the values are too small, FZS will be more busy to process the event loop than to do the actual IO, leading to poor throughput.

If the values are too big, lots of CPU resources will be wasted in moving stuff around in the buffers (memcpy and such).

mike20002
500 Command not understood
Posts: 1
Joined: 2007-06-18 12:47

#3 Post by mike20002 » 2007-06-18 12:48

Is ther any math how to get right sizes?
or is it trial and error... ;)

colinmel
504 Command not implemented
Posts: 7
Joined: 2007-07-23 12:38

#4 Post by colinmel » 2007-07-23 14:19

Hey HSDPA, try setting your socket buffer size to 256K. Works fine for me with CAT 8 :wink:

Post Reply