LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-08-2004, 05:43 PM   #1
SlackN00b
Member
 
Registered: Dec 2003
Distribution: Slackware 9.1
Posts: 44

Rep: Reputation: 15
Need help on tuning my connection


Hello everyone I'm back again to ask u a question (sorry )
I found that my conection on my Win box is definitely faster than the one on my linux box. So i found this cool site to test my LAN 10Mbit connection
site:http://miranda.ctd.anl.gov:7123/
and i ran the test...
I can't copy the results cuz ctrl-c doesn't work but it says:
Round trip time=221 msec Packet size=1368 Bytes No packet loss
This connection is receiver limited 81.87% of the time
Increasing current receive buffer (61 k) will improve performance
this connection is sender limited 6.16% of the time
Increasing current sender buffer (63 k) will improve performance
This connection is network limited 11.95% of the time
Selective Acknowledgement:ON
Nagle Algorithm: ON
Explicit Congestion Notification OFF
Time Stamping: ON
Windows Scaling: OFF

So i typed in console:
$:cat /proc/sys/net/ipv4/tcp_timestamp
1
$:cat /proc/sys/net/ipv4/tcp_window_scaling
1
$:cat /proc/sys/net/ipv4/tcp_sack
1
$:cat /proc/sys/net/core/rmem_default
65535
$:cat /proc/sys/net/core/rmem_max
65535
$:cat /proc/sys/net/core/wmem_default
65535
$:cat /proc/sys/net/core/wmem_max
65535
$:cat /proc/sys/net/ipv4/tcp_rmem
4096 87380 174760
$:cat /proc/sys/net/ipv4/tcp_wmem
4096 16384 131072
From what I know the last 2 are the memory reserved for TCP rcv buffers and memory reserved for TCP snd buffers so these are the ones i gotta change but how and how much??
then how I can Enable Windows Scaling?
My Win relevant setting are:
Tcp rcv windows = 513920
Max MTU = 1500
Window scaling: YES
Time Stamping : NO
Selective Acs : YES
Path MTU Discovery :YES
Black Hole detect.: NO
Max duplicate Aks : 1
TTL : 128
How can I have the same settings in Linux?
I'm sorry for the long post and hope you can help me.
Thx a lot in advance

Last edited by SlackN00b; 01-08-2004 at 06:13 PM.
 
  


Reply



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
server tuning mufy Linux - General 1 01-04-2005 05:02 AM
ATI-tuning theonebeyond Linux - Hardware 3 10-07-2004 05:18 AM
Tuning Linux... hkxx9 Linux - Newbie 5 09-16-2004 07:30 AM
Emacs tuning pycoucou Programming 0 04-13-2004 07:48 AM
Need help on tuning my connection SlackN00b Linux - Networking 0 01-09-2004 05:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:21 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