Topic "Adjusting SendSocketBuffer for newer Windows versions"

Author Message
[View user's profile]

Joined: 2008-05-13
Posts: 7
Location: Germany, 73037 Gppingen

Microsoft has changed with windows vista larger changes in the tcp stack!
Since Vista Windows use some algorithms to optimice the bandwidth on higher latency.
This algorithms optimize automatically the SendSocketBuffer.

I have the case, that I have 2 servers with 1Gbps dedicated internet line.
Between the servers are 8 hops with 16ms latency, this is not bad for a synchronization between 2 different locations.

If I would use WinSCP, the file transfer will be on 70Mbit/s, this is not bad, but it should be better.
Because if I use SMB to copy the same files, I have about 400Mbit/s.
The same case if I use the windows cmd ftp client with parameter ftp -x:262144
This will set the SendSocketBuffer to 262144 Bytes.

We have checked this with Wireshark and with a test tool NTttcpr from Microsoft.
This is an application problem, which are affected also many other ftp / ssh clients.
For example cURL, Filezilla are also affected.

Because the most ftp / ssh clients have fix values, are older as Windows Vista and have fix SendSocketBuffer values.
This was good for older Windows versions, because they had a very small value, but not for current windows versions.

Kind Regards,
Stefan Scheiffele
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
Thanks for your report.
I'm sending you an email with a dev version of WinSCP to address you have used to register on this forum.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
Did you get my email?
Martin Prikryl

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License