Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 06:55 AM
Mad Penguin
 
Posts: n/a
Default Kernel 2.6.1 upgrade = slow networking

Hello all!

I wanted to run something by you all to see if anyone has experienced this
issue.....



I am running Slackware 9.1 (which was upgraded directly from 9.0 per Pats
documentation of course) and updated the kernel to 2.6.1. I was waiting
for NVIDIA to support this kernel before I made the leap and that dream
became a reality the other day, so here I am. Everything works wonderful
except a few bugs. One is really irritating me and I cannot seem to find a
fix anywhere. Ever since the kernel upgrade, my network speed has dropped
considerably. I am on a 3MB cable modem but it feels like 56k most of the
time now. Other systems on my network are functioning at full speed.

Has anyone experienced this issue before, and if you found a fix, what was
it? I cannot seem to dig up any real info on it so I am turning to you
Nothing has changed as far as my config goes... with the exception of the
kernel of course. If you need more info on the issue, let me know and I
will gladly provide it. This is frustrating the hell out of me. My Slack
box is an old friend and I hate to see it rebuilt....


_MP
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 06:55 AM
Menno Duursma
 
Posts: n/a
Default Re: Kernel 2.6.1 upgrade = slow networking

On Thu, 29 Jan 2004 19:57:48 -0800, Mad Penguin wrote:

> Hello all!


Good day.

> Nothing has changed as far as my config goes... with the exception of the
> kernel of course. If you need more info on the issue, let me know and I
> will gladly provide it.


Maybe it has probalems with auto-negotiating speed/duplex mode. Try
setting it "hard" (on both ends of the link). On the Linux side, that is
probably done with either "mii-tool" or "ethtool".

BTW, does "ping" show latency? Jitter? Packet-loss?

--
-Menno.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 06:57 AM
Mad Penguin
 
Posts: n/a
Default Re: Kernel 2.6.1 upgrade = slow networking

On Fri, 30 Jan 2004 10:46:46 +0000, Menno Duursma wrote:

> On Thu, 29 Jan 2004 19:57:48 -0800, Mad Penguin wrote:
>
>> Hello all!

>
> Good day.
>
>> Nothing has changed as far as my config goes... with the exception of the
>> kernel of course. If you need more info on the issue, let me know and I
>> will gladly provide it.

>
> Maybe it has probalems with auto-negotiating speed/duplex mode. Try
> setting it "hard" (on both ends of the link). On the Linux side, that is
> probably done with either "mii-tool" or "ethtool".
>
> BTW, does "ping" show latency? Jitter? Packet-loss?



Thanks for the suggestions. There is not latency, jitter, etc with a
constant ping to either local LAN nodes or Internet locations. I have done
some more research and it appears to only be affecting internet browsing
in X windows. I can surf the net in links/lynx with normal speed, but if I
try to use konqueror, mozilla, firebird, etc.. it crawls. Very interesting
problem actually. FTP seems to work fine at the CLI as well as the GUI
using apps like gftp or igloo. ????? heheh this is bizarre

Try that one on for size :-)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 06:57 AM
Menno Duursma
 
Posts: n/a
Default Re: Kernel 2.6.1 upgrade = slow networking

On Fri, 30 Jan 2004 18:46:28 -0800, Mad Penguin wrote:
> On Fri, 30 Jan 2004 10:46:46 +0000, Menno Duursma wrote:
>> On Thu, 29 Jan 2004 19:57:48 -0800, Mad Penguin wrote:
>>
>>> Nothing has changed as far as my config goes... with the exception of the
>>> kernel of course. If you need more info on the issue, let me know and I
>>> will gladly provide it.


[...]

>> BTW, does "ping" show latency? Jitter? Packet-loss?

>
> Thanks for the suggestions. There is not latency, jitter, etc with a
> constant ping to either local LAN nodes or Internet locations.


Ok, so it wouldn't be the physical-link (or settings there of).

> I have done some more research and it appears to only be affecting
> internet browsing in X windows. I can surf the net in links/lynx with
> normal speed, but if I try to use konqueror, mozilla, firebird, etc.. it
> crawls.


This would have me suspect preemption of the GUI over network tasks ...
That might be way off, but i'd bake a (similar) 2.6.1 kernel without it.

> Very interesting problem actually.


