LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-15-2009, 11:46 AM   #1
Vinter
Member
 
Registered: Feb 2005
Location: Germany
Distribution: Aptosid
Posts: 148

Rep: Reputation: 19
Enhancing DSL Performance


My consistent problems with my DSL connection currently seem to be peaking, and unfortunately, I cannot quite tell why.

Specifically, any DNS lookup, connection establishment or initial HTTP request take ages, usually around 30 seconds each, which is especially a problem when browsing webpages with multiple sources.

(For instance, this very site timed out loading after 5 minutes.)

As speed is fine as soon as a connection is established, I suppose there's a configuration error on my side. I tried curing my DNS problems with dnsmasq as a caching nameserver but hat little success, as it does not seem to cache at all. Furthermore, trying different open DNS servers only made my problem worse.

I am quite puzzled where to start configuring, so could anyone suggest a solution or give a hint which specific topic to look into?

I'm running an up-to-date Sidux (kernel is only 2.6.28-1.slh.1-sidux-686, though) behind a wire-connected router leading to an 16.000kbps ADSL line. Issues seem to be independent of userspace, a simple ping takes just as long for the lookup part.

Unfortunately, there is no Windows box available to compare.

Thanks in advance for any suggestions!
David
 
Old 07-15-2009, 12:00 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
You should set up your network for DHCP. That will provide all of the network configuration data that your machine needs.
 
Old 07-15-2009, 12:10 PM   #3
Vinter
Member
 
Registered: Feb 2005
Location: Germany
Distribution: Aptosid
Posts: 148

Original Poster
Rep: Reputation: 19
Simple DHCP is enabled on the router, of course. I was thinking more in terms of timeout tweaking, possible additional programs, network driver settings and the like. As I said, I have no idea where to start, but basic network data is not the problem.
 
Old 07-15-2009, 03:50 PM   #4
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Enabling DHCP on the router is only half of the process. You enable DCHP on the computer's NIC. It gets all of its configuration data from the router. That will automatically set up the router as the DNS server or it will pass your ISP's DNS server address to your computer, and DCHP will automatically set up the router as the gateway.

You are likely to cause your own problems by tweaking network settings.

I don't understand what "...basic network data is not the problem" means.

Keep it simple. You are likely to shoot yourself in the foot by over thinking this.

Last edited by stress_junkie; 07-15-2009 at 03:53 PM.
 
Old 07-15-2009, 04:47 PM   #5
Vinter
Member
 
Registered: Feb 2005
Location: Germany
Distribution: Aptosid
Posts: 148

Original Poster
Rep: Reputation: 19
Problems were there before I started tweaking anything, or else I would not have started

Of course, DHCP is enabled on my NIC, so routes and DNS are well set. But especially with this very basic configuration, I am having problems, i. e. DNS, connection and HTTP timeouts, which is - judging from my university's network - independent of my internet connection. Top speed is there, rest is not.

Believe me, I am not a newbie, I've been toying with simple networks for almost a decade and thus know the basic mechanisms quite well, but I never had to tamper with any settings below software level, which is why I ask here. Getting things up and running is no problem, but tweaking performance very much is, especially as I have primarily been dealing with networks where speed was not an issue.

(Expressing myself in English is just as much of a problem, it seems, hence this misunderstanding.)

Last edited by Vinter; 07-15-2009 at 04:48 PM.
 
  


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
enhancing cache performance Net_Spy Linux - Networking 2 07-01-2009 03:49 AM
Photo Enhancing jestinjoy General 3 04-13-2008 03:32 PM
Enhancing FC....beginning a new project. _UnPrEdictAbLe_ Fedora 4 08-05-2005 04:17 AM
enhancing nvidia performance zero79 Debian 18 07-09-2005 03:39 PM
performance gain when dsl modem off jwgorman Linux - Newbie 0 07-06-2005 08:44 AM

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

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