Skip to contentSkip to conversation

Problems with 3c59x driver (extremely low throughput)

DISCUSSION Mikael Leiviskä 2 participants 2 messages Sep 18, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

OK first of all I'm not really sure if this is the place but was told by
Dave Dillow to send to the netdev kernel mailing list. So that's what
I'm doing :)

I tried searching the mailing lists and didn't find anything that seemed relevant, it is possible I missed something the archives are huge...

Following is the mail I sent originally:

I've run into something of a strange problem lately, I have a network card that runs on the Vortex/Boomerang driver. I ran the 2.6.16 kernel without any issues, and later switched to 2.6.22 because I couldn't get my IPSEC tunnel working with 2.6.16 for some reason (didn't find the right switches in menuconfig). And everything was seemingly working fine but soon after my ISP got some problems and they said they had to replace some hardware somewhere along my route and now when I access the internet (the machine is setup as router/web-file-mail-server with this card as the external interface) I get dreadfully slow speeds, I'll be lucky to get 10KB/s on a 10MB/s link. But the funny thing is if I switch to the 2.6.16 kernel, WHAM I get 700KB/s no sweat... The kernel configurations are otherwise almost exactly the same bar tickless and some switches in network options to get ipsec... The only thing I do is change the kernel and things work...

So my questions are,
Has there been any recent changes to the drivers for the card lately? (between .16 and .22)
Or any changes in the network infrastructure that could be the cause of it? Or is there some other switch in the config that could be the cause of this? Or is it my ISP's hardware that's not playing nice?
Or any other ideas as to what might be the cause.

I've posted the respective kernel configs, and lspci output and my cpuinfo on http://www.zero-kelvin.org/pub/kern/

If there is any other info that you need I'll gladly provide it assuming
I can get my hands on it :)

Oh btw, the affected card is:
00:10.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 74)

Kind regards, Mikael Leiviskä

#1 lore raw
Quoted 9 lines · Mikael Leivisk?

OK first of all I'm not really sure if this is the place but was told by
Dave Dillow to send to the netdev kernel mailing list. So that's what
I'm doing :)

I tried searching the mailing lists and didn't find anything that seemed relevant, it is possible I missed something the archives are huge...

Following is the mail I sent originally:

Quoted 10 lines

I've run into something of a strange problem lately, I have a network card that runs on the Vortex/Boomerang driver. I ran the 2.6.16 kernel without any issues, and later switched to 2.6.22 because I couldn't get my IPSEC tunnel working with 2.6.16 for some reason (didn't find the right switches in menuconfig). And everything was seemingly working fine but soon after my ISP got some problems and they said they had to replace some hardware somewhere along my route and now when I access the internet (the machine is setup as router/web-file-mail-server with this card as the external interface) I get dreadfully slow speeds, I'll be lucky to get 10KB/s on a 10MB/s link.

Does this mean that the driver worked well with 2.6.22 befor the hardware changes of your ISP? What did they change?

Quoted 9 lines

But the funny thing is if I switch
to the 2.6.16 kernel, WHAM I get 700KB/s no sweat... The kernel configurations are otherwise almost exactly the same bar tickless and some switches in network options to get ipsec... The only thing I do is change the kernel and things work...

So my questions are,
Has there been any recent changes to the drivers for the card lately? (between .16 and .22)

There were some changes, your problem could be related to one of them.

Quoted 10 lines

Or any changes in the network infrastructure that could be the cause of it? Or is there some other switch in the config that could be the cause of this? Or is it my ISP's hardware that's not playing nice?
Or any other ideas as to what might be the cause.

I've posted the respective kernel configs, and lspci output and my cpuinfo on http://www.zero-kelvin.org/pub/kern/

If there is any other info that you need I'll gladly provide it assuming
I can get my hands on it :)

There were some duplex related fixes on 3c59x recently, could you please try whether your problem persist in 2.6.23-rc6?

Steffen