Yes. You want to make as sure as possible the packets "mozilla" and "lynx"
gegerate look the same. (To rule out diffrences, being scheduled oddball).

Try looking at the output of "tcpdump" and/or "etherreal" for that.

> FTP seems to work fine at the CLI as well as the GUI using apps like
> gftp or igloo.


Well, this sounds like a QoS (Quality of Service) setting to me.
As ftp-data sets the TOS (Type Of Service) field of the TCP packet, to
"maximize throughput". And "minimize delay" for the control connection.
For HTTP trafic, that's set to default (0000) - more info: RFC 1700

> ????? heheh this is bizarre


Maybe.

> Try that one on for size :-)


If you have looked at just about everything (and thus pin-pointed the
problem) you might want to try the kernel-dev mailing list.

--
-Menno.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 06:57 AM
Peter Christy
 
Posts: n/a
Default Re: Kernel 2.6.1 upgrade = slow networking

Very interesting you should mention that, 'coz I seem to be suffering from the
same problem - and I'm also using an Nforce chipset! (Though I'm using the
3com port for network connection (A7N8X)).

Most things work OK (FTP, etc), but some (not all) websites are very slow (the
data seems to come in bursts, with long pauses in between -
www.theregister.co.uk in particular). The real bugger is that this is my main
machine at home, and when I try and grab files off it to another machine, it
is *painfully* slow - the speed drops to bits per second, with frequent
freezes - BUT only if the "client" machine is also running Linux! If the
receiving machine is running windoze, everything works at normal speed!
Transfers between all the other machines are lightning fast, regardless of
operating system!

The only machine that *does* interoperate at a reasonable speed is connected
wirelessly to my wireless/broadband router, and uses DHCP - everything else
uses fixed IP. I've been blaming the router (Dlink 614+), but I'm beginning to
suspect its something very odd about the Nforce machine and the 2.6 kernel.

To summarize, the problem only seems to happen on some websites, and locally it
only happens with fixed IP, not DHCP, and if both machines are running Linux
and the server is running a 2.6.x kernel!

Hmmm!

--
Pete
christy@NOattglobalSPAM.net
(make the obvious amendments to reply!)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-19-2008, 06:57 AM
Menno Duursma
 
Posts: n/a
Default Re: Kernel 2.6.1 upgrade = slow networking

On Sat, 31 Jan 2004 17:05:44 +0000, Peter Christy wrote:

> To summarize, the problem only seems to happen on some websites,
> and locally it only happens with fixed IP, not DHCP, and if both
> machines are running Linux and the server is running a 2.6.x kernel!


Try disabling ECN (Explicit Congestion Notification) like so:

sysctl -w net.ipv4.tcp_ecn=0

Or maybe so:

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

--
-Menno.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-19-2008, 06:58 AM
Mad Penguin
 
Posts: n/a
Default Re: Kernel 2.6.1 upgrade = slow networking

On Sat, 31 Jan 2004 14:06:11 +0000, Menno Duursma wrote:

> Yes. You want to make as sure as possible the packets "mozilla" and "lynx"
> gegerate look the same. (To rule out diffrences, being scheduled oddball).
>
> Try looking at the output of "tcpdump" and/or "etherreal" for that.



hmmmm. I took a closer look at the output of Mozilla Firebird as compared
to that of Links using Ethereal and the results are completely different.
This is interesting to note, as this setup worked fine before the upgrade
to 2.6.1. In any case, here is a breakdown of what I have found (I've
shortened it up a bit to make it easier to read).


The test site I used was postnuke.com. Reason being is that since the
upgrade, it is one of the sites that takes the longest to load (20s using
firebird, 5s using links). Here is the edited output of Ethereal:

Mozilla Firebird:

ARP who has 192.168.0.32? Tell 192.168.0.1
ARP 192.168.0.32 is at 00:60:97:78:9a:3a
DNS Standard query response
DNS Standard query AAAA postnuke.com.lv.cox.net
DNS Standard query response, No such name
DNS Standard query AAAA www.postnuke.info.lv.cox.net
DNS Standard query response, No such name
DNS Standard query A www.postnuke.info

....this goes on for some time before it actually connects and downloads data
from the site. Like I said, this kind of activity continues for about 20
seconds. Completely unacceptable for a 3MB Internet connection.



