You are not logged in.

#1 2010-11-08 23:57:08

Genestealer
Member
Registered: 2010-11-08
Posts: 7

[SOLVED]Limited network speed in Arch.

When I test my network speed with sites like speedtest.net it's limited to 10Mbps, and I can't download anything from internet faster than 10Mbps.
When I'm in Windows speeds get up to about 20Mbps on the same computer.
Can someone help me? How do I turn off whatever is throttling my network speed?
What info should I provide?

Last edited by Genestealer (2010-12-02 04:30:22)

Offline

#2 2010-11-09 00:36:30

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: [SOLVED]Limited network speed in Arch.

maybe look into tcp window scaling being an issue?
https://wiki.archlinux.org/index.php/Co … ling_issue


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#3 2010-11-09 04:19:29

brenix
Member
From: California
Registered: 2008-03-05
Posts: 185

Re: [SOLVED]Limited network speed in Arch.

whats your ifconfig output? have you changed anything in /etc/sysctl.conf?

Offline

#4 2010-11-09 04:39:11

Genestealer
Member
Registered: 2010-11-08
Posts: 7

Re: [SOLVED]Limited network speed in Arch.

cactus wrote:

maybe look into tcp window scaling being an issue?
https://wiki.archlinux.org/index.php/Co … ling_issue

Tried disabling TCP window scaling but it didn't solve the problem.

Offline

#5 2010-11-09 04:41:35

Genestealer
Member
Registered: 2010-11-08
Posts: 7

Re: [SOLVED]Limited network speed in Arch.

brenix wrote:

whats your ifconfig output? have you changed anything in /etc/sysctl.conf?

ifconfig

eth0      Link encap:Ethernet  HWaddr 00:17:31:B9:75:3A                                                                               
          inet addr:192.168.1.126  Bcast:192.168.1.255  Mask:255.255.255.0                                                            
          inet6 addr: fe80::217:31ff:feb9:753a/64 Scope:Link                                                                          
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1                                                                          
          RX packets:61260 errors:0 dropped:0 overruns:0 frame:0                                                                      
          TX packets:45695 errors:0 dropped:0 overruns:0 carrier:0                                                                    
          collisions:0 txqueuelen:1000                                                                                                
          RX bytes:78770510 (75.1 Mb)  TX bytes:18006685 (17.1 Mb) 

lo        Link encap:Local Loopback                                                                                                   
          inet addr:127.0.0.1  Mask:255.0.0.0                                                                                         
          inet6 addr: ::1/128 Scope:Host                                                                                              
          UP LOOPBACK RUNNING  MTU:16436  Metric:1                                                                                    
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0                                                                         
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0                                                                       
          collisions:0 txqueuelen:0                                                                                                   
          RX bytes:880 (880.0 b)  TX bytes:880 (880.0 b)   

/etc/sysctl.conf

#
# Kernel sysctl configuration
#

# Disable packet forwarding
net.ipv4.ip_forward=0

# Disable the magic-sysrq key (console security issues)
kernel.sysrq = 0

# Enable TCP SYN Cookie Protection
net.ipv4.tcp_syncookies = 1

Last edited by Genestealer (2010-11-09 04:44:37)

Offline

#6 2010-11-09 06:15:25

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: [SOLVED]Limited network speed in Arch.

hmm. Just reaching here... but maybe it could be a weird incompatibility with the tcp checksum offloading (linux driver issue with your card chipset).

You could _try_ temporarily disabling tcp checksum offload support, and see if it helps.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#7 2010-11-26 09:56:15

Genestealer
Member
Registered: 2010-11-08
Posts: 7

Re: [SOLVED]Limited network speed in Arch.

Couldn't disable checksum offload, says operation not supported. I have confirmed that something is wrong with the NIC driver or config. I also have Wireless network card in my PC and after setting it up the network speed got considerably higher, I'll use it for now. Thanks all.

Offline

#8 2010-11-26 10:31:11

CountDuckula
Member
Registered: 2010-02-28
Posts: 151

Re: [SOLVED]Limited network speed in Arch.

Have you tried disabling IPv6?

It can cause slowdowns with certain network card / router combo's with it enabled.

Offline

#9 2010-11-29 03:14:28

Genestealer
Member
Registered: 2010-11-08
Posts: 7

Re: [SOLVED]Limited network speed in Arch.

CountDuckula wrote:

Have you tried disabling IPv6?

It can cause slowdowns with certain network card / router combo's with it enabled.

Didn't make any difference in speed after disabling it.

Offline

#10 2010-12-01 00:13:42

CountDuckula
Member
Registered: 2010-02-28
Posts: 151

Re: [SOLVED]Limited network speed in Arch.

Just a thought, that network card isn't running at half-duplex as opposed to full-duplex - or even 10MB/s instead of a 100MB/s link?

You can check with ethtool,
  pacman -S ethtool

and ethtool eth0

Last edited by CountDuckula (2010-12-01 00:21:58)

Offline

#11 2010-12-01 06:54:33

Genestealer
Member
Registered: 2010-11-08
Posts: 7

Re: [SOLVED]Limited network speed in Arch.

CountDuckula wrote:

Just a thought, that network card isn't running at half-duplex as opposed to full-duplex - or even 10MB/s instead of a 100MB/s link?

You can check with ethtool,
  pacman -S ethtool

and ethtool eth0

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 
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Link partner advertised link modes:  10baseT/Half 10baseT/Full 
                                             100baseT/Half 100baseT/Full 
        Link partner advertised pause frame use: No
        Link partner advertised auto-negotiation: Yes
        Speed: 10Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes

Cool, you're right, it runs on 10Mb/s
But how do I change it to 100? I ran this command as root but it had no effect.

ethtool -s eth0 speed 100

Edit:
it all works great now, tried this command

ethtool -s eth0 autoneg off speed 100 duplex full

Last edited by Genestealer (2010-12-01 06:57:09)

Offline

#12 2010-12-01 07:16:14

CountDuckula
Member
Registered: 2010-02-28
Posts: 151

Re: [SOLVED]Limited network speed in Arch.

Genestealer wrote:

Cool, you're right, it runs on 10Mb/s
But how do I change it to 100? I ran this command as root but it had no effect.

ethtool -s eth0 speed 100

Edit:
it all works great now, tried this command

ethtool -s eth0 autoneg off speed 100 duplex full

Thats a good result then smile

Don't forget to mark your post as solved.

Offline

#13 2016-01-07 00:37:55

nivpgir
Member
Registered: 2016-01-07
Posts: 2

Re: [SOLVED]Limited network speed in Arch.

Hi, I've had the same problem on my computer and this command fixed it.

question is:

how can I now set it to happen on boot instead of needing to retype it every reboot?

thanks in advance.

Last edited by nivpgir (2016-01-07 00:42:16)

Offline

#14 2016-01-07 13:06:50

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,333
Website

Re: [SOLVED]Limited network speed in Arch.

Welcome to the forums vivpgir.  Please have a look at our forum ettiquette to know how to post productively.

In this case you can note that you should avoid "necrobumping" old threads - especially solved ones.  This one has been dormant for over 5 years.

Feel free to start a new thread for your question and link back to this one if you beleive it is relevant.

Closed.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB