Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Super-slow networking. sk98lin/3c940/3c2000[solved!]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
southsider
Guru
Guru


Joined: 05 Jul 2004
Posts: 358

PostPosted: Mon Oct 11, 2004 11:51 pm    Post subject: Super-slow networking. sk98lin/3c940/3c2000[solved!] Reply with quote

This is driving me crazy!

Using the sk98lin kernel module with 3Com 3c940/3c2000 Gigabit Ethernet adapter. Browsing is slow, upload is slow, some sites take about 10 minutes to load (but some are fine...!?)

My friend has the same kind of problem with his nForce chipset. I've tried disabling IPv6 to no avail.

Thanks in advance - Alex.

Edit: I should add, using Windows and it is fine! Also when I do emerges the wget is pretty much maxing out. However, if I stop a merge and then try to resume it, making wget resume the download, it goes slow as hell (like less than a KB/s). I have to delete the partially downloaded file and start again.


Last edited by southsider on Sun Oct 31, 2004 5:33 pm; edited 2 times in total
Back to top
View user's profile Send private message
keser
n00b
n00b


Joined: 04 Oct 2004
Posts: 25
Location: NASA Ames

PostPosted: Fri Oct 15, 2004 4:15 pm    Post subject: speed duplex issue? Reply with quote

It sounds like a speed/duplex issue. What are you connecting to? Is it possible to force the switch/whatever you are connecting to to 1000 full or 100 full if it isn't a gig device. If that doesn't do it try forcing the host to 1000 or 100/full as well.

Most switches auto negotiate with hosts fairly well but I have had auto negotiate issues with Foundry's connecting to Solaris and Linux(the same switch will neg fine with M$).

You could also try swapping cables for a known good cable. Split pairs can sometimes cause the type of performance you are seeing...works fine at 10Mb but goes to sh!t when you go to 100Mb or higher.

does ifconfig -a show any errors?

I hope some of this helps...flash backs to my days of switch tech support...

-PaulK
Back to top
View user's profile Send private message
southsider
Guru
Guru


Joined: 05 Jul 2004
Posts: 358

PostPosted: Sat Oct 16, 2004 5:58 pm    Post subject: Reply with quote

Cable's definitely fine - works in Windows with no problems.

Code:
eth0      Link encap:Ethernet  HWaddr 00:0E:A6:5F:4B:BA
          inet addr:192.168.0.2  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:172768 errors:0 dropped:0 overruns:0 frame:0
          TX packets:116901 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:248143855 (236.6 Mb)  TX bytes:8017096 (7.6 Mb)
          Interrupt:22 Memory:feaf8000-0


Connected to a Netgear RP614v2 NAT/switch.
Back to top
View user's profile Send private message
southsider
Guru
Guru


Joined: 05 Jul 2004
Posts: 358

PostPosted: Sat Oct 16, 2004 6:08 pm    Post subject: Reply with quote

OK this is weird (or perhaps not)

The first 14 or so hops to any destination are ... well, fine
After that things start getting dropped.

Doesn't happen in Windows.
Back to top
View user's profile Send private message
southsider
Guru
Guru


Joined: 05 Jul 2004
Posts: 358

PostPosted: Sun Oct 17, 2004 3:45 pm    Post subject: Reply with quote

Can't figure this out :(

Is there some way to check if my card is running at half- or full-duplex?

Thanks - Alex
Back to top
View user's profile Send private message
tuxmin
l33t
l33t


Joined: 24 Apr 2004
Posts: 838
Location: Heidelberg

PostPosted: Sun Oct 17, 2004 3:56 pm    Post subject: Reply with quote

emerge eththool


Hth, Alex!!!
_________________
ALT-F4
Back to top
View user's profile Send private message
southsider
Guru
Guru


Joined: 05 Jul 2004
Posts: 358

PostPosted: Tue Oct 19, 2004 9:19 pm    Post subject: Reply with quote

Damn!

flashpoint root # ethtool eth0
Settings for eth0:
No data available
Back to top
View user's profile Send private message
southsider
Guru
Guru


Joined: 05 Jul 2004
Posts: 358