Links:
ARP who has 192.168.0.32? Tell 192.168.0.1
ARP 192.168.0.32 is at 00:60:97:78:9a:3a

DNS Standard query A www.postnuke.info
DNS Standard response A 66.227.122.74
DNS Standard query A www.postnuke.com
DNS Standard response A 66.227.122.74

It is at this point that the browser gets the resources it needs from the
site.... working well by the looks of it.


There is my problem in a nutshell. Thanks for pointing me to sniffing my
traffic from this box, Menno. Good idea that I failed to think of.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-19-2008, 06:58 AM
Mad Penguin
 
Posts: n/a
Default Re: Kernel 2.6.1 upgrade = slow networking

On Sat, 31 Jan 2004 17:04:39 -0800, Mad Penguin wrote:


>
> hmmmm. I took a closer look at the output of Mozilla Firebird as compared
> to that of Links using Ethereal and the results are completely different.
> This is interesting to note, as this setup worked fine before the upgrade
> to 2.6.1. In any case, here is a breakdown of what I have found (I've
> shortened it up a bit to make it easier to read).
>

<snip>

>
> There is my problem in a nutshell. Thanks for pointing me to sniffing my
> traffic from this box, Menno. Good idea that I failed to think of.



Ok, After digging through my kernel config and finding that everything
looked fine (QoS was disabled by the way.. forgot to mention this in my
last post), I removed the IPv6 option simply because there is no need for
it. I recompiled and rebooted. Everything is working fine now. Sniffing
Mozilla-Firebird as it queried for postnuke.com proved to have the same
output as links did earlier. It pulled the A record of postnuke.com and
went straight to it.


Now.... whether this had anything to do with IPv6 or not I don't know. I
am doubting it... but for wahtever reason it works now. So I will chalk
this one up to a big mystery until I have time to look further into it.

Thanks for all your help in either case, bud!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-19-2008, 06:59 AM
Peter Christy
 
Posts: n/a
Default Re: Kernel 2.6.1 upgrade = slow networking

Menno Duursma wrote:

> Try disabling ECN (Explicit Congestion Notification) like so:
>
> sysctl -w net.ipv4.tcp_ecn=0


I haven't actually got ECN configured in the kernel, so not surprisingly, this
had no effect!

I did rebuild my modules, removing the ipv6 stuff, and that has got web
browsing working properly again (www.theregister.co.uk now loads in a
reasonable time without pauses).

However, local file transfers are still an issue, but on further investigation,
this appears to be a KDE problem! Transferring a kernel source file (approx 30
MB) via mc (Midnight Commander) takes a few seconds. Trying the same transfer
using the KDE file manager takes over 5 minutes, with frequent stalling for
long periods.

However, KDE 3.2 is imminent, so maybe I'll just wait for that and see if it
fixes the problem.

In the meantime, I would recommend *NOT* building ipv6 stuff, as this does seem
to cause problems on certain websites!

--
Pete
christy@NOattglobalSPAM.net
(make the obvious amendments to reply!)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-19-2008, 07:00 AM
JT
 
Posts: n/a
Default Re: Kernel 2.6.1 upgrade = slow networking

Peter Christy wrote:
> Menno Duursma wrote:
>
>
>>Try disabling ECN (Explicit Congestion Notification) like so:
>>
>>sysctl -w net.ipv4.tcp_ecn=0

>
>
> I haven't actually got ECN configured in the kernel, so not surprisingly, this
> had no effect!
>
> I did rebuild my modules, removing the ipv6 stuff, and that has got web
> browsing working properly again (www.theregister.co.uk now loads in a
> reasonable time without pauses).
>
> However, local file transfers are still an issue, but on further investigation,
> this appears to be a KDE problem! Transferring a kernel source file (approx 30
> MB) via mc (Midnight Commander) takes a few seconds. Trying the same transfer
> using the KDE file manager takes over 5 minutes, with frequent stalling for
> long periods.
>
> However, KDE 3.2 is imminent, so maybe I'll just wait for that and see if it
> fixes the problem.
>
> In the meantime, I would recommend *NOT* building ipv6 stuff, as this does seem
> to cause problems on certain websites!
>

You cant resolve IPV4 names with IPV6 tunneling as it is now.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:04 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
UnixAdminTalk.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614