LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 04-13-2008, 12:27 PM   #1
manusmad
LQ Newbie
 
Registered: Apr 2008
Posts: 4

Rep: Reputation: 0
Help - Extremely slow internet speed in etch


Hello everyone,

I am newbie user, and have shifted to using Debian completely though I use a dual-boot system. There is a single problem, though.

About 80% of the time, Debian gives very slow internet speeds (of the order of max. 500 BPS !!).

System specs:
AMD Athlon 3000+
512 MB DDR
Debian Etch 4.0r3 amd64 installed on 10 GB ext3 partition
Proxy internet connection, password enabled.

The problem is resolved sometimes when I restart. As I said, this happens in about 80% of the sessions. Sometimes, there is no problem at all.

I get very high speeds in Windows. (I am using Windows now to post this message, painful as it is) The slowness is not just with iceweasel browsing. All services... apt-get, updates show the same slow speed.

I was advised to disable ipv6. I did the following steps, each one in turn, restarted, and tested... no change. Internet is still at a snail's pace. Please help.

/etc/modprobe.d/aliases
# alias net-pf-10 ipv6

iceweasel about:config
network.dns.disableIPv6 user set boolean true

/etc/modprobe.d/blacklist
blacklist ipv6
 
Old 04-13-2008, 01:31 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,185

Rep: Reputation: 468Reputation: 468Reputation: 468Reputation: 468Reputation: 468
I suspect it is due to autonegotiate settings. Windows seems to do OK with those but UNIX/Linux don't.

type "ethtool eth0" (assuming eth0 is your primary interface).
See if it is showing "advertised" auto negotiation as yes.
See if it shows your speed at 10 or your duplex at half.
If so it likely autonegotiated to half duplex or 10 Mbps. You can use ethtool to set the options. Usually it is the half duplex that is the issue. You can turn off advertised auto negotiation and force setting to full duplex and speed 100 Mbps. (All this is assuming you're not on a Gigabit network.
 
Old 04-13-2008, 04:08 PM   #3
manusmad
LQ Newbie
 
Registered: Apr 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Don't think its the autonegotiate settings... Took about half an hour to download 54KB ethtool utility ..

Initial settings were:
Quote:
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Current message level: 0x00000037 (55)
Link detected: yes
As you can see, Speed is 100 Mb/s and it is already on Full duplex. I turned off the auto-negotiation just in case.

Revised settings are:
Quote:
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised auto-negotiation: No
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 1
Transceiver: internal
Auto-negotiation: off
Current message level: 0x00000037 (55)
Link detected: yes
Still no change in Internet speed...

Further symptoms for diagnosis:
While downloading ethtool using apt from command line, there was a burst of data (~200 bits) each time a new iceweasel window was opened. When there was no other activity, the apt-get timed out and I had to restart it.
 
Old 04-14-2008, 11:36 AM   #4
tredegar
Guru
 
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 5,995

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
While downloading ethtool using apt from command line, there was a burst of data (~200 bits) each time a new iceweasel window was opened
This sort of weirdness makes me wonder if this an IRQ problem.

Take a look at /var/log/syslog for warnings / errors
Maybe try booting with the kernel parameter pci=routeirq
 
Old 04-15-2008, 07:11 PM   #5
manusmad
LQ Newbie
 
Registered: Apr 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Shown below are the most frequent reports from /var/log/syslog ... I'm not sure they're related to the problem at hand.

Quote:
Apr 15 22:05:35 localhost modprobe: WARNING: Not loading blacklisted module ipv6
Apr 15 22:13:24 localhost gconfd (root-8438): starting (version 2.16.1), pid 8438 user 'root'
Apr 15 22:13:24 localhost gconfd (root-8438): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only configuration source at position 0
Apr 15 22:13:24 localhost gconfd (root-8438): Resolved address "xml:readwrite:/root/.gconf" to a writable configuration source at position 1
Apr 15 22:13:24 localhost gconfd (root-8438): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only configuration source at position 2
Apr 15 22:13:24 localhost gconfd (root-8438): Resolved address "xml:readonly:/var/lib/gconf/debian.defaults" to a read-only configuration source at position 3
Apr 15 22:13:24 localhost gconfd (root-8438): Resolved address "xml:readonly:/var/lib/gconf/defaults" to a read-only configuration source at position 4
Menawhile, I discovered that the problem is not just with internet... accessing all network devices is extremely slow.

* My network settings detect eth0 and it is activated.
* The network connections icon on the top panel shows network not connected.
* In Menu>>System tools>>Network connections, the network device is shown as 'Loopback'. eth0 is available from the drop-down menu, but it again reverts to loopback the next time.
 
Old 04-16-2008, 03:52 AM   #6
tredegar
Guru
 
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 5,995

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Please try editing /boot/grub/menu.lst
Find the line that refers to the kernel you are booting, it'll look something like this:
Code:
kernel		/boot/vmlinuz-2.6.15-51-386 root=/dev/hda6 ro quiet splash
Change it to read
Code:
kernel		/boot/vmlinuz-2.6.15-51-386 root=/dev/hda6 ro quiet splash pci=routeirq acpi=noirq
Reboot. Any better?
 
Old 04-17-2008, 04:37 PM   #7
manusmad
LQ Newbie
 
Registered: Apr 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Substituted the first with the second

Quote:
kernel /boot/vmlinuz-2.6.18-6-amd64 root=/dev/sda10 ro

kernel /boot/vmlinuz-2.6.18-6-amd64 root=/dev/sda10 ro pci=routeirq acpi=noirq
and restarted... no change.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Extremely Slow Internet Connection on Slack technik733 Linux - Software 5 05-25-2009 04:12 PM
Extremely slow internet Mandriva 2007 ultimatenoob Mandriva 8 11-24-2006 07:26 PM
dial up internet extremely slow in linux fakie_flip Linux - Hardware 3 05-12-2006 02:51 AM
NF7-S + Sata .... extremely slow speed... Ryanlee Linux - Hardware 1 11-02-2005 12:57 AM
Extremely slow burn speed with cdrecord SilentStrike Linux - Hardware 4 11-17-2002 02:22 AM


All times are GMT -5. The time now is 10:46 PM.

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
Open Source Consulting | Domain Registration