LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-18-2003, 05:48 PM   #1
defa0009
Member
 
Registered: Jun 2003
Posts: 185

Rep: Reputation: 31
Question Send Receive Buffer in Linux?


Does RedHat7.3 have a send receive buffer that you can edit? I am new to the RH OS so excuse me if this sounds stupid. On my Windows 2000 machine I can increase the default size but don't have the first clue where to start with RH. I have a 3mbps down and 800 k upload internet connection (up to) and I don't think I am taking full advantage of it. Any docs that you may know of that I should read or any info on the subject would be great!

Thanks in advance.

 
Old 06-20-2003, 07:18 PM   #2
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
go to this url and test the connection

http://www.dslreports.com/tweaks

then post the recommendations if any


and give more info on the type of connection.


here are some instructions if you want to try to tune it

http://www.psc.edu/networking/perf_tune.html#Linux

Last edited by DavidPhillips; 06-20-2003 at 07:25 PM.
 
Old 06-20-2003, 11:11 PM   #3
defa0009
Member
 
Registered: Jun 2003
Posts: 185

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by DavidPhillips
go to this url and test the connection

http://www.dslreports.com/tweaks


I went there...the applet actually loads (I have Mozilla browser) but if I press on the start button nothing happens...it doesn't start....it starts fine on my Windows machine though?
 
Old 06-21-2003, 12:29 AM   #4
defa0009
Member
 
Registered: Jun 2003
Posts: 185

Original Poster
Rep: Reputation: 31
Dave I checked out this link you suggested....also at the dslreports site they had a link in their FAQ's to 'tweaking a linux connection' at:

http://www.ibiblio.org/pub/Linux/doc.../DSL-HOWTO.pdf

which helped. I changed the send and receive thru the /proc/sys/net/core directory. I'll have to monitor if packets are getting lossed due to the changes I made for awhile but at least my goal has been achieved.

Thanks.
 
Old 06-21-2003, 01:04 AM   #5
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
yes, the other link in my post has some tweeks

if mozilla does not work try konqueror
 
Old 06-21-2003, 03:56 PM   #6
defa0009
Member
 
Registered: Jun 2003
Posts: 185

Original Poster
Rep: Reputation: 31
Dave,

One more question, the author in that link you gave talks about

"If you would like these changes to be preserved across reboots, it may be a good idea to add these commands to your /etc/rc.d/rc.local file."

He's reffering to adding these commands:

echo 8388608 > /proc/sys/net/core/wmem_max
echo 8388608 > /proc/sys/net/core/rmem_max
echo "4096 87380 4194304" > /proc/sys/net/ipv4/tcp_rmem
echo "4096 65536 4194304" > /proc/sys/net/ipv4/tcp_wmem


My question is would it have the same effect if I addded those values to the /etc/sysctl.conf file instead?

For example:

net.core.wmem_max = 8388608
net.core.rmem_max = 8388608
net.ipv4.tcp_rmem = 4096 87380 4194304 - should this value be in quotes?
net.ipv4.tcp_wmem = 4096 65536 4194304 - should this value be in quotes?

Last edited by defa0009; 06-21-2003 at 03:58 PM.
 
Old 06-21-2003, 04:14 PM   #7
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
It's very likely that that would be ok,

try it and see.

After reboot you can simply cat the proc file to see if it contains the correct number according to your settings.

Also these settings may not be the best for your connection, so you need to run a few tweek tests, maybe some speed tests, and see what's working best.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to send and receive "Net Send" messages in Linux? Avatar Linux - Networking 16 07-11-2010 09:42 PM
I can't send out email neither receive any... ultrax Linux - Wireless Networking 2 02-12-2008 09:16 AM
how to increase serial receive email buffer size? HZC Programming 0 02-14-2005 10:32 PM
Server does'nt send mail until shutdown and LAN can't send or receive. Wolfy Linux - Networking 0 08-02-2004 07:31 PM
Can Send, but Not Receive FXRS Linux - Software 1 07-09-2003 06:42 PM


All times are GMT -5. The time now is 09:47 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration