S3Sync.net
February 02, 2014, 01:30:00 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: TCP Window Size  (Read 4104 times)
nohbdy
Newbie
*
Posts: 3


View Profile
« on: September 03, 2008, 08:05:24 AM »

I'm currently running s3sync on Windows 2008 (not within cygwin) but am experiencing rather slow upload speeds to S3.  A packet trace shows that my TCP Window size never goes above 64K.  Other applications uploading to S3 that have higher TCP Window sizes are getting the full bandwidth available.

Anyone been able to successfully increase the TCP Window size in s3sync?
Logged
ferrix
Sr. Member
****
Posts: 363


(I am greg13070 on AWS forum)


View Profile
« Reply #1 on: September 03, 2008, 09:24:07 PM »

Wow, is that something you can even *do* in ruby I wonder?
Logged
nohbdy
Newbie
*
Posts: 3


View Profile
« Reply #2 on: September 04, 2008, 06:39:24 AM »

Haha, great question.  I was trying to figure that out myself, but I'm no TCP programming expert.

I'm a little confused because I didn't think that would be something you should ever have to do.  I thought the OS was supposed to handle these things for you.  It obviously isn't doing that though.
Logged
ferrix
Sr. Member
****
Posts: 363


(I am greg13070 on AWS forum)


View Profile
« Reply #3 on: September 04, 2008, 03:28:30 PM »

Yeah I think it's an OS-level thing. 
Logged
nohbdy
Newbie
*
Posts: 3


View Profile
« Reply #4 on: September 11, 2008, 06:07:03 PM »

Hmm, I was right, the OS should scale the TCP window size.  But, it appears that the send buffer isn't large enough to allow for the window size to scale up.  You can adjust the send buffer through normal Winsock API calls.  Now, the question is, how do you do that in ruby?

Surely I'm not the only one that has tried/needed high speed (ie: > 5 mbit) uploads via s3sync.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!