LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Internet is too slow (https://www.linuxquestions.org/questions/linux-networking-3/internet-is-too-slow-182867/)

voidmain 05-18-2004 09:35 AM

Internet is too slow
 
Hello everybody.

I read almost everything written on Internet Slowdown in forums. I also google'd and read lots of pages regarding this problem. But still got no clue.

I have the following system:

Code:

  CPU            : Intel Celeron 1.7ghz
  Mainboard      : Asus P4G8X Deluxe
  Sound Card      : Realtek Ac97 OnBoard
  Ram            : 256 DDR
  Ethernet Cards  : Realtek 8139C (10/100)
                    BroadCom NetXtreme Gigabit Ethernet (10/100/1000)
                    SiS 900 (10/100)
  Display Card          : NVidia GeForce 4 Mx 440
  Connection      : 128 Downstream / 32 Upstream Cable.
  Cable Modem    : Askey
  Operating System: Slackware 9.1
  Kernel          : 2.4.22 (Default with no modifications)

I have installed the NVIDIA driver to X.

Here is my dmesg result:

Code:

Linux version 2.4.22 (root@midas) (gcc version 3.2.3) #6 Tue Sep 2 17:43:01 PDT 2003
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000fffc000 (usable)
 BIOS-e820: 000000000fffc000 - 000000000ffff000 (ACPI data)
 BIOS-e820: 000000000ffff000 - 0000000010000000 (ACPI NVS)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
255MB LOWMEM available.
On node 0 totalpages: 65532
zone(0): 4096 pages.
zone(1): 61436 pages.
zone(2): 0 pages.
Kernel command line: auto BOOT_IMAGE=Linux ro root=301
Initializing CPU#0
Detected 1703.899 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 3394.76 BogoMIPS
Memory: 256092k/262128k available (1813k kernel code, 5648k reserved, 614k data, 116k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 128K
CPU:    After generic, caps: 3febfbff 00000000 00000000 00000000
CPU:            Common caps: 3febfbff 00000000 00000000 00000000
CPU: Intel(R) Celeron(R) CPU 1.70GHz stepping 03
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xf1db0, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
Transparent bridge - Intel Corp. 82801BA/CA/DB/EB PCI Bridge
PCI: Using IRQ router PIIX [8086/24c0] at 00:1f.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
Real Time Clock Driver v1.10e
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot 00:1f.1
PCI: Found IRQ 3 for device 00:1f.1
PCI: Sharing IRQ 3 with 00:1d.2
PCI: Sharing IRQ 3 with 02:05.0
ICH4: chipset revision 2
ICH4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:pio
hda: ST380021A, ATA DISK drive
blk: queue c03a9d80, I/O limit 4095Mb (mask 0xffffffff)
hdc: HL-DT-ST GCE-8525B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=9729/255/63, UDMA(100)
hdc: attached ide-cdrom driver.
hdc: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
 hda: hda1 hda2
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
  8regs    :  1958.400 MB/sec
  32regs    :  1233.600 MB/sec
  pIII_sse  :  2239.200 MB/sec
  pII_mmx  :  1949.600 MB/sec
  p5_mmx    :  1940.400 MB/sec
raid5: using function: pIII_sse (2239.200 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 1.0.5+(22/07/2002)
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 116k freed
Adding Swap: 987988k swap-space (priority -1)
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: Unsupported Intel chipset (device id: 255d), you might want to try agp_try_unsupported=1.
agpgart: no supported devices found.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
sis900.c: v1.08.06 9/24/2002
PCI: Found IRQ 5 for device 02:06.0
eth0: SiS 900 Internal MII PHY transceiver found at address 1.
eth0: Using transceiver found at address 1 as default
eth0: SiS 900 PCI Fast Ethernet at 0xb400, IRQ 5, 00:06:4f:09:07:5a.
tg3.c:v1.6 (June 11, 2003)
PCI: Found IRQ 3 for device 02:05.0
PCI: Sharing IRQ 3 with 00:1d.2
PCI: Sharing IRQ 3 with 00:1f.1
eth1: Tigon3 [partno(BCM95702A20) rev 1002 PHY(5703)] (PCI:33MHz:32-bit) 10/100/1000BaseT Ethernet 00:e0:18:fa:74:d8
8139too Fast Ethernet driver 0.9.26
PCI: Found IRQ 9 for device 02:02.0
PCI: Sharing IRQ 9 with 00:1d.7
eth2: RealTek RTL8139 Fast Ethernet at 0xd08b8000, 00:50:fc:8c:3e:67, IRQ 9
eth2:  Identified 8139 chip type 'RTL-8139C'
eth2: Setting 100mbps full-duplex based on auto-negotiated partner ability 45e1.
PCI: Found IRQ 4 for device 00:1f.5
PCI: Setting latency timer of device 00:1f.5 to 64
intel8x0: clocking to 48000
i810_rng: RNG not detected
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Found IRQ 9 for device 00:1d.7
PCI: Sharing IRQ 9 with 02:02.0
PCI: Setting latency timer of device 00:1d.7 to 64
ehci_hcd 00:1d.7: Intel Corp. 82801DB USB2
ehci_hcd 00:1d.7: irq 9, pci mem d090f000
usb.c: new USB bus registered, assigned bus number 1
ehci_hcd 00:1d.7: enabled 64bit PCI DMA
PCI: 00:1d.7 PCI cache line size set incorrectly (0 bytes) by BIOS/FW.
PCI: 00:1d.7 PCI cache line size corrected to 16.
ehci_hcd 00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-19/2.4
hub.c: USB hub found
hub.c: 6 ports detected
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Found IRQ 11 for device 00:1d.0
PCI: Sharing IRQ 11 with 01:00.0
PCI: Setting latency timer of device 00:1d.0 to 64
uhci.c: USB UHCI at I/O 0xd800, IRQ 11
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 7 for device 00:1d.1
PCI: Setting latency timer of device 00:1d.1 to 64
uhci.c: USB UHCI at I/O 0xd400, IRQ 7
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 3 for device 00:1d.2
PCI: Sharing IRQ 3 with 00:1f.1
PCI: Sharing IRQ 3 with 02:05.0
PCI: Setting latency timer of device 00:1d.2 to 64
uhci.c: USB UHCI at I/O 0xd000, IRQ 3
usb.c: new USB bus registered, assigned bus number 4
hub.c: USB hub found
hub.c: 2 ports detected
i810_rng: RNG not detected
i810_rng: RNG not detected
i810_rng: RNG not detected
i810_rng: RNG not detected
i810_rng: RNG not detected
i810_rng: RNG not detected
i810_rng: RNG not detected
i810_rng: RNG not detected
i810_rng: RNG not detected
i810_rng: RNG not detected
i810_rng: RNG not detected
i810_rng: RNG not detected
i810_rng: RNG not detected
i810_rng: RNG not detected
0: nvidia: loading NVIDIA Linux x86 NVIDIA Kernel Module  1.0-5336  Wed Jan 14 18:29:26 PST 2004
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: Unsupported Intel chipset (device id: 255d), you might want to try agp_try_unsupported=1.
agpgart: no supported devices found.
0: NVRM: AGPGART: unable to retrieve symbol table

I have not configured all of my network cards. My Cable Modem is attached to the eth2, and others are not configured:

Code:

eth0      Link encap:Ethernet  HWaddr 00:06:4F:09:07:5A
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:5 Base address:0xb400

eth1      Link encap:Ethernet  HWaddr 00:E0:18:FA:74:D8
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:3

eth2      Link encap:Ethernet  HWaddr 00:50:FC:8C:3E:67
          inet addr:194.54.50.182  Bcast:255.255.255.255  Mask:255.255.248.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:47677 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7376 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:6330529 (6.0 Mb)  TX bytes:946968 (924.7 Kb)
          Interrupt:9 Base address:0x8000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:20 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1612 (1.5 Kb)  TX bytes:1612 (1.5 Kb)

Here is the running processes:

Code:

USER      PID %CPU %MEM  VSZ  RSS TTY      STAT START  TIME COMMAND
root        1  0.0  0.0  488  236 ?        S    15:54  0:04 init [3]
root        2  0.0  0.0    0    0 ?        SW  15:54  0:00 [keventd]
root        3  0.0  0.0    0    0 ?        SWN  15:54  0:00 [ksoftirqd_CPU0]
root        4  0.0  0.0    0    0 ?        SW  15:54  0:00 [kswapd]
root        5  0.0  0.0    0    0 ?        SW  15:54  0:00 [bdflush]
root        6  0.0  0.0    0    0 ?        SW  15:54  0:00 [kupdated]
root        10  0.0  0.0    0    0 ?        SW<  15:54  0:00 [mdrecoveryd]
root      216  0.0  0.0    0    0 ?        SW  15:55  0:00 [eth2]
root      229  0.0  0.2  1404  536 ?        S    15:55  0:00 /sbin/dhcpcd -t 1
root      246  0.0  0.0    0    0 ?        SW  15:55  0:00 [khubd]
root      1560  0.0  0.2  1436  612 ?        S    15:55  0:00 /usr/sbin/syslogd
root      1563  0.0  0.1  1376  460 ?        S    15:55  0:00 /usr/sbin/klogd -
root      1566  0.0  0.2  1412  540 ?        S    15:55  0:00 /usr/sbin/inetd
root      1569  0.0  0.5  3080 1416 ?        S    15:55  0:00 /usr/sbin/sshd
root      1579  0.0  0.2  1500  592 ?        S    15:55  0:00 /usr/sbin/crond -
daemon    1581  0.0  0.2  1504  644 ?        S    15:55  0:00 /usr/sbin/atd -b
root      1584  0.0  0.8  4848 2124 ?        S    15:56  0:00 sendmail: accepti
smmsp    1587  0.0  0.7  4736 1956 ?        S    15:56  0:00 sendmail: Queue r
root      1602  0.0  0.1  1420  472 ?        S    15:56  0:00 /usr/sbin/gpm -m
illegal  1604  0.0  0.4  2276 1280 tty1    S    15:56  0:00 -bash
root      1605  0.0  0.1  1368  480 tty2    S    15:56  0:00 /sbin/agetty 3840
root      1606  0.0  0.1  1368  480 tty3    S    15:56  0:00 /sbin/agetty 3840
root      1607  0.0  0.1  1368  480 tty4    S    15:56  0:00 /sbin/agetty 3840
root      1608  0.0  0.1  1368  480 tty5    S    15:56  0:00 /sbin/agetty 3840
root      1609  0.0  0.1  1368  480 tty6    S    15:56  0:00 /sbin/agetty 3840
illegal  1626  0.0  0.3  2048  976 tty1    S    15:58  0:00 /bin/sh /usr/X11R
illegal  1639  0.0  0.2  2244  632 tty1    S    15:58  0:00 xinit /usr/X11R6/
root      1640  3.5  9.3 159056 23980 ?      RL  15:58  3:13 X :0
illegal  1646  0.0  0.3  2036  932 tty1    S    15:58  0:00 /bin/sh /usr/X11R
illegal  1648  0.0  0.3  2052  972 tty1    S    15:58  0:00 /bin/sh /opt/kde/
illegal  1660  0.0  3.4 25744 8792 ?        S    15:58  0:00 kdeinit: Running.
illegal  1663  0.0  5.1 25592 13244 ?      S    15:58  0:01 kdeinit: dcopserv
illegal  1666  0.0  5.6 27132 14512 ?      S    15:58  0:00 kdeinit: klaunche
illegal  1668  0.0  6.7 30832 17412 ?      S    15:58  0:01 kdeinit: kded
illegal  1681  1.4  2.4 10180 6196 ?        S    15:58  1:18 /opt/kde/bin/arts
illegal  1683  0.0  7.0 32644 18096 ?      S    15:58  0:00 kdeinit: knotify
illegal  1684  0.0  0.1  1364  336 tty1    S    15:58  0:00 kwrapper ksmserve
illegal  1686  0.0  5.9 27200 15312 ?      S    15:58  0:00 kdeinit: ksmserve
illegal  1687  0.1  6.7 28948 17360 ?      S    15:58  0:07 kdeinit: kwin -se
illegal  1688  0.3  6.4 24052 16500 ?      S    15:58  0:17 gaim
illegal  1690  0.0  6.2 27604 16052 ?      S    15:58  0:00 kdeinit: kwrited
illegal  1692  0.0  7.3 29916 18756 ?      S    15:58  0:01 kdeinit: kdesktop
illegal  1695  0.2  7.7 31316 19904 ?      S    15:58  0:12 kdeinit: kicker
illegal  1699  0.0  6.4 28340 16476 ?      S    15:58  0:05 kdeinit: klipper
illegal  1701  0.0  9.7 37336 25024 ?      S    15:58  0:01 kdeinit: konquero
illegal  1702  0.0  6.4 27972 16416 ?      S    15:58  0:00 korgac --miniicon
illegal  1704  0.0  6.8 28652 17532 ?      S    15:58  0:00 kdeinit: kmix -se
illegal  1717  0.0  4.5 26912 11660 ?      S    15:58  0:00 kalarmd --login
illegal  1844  0.0  5.1 28360 13280 ?      S    16:19  0:00 kdeinit: kio_uise
illegal  1937  2.1 11.0 43124 28276 ?      S    16:46  0:54 kdeinit: konquero
illegal  1992  0.0  3.7 26868 9560 ?        S    17:00  0:00 kdeinit: kio_file
illegal  2096  0.2  5.7 31584 14736 ?      S    17:21  0:01 kdeinit: konsole
illegal  2097  0.0  0.4  2272 1280 pts/1    S    17:21  0:00 -bash
illegal  2112  0.3  7.1 32368 18308 ?      S    17:21  0:01 kdeinit: konquero
illegal  2114  0.0  4.6 28692 11832 ?      S    17:21  0:00 kdeinit: kio_thum
root      2118  0.0  0.4  2260 1220 pts/1    S    17:24  0:00 bash
root      2123  0.0  0.3  2864  920 pts/1    R    17:27  0:00 ps -aux

My resolve.conf (DNS Numbers written there) file is correct, which I phoned the ISP and confirmed the DNS addresses.

The Internet is so slow that I have to wait about 14 seconds to open google.com with Lynx. There is a strange thing though, when I used IP, instead of domain name, it loads up almost instant. Downloads are also very slow, comparing Windows with same addresses.

Anybody can help me regarding this problem?

Thanks for advance.

voidmain 05-18-2004 05:30 PM

Thanks everybody who tried to help me (about 50 people read topic). I solved my problem.

I upgraded & optimized my kernel to 2.6.6, which caused my all system's performance go up about %1000.

Now I have a problem regarding XMMS, which is the only program that insists not to use my sound card for output & locks down :)

Probably I will correct it by upgrading latest ALSA tools.

Thanks.

Poetics 05-18-2004 05:40 PM

Thanks for posting the solution! I'm sure others will find it pretty useful.

-- Poetics

voidmain 05-18-2004 06:21 PM

For those who are new to linux, I am writing exactly what I did to solve my problem:

1. Downloaded the kernel 2.6.6 source while in my user home directory:

hkosten@Slackware:~$ wget http://www.kernel.org/pub/linux/kern...x-2.6.6.tar.gz

--00:03:55-- http://www.kernel.org/pub/linux/kern...x-2.6.6.tar.gz
=> `linux-2.6.6.tar.gz'
Resolving www.kernel.org... done.
Connecting to www.kernel.org[204.152.189.116]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 43,864,281 [application/x-gzip]

2. Logged in as root, and changed to my /usr/src folder.

hkosten@Slackware:~$ su
Password:
root@Slackware:/home/hkosten# cd /usr/src
root@Slackware:/usr/src# rm Linux
root@Slackware:/usr/src# tar -xvzf linux-2.6.6.tar.gz
(This gz also contains linux symlink)
root@Slackware:/usr/src# cd linux
root@Slackware:/usr/src/linux# make menuconfig
(Note: Read every item's help before making changes, and get your motherboard's handbook for hardware reference)
root@Slackware:/usr/src/linux# make dep; make clean; make; make install
(Time to drink some coffee :))
root@Slackware:/usr/src/linux# cp System.map /boot/System.map-ide-2.6.6
root@Slackware:/usr/src/linux# cp arch/i386/boot/bzImage /boot/vmlinuz-ide-2.6.6
(Update your symlinks to show new kernel & system map)
root@Slackware:/usr/src/linux# cd /boot
root@Slackware:/boot# ln -s vmlinuz-ide-2.6.6 vmlinuz
(Warning: if your System.map file already exists, rename it to System.map-ide-2.4.22 using mv System.map System.map-ide-2.4.22)
root@Slackware:/boot# ln -s System.map-ide-2.6.6 System.map
root@Slackware:/boot# lilo
root@Slackware:/boot# shutdown -r now (or Ctrl + Alt + Del for short :))

Now everything must work.

Cyb3rPr0 06-17-2004 11:42 PM

IDE chipset support (UDMA) on p4g8x-deluxe
 
Quote:

Originally posted by voidmain
Thanks everybody who tried to help me (about 50 people read topic). I solved my problem.

I upgraded & optimized my kernel to 2.6.6, which caused my all system's performance go up about %1000.

Now I have a problem regarding XMMS, which is the only program that insists not to use my sound card for output & locks down :)

Probably I will correct it by upgrading latest ALSA tools.

Thanks.


How can you enable the ide dma support for ata disks in kernel 2.6.X?

Motherboard: Asus P4G8X-DELUXE
Distr.: RH 9.0
Disk: Maxtor 40Gb (IDE UDMA ATA-100 disk)

The ide chipset support stop working after kernel 2.4.20 (they stop working the generic dma support with hdparm, and now every chipset has the own code on the linux kernel). Wich module you select in your kernel 2.6 to enable the udma support for ata disks?

Thanks!

mardanian 06-18-2004 02:45 AM

yep ALSA tools would fix your xmms problem :)


All times are GMT -5. The time now is 03:16 PM.