PostPosted: Wed Oct 20, 2004 7:55 pm    Post subject: Reply with quote

Apparently people have had success by changing the duplex mode of their sk98lin drivers. Can't find anything that tells me how to, though. Any ideas?

Thanks - Alex

Edit: I should say, I'm connecting a 1000Mbit NIC to a 100Mbit switch. Maybe I need to give it a knock and tell it to run at 100Mbit... somehow...
Back to top
View user's profile Send private message
southsider
Guru
Guru


Joined: 05 Jul 2004
Posts: 358

PostPosted: Sat Oct 30, 2004 9:28 pm    Post subject: Reply with quote

Help. Currently downloading a package at just over 200 B/s. Restarting the download goes full speed!

Code:
*** Resuming merge...
>>> emerge (1 of 10) dev-libs/icu-2.8 to /
>>> Resuming download...
>>> Downloading http://gentoo.osuosl.org/distfiles/icu-2.8.tgz
--22:27:48--  http://gentoo.osuosl.org/distfiles/icu-2.8.tgz
           => `/usr/portage/distfiles/icu-2.8.tgz'
Resolving gentoo.osuosl.org... 140.211.166.134
Connecting to gentoo.osuosl.org[140.211.166.134]:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 9,194,758 (1,104,705 to go) [application/x-tar]

88% [++++++++++++++++++++++++++++++++     ] 8,102,003    221.51B/s    ETA 53:42
Back to top
View user's profile Send private message
southsider
Guru
Guru


Joined: 05 Jul 2004
Posts: 358

PostPosted: Sun Oct 31, 2004 1:06 am    Post subject: Reply with quote

Code:
eth0: network connection up using port A
    speed:           100
    autonegotiation: yes
    duplex mode:     full
    flowctrl:        symmetric
    irq moderation:  disabled
    scatter-gather:  enabled
Back to top
View user's profile Send private message
JORUNO
n00b
n00b


Joined: 19 Sep 2003
Posts: 8

PostPosted: Sun Oct 31, 2004 5:20 am    Post subject: Reply with quote

I have the same problem. My Co-lo server (P4, P4P800SE), it is very slow ftp speed (10-50KB/s). :(
Code:

eth0: network connection up using port A
    speed:           100
    autonegotiation: yes
    duplex mode:     full
    flowctrl:        none
    irq moderation:  disabled
    scatter-gather:  enabled


MY Co-lo server is connect to 100Mbps Switch at Internet Data Center and my home computer is connect to Internet via ADSL 2.5Mbps

I don't know how to fixed this problem.Can anyone help?

PS. I'm sorry with my poor english.
Back to top
View user's profile Send private message
trooper_ryan
n00b
n00b


Joined: 07 Apr 2004
Posts: 74

PostPosted: Sun Oct 31, 2004 6:25 am    Post subject: Reply with quote

Are you using 2.6.8.x kernels?

See linked post for a possible cause: https://forums.gentoo.org/viewtopic.php?t=211980&highlight=
Back to top
View user's profile Send private message
JORUNO
n00b
n00b


Joined: 19 Sep 2003
Posts: 8

PostPosted: Sun Oct 31, 2004 11:47 am    Post subject: Reply with quote

Hi trooper_ryan, thank you for your help.
I am using gentoo-dev-sources-2.6.9-r1 (Kernel 2.6.9).
I have try to add the fowloing line to my /etc/sysctl.conf,
but my ftp speed still low ( 20-30KB avaraged). :cry:
Code:

net.ipv4.tcp_fin_timeout = 30
net.ipv4.tcp_keepalive_time = 1800
net.ipv4.tcp_window_scaling = 0


I just see that my co-lo server can run bittorrent client with speed over 2MB/s, but upload speep very slow (10KB/s) :cry:
Back to top
View user's profile Send private message
southsider
Guru
Guru


Joined: 05 Jul 2004
Posts: 358

PostPosted: Sun Oct 31, 2004 5:33 pm    Post subject: Reply with quote

Thanks a lot trooper_ryan! I'm so glad that's cleared up! :D

JORUNO: maybe it is a router between your client and your ftp server that is "broken"?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum