Jump to content

tcp window scaling


chris z
 Share

Recommended Posts

tcp window scaling.....is there any benefit to turning this option on (IE: increased surfing speed)? if so, what is the proper way to do it? right now mine is set to 0, or off. i understand a little about what scaling does, but not enough to know if it's beneficial to play around with it. i was doing some tweak tests at DSL reports & came across this faq page about Linux performance tweaks www.psc.edu/networking/perf_tune.html . i know how to do these things in Windoze, via registry hacks, but i'm lost when it comes to Linux. my speed, throughput, etc. is screaming right now (Verizon DSL.....734kb down......194kb up), but if i can squeeze any more out of it, hey, why not?! any info/help with this would be appreciated, as always.

thanks,

Chris

Link to comment
Share on other sites

THANK YOU! for the link. I found those in /proc but didn't know exactly what to do with them as far as boolean, string etc....

 

Bacically just like it says. As root in a terminal issue

echo <value> > /proc/x/x/x

like they show

echo 8388608 > /proc/sys/net/core/wmem_max

 

Use cat to check what the current setting is and echo > to change it

[root@localhost /]# cat /proc/sys/net/core/rmem_max

65535

[root@localhost /]# echo 8388608 > /proc/sys/net/core/rmem_max

I'm pretty sure you need to set those at reboot somewhere, either your own script or /etc/rc.d/rc.local

 

Now, lets see what I can do to this dialup :twisted:

Link to comment
Share on other sites

you're welcome for the link. my next question would be, it shows how to turn on tcp window scaling

echo 1 > /proc/sys/net/ipv4/tcp_window_scaling

but it doesn't say how to turn it off, should i not like the results. does the "1" after echo mean "on"? if so, would "0" mean off? please advise before i dig myself a hole that i don't feel like digging myself out of right now?

thanks,

Chris

Link to comment
Share on other sites

exactly;

echo 0 > /proc/sys/net/ipv4/tcp_window_scaling

would turn it off. BTW, nothing I do seems to increase my speed any on dialup. Guess dialup is already pretty much optimized, which is a bummer cuz I was hoping to at least get linux as fast as windows :cry:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...