You are not logged in.

#1 2006-12-19 08:01:32

f20
Member
Registered: 2006-12-19
Posts: 3

Slow network connection after uprade to kernel 2.6.19

Hello

Since I upgraded my kernel from 2.6.18 to 2.6.19 my connection to the net is extremely slow! Before the upgrade everything worked fine! And I haven't changed any config file.

When I ping my internal router (ping 10.0.0.1) I get sth. like the following:
...
64 bytes from 10.0.0.1: icmp_seq=133 ttl=127 time=391 ms
64 bytes from 10.0.0.1: icmp_seq=134 ttl=127 time=4394 ms
64 bytes from 10.0.0.1: icmp_seq=135 ttl=127 time=3383 ms
64 bytes from 10.0.0.1: icmp_seq=136 ttl=127 time=2382 ms
64 bytes from 10.0.0.1: icmp_seq=137 ttl=127 time=1381 ms
64 bytes from 10.0.0.1: icmp_seq=138 ttl=127 time=380 ms
64 bytes from 10.0.0.1: icmp_seq=139 ttl=127 time=0.280 ms
64 bytes from 10.0.0.1: icmp_seq=140 ttl=127 time=0.283 ms
64 bytes from 10.0.0.1: icmp_seq=141 ttl=127 time=0.283 ms
64 bytes from 10.0.0.1: icmp_seq=142 ttl=127 time=0.292 ms
...
So sometimes the rt is pretty ok and the next ping is about 100x slower.
With any other machine (gentoo, windows) I have no problems.

I checked several threads in the forum and followed every advice, but haven't found a solution!

http://bbs.archlinux.org/viewtopic.php? … nel+update
http://bbs.archlinux.org/viewtopic.php?t=27787

I have ip6 turned off and checked my /etc/hosts file. So I thought  maybe it could be
a problem with the nic driver. But changing the driver (from r8169 to r1000) hasn't changed anything!

So now I really don't have a clue what the problem could be!

Any help really, really welcome!

Offline

#2 2006-12-20 23:36:55

Mefju
Member
From: Poland
Registered: 2006-07-12
Posts: 104

Re: Slow network connection after uprade to kernel 2.6.19

I have the same problem. I tried stock and custom kernel 2.6.19.1. I have another distro on separate partition and there are no problems when I'm using it. I tested firefox, opera, epiphany and links.

Offline

#3 2006-12-21 03:01:19

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: Slow network connection after uprade to kernel 2.6.19

If you have not "flashed" your cache you can back-track to the previous-last working kernel.
I know it is not the best solution, but at least you have a functional box until the next kernel release, which hopefully will not cause the problem.

I have no better idea to contribute at this time ...  :shock:
May be some of the devs can provide some better feedback.

Offline

#4 2006-12-21 09:20:14

f20
Member
Registered: 2006-12-19
Posts: 3

Re: Slow network connection after uprade to kernel 2.6.19

what do you mean by "flashed" and how could I back-track?

thank you very much

Offline

#5 2006-12-21 12:23:44

Leffe
Member
Registered: 2006-05-30
Posts: 47

Re: Slow network connection after uprade to kernel 2.6.19

I read [1] that the congestion algorithm was changed for .19, I'd try changing to another one (configuration should be somewhere under /proc or /sys, check the kernel documentation (not included with Arch kernels IIRC) for specifics).

[1] http://kernelnewbies.org/Linux_2_6_19

Offline

#6 2006-12-21 12:48:19

Mefju
Member
From: Poland
Registered: 2006-07-12
Posts: 104

Re: Slow network connection after uprade to kernel 2.6.19

It means you can downgrade your kernel if it's still in /var/cache/pacman/pkg.

I tried several kernels form 2.6.18 to 2.6.19.1, custom and kernel26 from repo, and still www response is horrible. It's strange, but only http protocol is broken. I have no problems with ftp, mail, torrents and others. Some websites loads normal and some of them not, especially based on mediawiki engine loads very long.

I tried many ways to solve this. I turned off iptables and almost all daemons, tested different browsers, removed browser cache and config, downgrade last upgrades, run network with dhcp and static addresses. I think it isn't dns problem, because the same reslov.conf I have on testing partition with ubuntu and it works flawlessly. My kernel doesn't have ipv6.

I'm running out of ideas now.

Offline

#7 2006-12-21 14:15:49

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: Slow network connection after uprade to kernel 2.6.19

f20 as Mefju says you can get it from your cache (/var/cache/pacman/pkg/). Mefju, I think that your problem may be different from f20's because in his post he says :

Before the upgrade everything worked fine! And I haven't changed any config file.

so it may be possible for him to back-track and go "back to normal".

R

Offline

#8 2006-12-23 16:29:28

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: Slow network connection after uprade to kernel 2.6.19

Same problem here as f20 with 2.6.19.1...
The solution is "simple", but not acceptable:

/etc/rc.d/hal stop
/etc/rc.d/network restart

...and now it's running great, with hal killed.

It's the same network interface ( Realtek 8168 ) and it doesn't seem to matter if I load the "r8169" kernel module or "r1000" from Realtek.


Microshaft delenda est

Offline

#9 2006-12-26 18:21:51

f20
Member
Registered: 2006-12-19
Posts: 3

Re: Slow network connection after uprade to kernel 2.6.19

Unfortunately, the solution from scarecrow doesn't work for me. I haven't  acitivated hal.

Offline

#10 2006-12-29 22:49:59

go4it
Member
Registered: 2006-10-03
Posts: 44

Re: Slow network connection after uprade to kernel 2.6.19

strange problem, so wanted to check mine:  I don't have that problem, I have good ping response to internet.
Why do you mean by your internal router, are you using the Arch as a router ?
What is the response time if you ping to:
-  another device in the same subnet as your Arch ?
-  to your own ip address
-  to 127.0.0.1

Can you try with another nic-adapter ?

Offline

#11 2007-01-02 14:38:58

Mefju
Member
From: Poland
Registered: 2006-07-12
Posts: 104

Re: Slow network connection after uprade to kernel 2.6.19

I wrote in this topic about my problems with slow http connections.
My ISP send me solution and I put it here.

Add this line in /etc/rc.local

echo 0 > /proc/sys/net/ipv4/tcp_window_scaling

or in /etc/sysctl.conf

net.ipv4.tcp_window_scaling = 0

Now everything works great.

Offline

#12 2007-01-08 19:57:37

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: Slow network connection after uprade to kernel 2.6.19

At last I have spotted the problem to the Realtek r1000 v. 1.05 driver, which seems to have some issue with the 8168 Gigabit cards.
If you use kernel 2.6.18.4 (which is patched with the previous version of the driver, 1.04) or the current -mm kernel (also not using driver revision 1.05), then everything runs fast and smooth.
With driver 1.05, you do have to unload HAL, and probably restart the network 2-3 times to get a decent network connection.
Should I file a bug, or not?


Microshaft delenda est

Offline

Board footer

Powered by FluxBB