Internet speed is halved when using Linux (Aztech DSL600EW)

General networking problems and issues. Questions about cabling, switches, hubs etc. can go here.
Post Reply
jongi
Novice
Novice
Posts: 37
Joined: Tue Apr 24, 2007 8:49 am

Internet speed is halved when using Linux (Aztech DSL600EW)

Post by jongi » Mon Aug 20, 2007 9:23 pm

I connect to the internet through my router (using firmware specific to my ISP). The router is setup to split traffic though two accounts - a local and an international account. This is done via the router's Routing Table. Now here's the thing, when I download from a news server via Grabit in XP, I get the full line speed. However when I use Grabit via Linux (or Pan Newsreader), the line speed is halved. What could be causing this?

I think this has something to do with it (FC7 - and Debian and Kubuntu).

Code: Select all

[jongi:~#] ping -c5 www.google.com
PING www.google.com (66.249.93.147) 56(84) bytes of data.
64 bytes from www.google.com (66.249.93.147): icmp_seq=1 ttl=235 time=390 ms
64 bytes from www.google.com (66.249.93.147): icmp_seq=1 ttl=235 time=390 ms (DUP!)
64 bytes from www.google.com (66.249.93.147): icmp_seq=2 ttl=235 time=388 ms
64 bytes from www.google.com (66.249.93.147): icmp_seq=2 ttl=235 time=388 ms (DUP!)
64 bytes from www.google.com (66.249.93.147): icmp_seq=3 ttl=235 time=392 ms
64 bytes from www.google.com (66.249.93.147): icmp_seq=3 ttl=235 time=392 ms (DUP!)
64 bytes from www.google.com (66.249.93.147): icmp_seq=4 ttl=235 time=391 ms
64 bytes from www.google.com (66.249.93.147): icmp_seq=4 ttl=235 time=391 ms (DUP!)
64 bytes from www.google.com (66.249.93.147): icmp_seq=5 ttl=235 time=387 ms

--- www.google.com ping statistics ---
5 packets transmitted, 5 received, +4 duplicates, 0% packet loss, time 3996ms
rtt min/avg/max/mdev = 387.047/390.379/392.969/2.027 ms
From XP

Code: Select all

C:\Documents and Settings\Jongi>ping -n 5 www.google.com

Pinging www.google.com [66.249.93.99] with 32 bytes of data:

Reply from 66.249.93.99: bytes=32 time=386ms TTL=235
Reply from 66.249.93.99: bytes=32 time=386ms TTL=235
Reply from 66.249.93.99: bytes=32 time=388ms TTL=235
Reply from 66.249.93.99: bytes=32 time=388ms TTL=235
Reply from 66.249.93.99: bytes=32 time=385ms TTL=235

Ping statistics for 66.249.93.99:
    Packets: Sent = 5, Received = 5, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 385ms, Maximum = 388ms, Average = 386ms
Notice no DUP in XP.

Code: Select all

C:\Documents and Settings\Jongi>ipconfig /all

Windows IP Configuration

        Host Name . . . . . . . . . . . . : jongi-main-xp
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Unknown
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Realtek RTL8139/810X Family PCI Fast Ethernet NIC
        Physical Address. . . . . . . . . : 00-14-85-F8-D2-F9
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 10.0.0.3
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 10.0.0.2
        DHCP Server . . . . . . . . . . . : 10.0.0.2
        DNS Servers . . . . . . . . . . . : 10.0.0.2
        Lease Obtained. . . . . . . . . . : 31 July 2007 16:35:20
        Lease Expires . . . . . . . . . . : 07 August 2007 16:35:20

Code: Select all

[root@Jongi-Main ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:14:85:F8:D2:F9
          inet addr:10.0.0.3  Bcast:10.0.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:198478 errors:0 dropped:0 overruns:0 frame:0
          TX packets:210286 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:175494760 (167.3 MiB)  TX bytes:16539434 (15.7 MiB)
          Interrupt:18 Base address:0xe000

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:16546 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16546 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:127078815 (121.1 MiB)  TX bytes:127078815 (121.1 MiB)
Any thoughts on what could be the cause?
jongi
Novice
Novice
Posts: 37
Joined: Tue Apr 24, 2007 8:49 am

Post by jongi » Mon Aug 20, 2007 9:31 pm

I tried to edit the above post but keep on getting Invalid Session errors even when I close and open my browser again.

If anyone is interested the GPL compliant source code can be found here.

The firmware used by my ISP
User avatar
Shotokan101
RouterTech Team
RouterTech Team
Posts: 4779
Joined: Thu Jan 26, 2006 3:17 pm
Location: Glasgow, Scotland

Post by Shotokan101 » Mon Aug 20, 2007 10:54 pm

....check that MTU/MRU settings are the same in Windows and Linux.. :?
Jim

.....I'm Sorry But I Can't Do That Dave.....
jongi
Novice
Novice
Posts: 37
Joined: Tue Apr 24, 2007 8:49 am

Post by jongi » Fri Aug 24, 2007 8:07 pm

How do I find out what the windows MTU setting on my NIC is? My Router has MTU as 1492. As does Linux.
Attachments
drtcp.jpg
What DrTCP shows me
drtcp.jpg (30.48 KiB) Viewed 7437 times
User avatar
Shotokan101
RouterTech Team
RouterTech Team
Posts: 4779
Joined: Thu Jan 26, 2006 3:17 pm
Location: Glasgow, Scotland

Post by Shotokan101 » Fri Aug 24, 2007 8:48 pm

Hi - in that case just use DrTCP to force windoze to be the same and post back whether it affects the problem......
Jim

.....I'm Sorry But I Can't Do That Dave.....
User avatar
eMuNiX
Ex RouterTech Team
Ex RouterTech Team
Posts: 901
Joined: Sat Jan 28, 2006 9:02 am
Contact:

Post by eMuNiX » Tue Aug 28, 2007 3:27 pm

I don’t know about newsreaders but have noticed on some firmware that go with the AR7 chipset that if you don’t enter your ISP DNS server addresses things can be a tad slow, otherwise the only other thing that I have troubles with, when using linux, is some speedtest sites either give false results (could be a java issue) or fail to work. Never any speed issues with P2P attaining full speed most of the time. Do you notice any browsing issues?
Image
jongi
Novice
Novice
Posts: 37
Joined: Tue Apr 24, 2007 8:49 am

Post by jongi » Sat Apr 26, 2008 8:55 pm

I am now using the routertech firmware and this is no longer an issue. Or rather I shoudl say the DUP issues no longer appear. I no longer use the ISP I was on when I started this thread. But interestingly I never had the halved speed issues with my new ISP.
Post Reply