LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-02-2004, 04:07 AM   #1
dhave
Member
 
Registered: Oct 2004
Location: still outside the Matrix
Distribution: Arch, formerly Gentoo and Slackware
Posts: 438

Rep: Reputation: 31
Optimize DSL on Linux?


I know that there are a lot of tweaks that can optimize a DSL connection in Windows. Often it's just a matter of changing a few settings, but I don't know anything about how to do this in Linux. On Windows there are little utilities that let you see and change your settings. Sometimes they "suggest" better setting.

Are there such things for Linux? Thanks.
 
Old 12-02-2004, 10:10 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Moved: More suitable in our Networking forum.
 
Old 12-02-2004, 10:28 AM   #3
Zyglow
Member
 
Registered: Nov 2004
Location: Texas
Distribution: CentOS, RHEL, Ubuntu
Posts: 73
Blog Entries: 1

Rep: Reputation: 16
There aren't any utilities beyond Vi. You can adjust the MTU in your peers file to tweek your connection. Unlike Windows, you really don't want to change the MTU on the interface itself.
 
Old 12-03-2004, 02:14 AM   #4
rabeea
Member
 
Registered: Aug 2004
Location: Pakistan
Posts: 52

Rep: Reputation: 15
Hi clawhead,

I am also a DSL user. Can u guide me how can i optimize my DSL connection in Windows2000 or Windows XP.

Ur help will be highly appreciated.

regards
Rabeea
 
Old 12-03-2004, 03:57 AM   #5
dhave
Member
 
Registered: Oct 2004
Location: still outside the Matrix
Distribution: Arch, formerly Gentoo and Slackware
Posts: 438

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by rabeea
Hi clawhead,

I am also a DSL user. Can u guide me how can i optimize my DSL connection in Windows2000 or Windows XP.
Yes, Rabeea, I think I can help you. Go to http://www.dslreports.com/tools and click on the Tweak Test "Go" button. Then start the test that's presented in the Java applet box (obviously, you'll need to have Java or Java runtime installed). After the test runs, click on Results. You'll have to provide info regarding the type of connection you have, your operating system (Linux is included, actually, along with numerous versions of Windows), etc. Then you'll get a page with advice about how to optimize your system.

Most of the changes that are recommended can be implemented in Windows by using a free utility called DrTCP. There are download links here: http://www.dslreports.com/drtcp. You have to reboot before the changes take effect, and, if you don't like the effect, all the changes are easily reversible.

I found that making the recommended changes did make a slight difference in ADSL performance on my Windows system. I'm glad you asked the question, because I see now that the website has good info for Linux users, too (which helps answer _my_ original question in the first post in this thread).
 
Old 12-03-2004, 04:00 AM   #6
dhave
Member
 
Registered: Oct 2004
Location: still outside the Matrix
Distribution: Arch, formerly Gentoo and Slackware
Posts: 438

Original Poster
Rep: Reputation: 31
Here's a good-looking resource page for TCP tweaking on Linux:

http://www.psc.edu/networking/projects/tcptune/#Linux

To get this page, I followed links provided by the www.dslreports.com tweak tests and listing Linux as my OS.
 
Old 12-04-2004, 12:11 AM   #7
rabeea
Member
 
Registered: Aug 2004
Location: Pakistan
Posts: 52

Rep: Reputation: 15
hi,

Thnx for the prompt reply and detailed support.
Now i need to know is that do i need to install/copy drtcp.exe in WINNT/system32 or wherever i will put it, it will be supporting my bandwidth usage.


thnx
Rabeea
 
Old 12-04-2004, 03:55 AM   #8
dhave
Member
 
Registered: Oct 2004
Location: still outside the Matrix
Distribution: Arch, formerly Gentoo and Slackware
Posts: 438

Original Poster
Rep: Reputation: 31
Rabeea, if I remember correctly, DrTCP is a utility that you can run at any time from any location. It's not a monitor and it doesn't reside in memory. Instead, it checks your Windows configuration and reports the values of a number of TCP-related settings. It also lets you change those settings, though, being Windows, the change requires a reboot to take effect. I suppose what it's doing is letting you change the registry, without requiring you to know where all the pertinent keys are, and minimizing the risk that you'll change something you shouldn't be messing with.

We should mention Linux somewhere in this post, so we don't get invited to move our discussion to www.windozequestions.org! I haven't been able to find anything like DrTCP for Linux, and my attempts to change TCP-related settings by echoing values to /proc/sys/net/core/rmem_default didn't work, for some reason.

Last edited by dhave; 12-04-2004 at 03:58 AM.
 
Old 12-04-2004, 04:25 AM   #9
dhave
Member
 
Registered: Oct 2004
Location: still outside the Matrix
Distribution: Arch, formerly Gentoo and Slackware
Posts: 438

Original Poster
Rep: Reputation: 31
Here's another good link (this may be suggested elsewhere on this forum, but my search didn't find it):

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

My problem is still this:

I followed the suggestion for changing the RWIN value, but I'm not convinced that it took effect. At least when I ran the dslreports tweak test the new value wasn't reflected.

I echoed the desired value (actually, twice the desired buffer size, acc. to the how-to above) to /proc/sys/net/core/rmem_default and .../rmem_max. To be sure, I checked values using sysctl -a. But the tweak test results never reflect this change.

Is there another file I should be tweaking? Is Slackware set up differently or something?

Thanks.
 
Old 12-04-2004, 04:52 AM   #10
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
as an another option, trafic shaper can be used to optimize DSL
there is a script at http://lartc.org/wondershaper/
i couldnt try it yet. but will try soon.
 
Old 12-04-2004, 05:01 AM   #11
rabeea
Member
 
Registered: Aug 2004
Location: Pakistan
Posts: 52

Rep: Reputation: 15
hi clawhead,

the same thing i was observing that change in RWIN was not displayed by dsl report tweaking test.
So i thought may be it is at an incorrect location. But now i know that its location on my system doesnt matter.

regards and thnx
Rabeea
 
  


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
can I optimize this kushalkoolwal Programming 5 10-21-2005 09:05 PM
How to optimize the partitions of a HD dabenavidesd Linux - General 1 09-02-2005 11:40 PM
kernel optimize? and linux headless Alinuxnoob Linux - General 4 06-17-2005 12:05 PM
DSL Usage optimize rabeea General 10 12-04-2004 12:15 PM
DSL/ Linksys DSL Router/ Linux cant see the network... Robert0380 Linux - Networking 9 04-03-2002 04:09 AM

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

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