LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-29-2002, 03:04 PM   #1
raypen
Member
 
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 365

Rep: Reputation: 30
Linux RWIN


Anyone know how to set the DefaultRecWindow parameter
in Linux (better known as RWIN)? Or is there such a thing
in Linux?

Speedguide says there is and mine is pitifully small. Would
like to try a larger size if possible.
 
Old 11-29-2002, 06:55 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
"echo ${value} > /proc/sys/net/core/{r,w}mem_{max,default}"
where value is the size you want it to be. Docs be in /usr/src/linux/Docu.*/netw.*
 
Old 11-30-2002, 12:33 AM   #3
raypen
Member
 
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 365

Original Poster
Rep: Reputation: 30
Interesting?

rmem_default, rmem_max, wmem_default and wmem_max are all set at 65535.

Speedguide reports a Default Receive Window of 5840. Does this make any
sense? Since the above defaults (65535) are not a precise multiple of MSS,
are they causing this odd reporting?

Unfortunately, I could not find the Docs that explain this in the directories
you mentioned. I'm really not sure what should be changed and to what
value. I assume 'max' and 'default' should probably be set the same
however.

Any further enlightenment appreciated.
 
Old 12-02-2002, 03:40 PM   #4
raypen
Member
 
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 365

Original Poster
Rep: Reputation: 30
I used the SpeedGuide recommended Linux settings to tweak various keernal settings
as follows:

echo 128480 > /proc/sys/net/core/rmem_default
echo 256960 > /proc/sys/net/core/rmem_max
echo 128480 > /proc/sys/net/core/wmem_default
echo 256960 > /proc/sys/net/core/wmem_max
echo 1 > /proc/sys/net/ipv4/tcp_window_scaling
echo 0 > /proc/sys/net/ipv4/tcp_timestamps

Unfortunately nothing changed in the speed report. Even though scaling is set
to 1 (should it be 2), scaling is reported as 0 bits. Windows systems report
scaling as 2 bits with an unscaled window = 64240.

Any suggestions?
 
Old 07-30-2003, 04:39 PM   #5
the_anti_pat
LQ Newbie
 
Registered: Jul 2003
Distribution: RedHat 8.0 (Debian soon)
Posts: 21

Rep: Reputation: 15
GUI

Are there any GUI based apps to optimise these settings because I'd like to see what my connection is set to! I seem to have a descent Rwin but my scaler is 0! I tried "echo 8 > ...scaling" which was accepted (i.e went to next line of console without error.) I downloaded linuxconf but I can't see a Rwin configuration tool there either!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rwin Harryc Fedora 0 07-10-2004 09:39 PM
How to discover my rwin value mooreted Linux - Networking 0 12-14-2003 04:42 PM
Changing RWIN? Ro_laids Linux - Networking 5 08-01-2003 06:23 PM
How to change RWIN wr3ck3d Linux - Networking 1 03-03-2003 10:59 PM
LWIN and RWIN Keys under XF86 v4.2.1 Amboss Linux - Software 0 10-31-2002 06:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration