Skip to contentSkip to conversation

problem with 3c905 on AMD64

BUG [email protected] 2 participants 2 messages Aug 13, 2008

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

Hardware: i386 and amd64 boxes, both with 3c905 network cards, directly connected with crossover ethernet cable.

Software: Linux 2.6.25/i686 and Linux 2.6.25/amd64, respectively, both from Debian packages.

While copying files from the i386 to the amd64, I found that the transfer rate was only 7Kbyte/s. This was the case with both FTP and HTTP, so it didn't seem like a user-level problem.

Strangely, when I tried copying files not FROM the i386, but only THROUGH it, as a router, the problem went away, and I got the much higher transfer rate I would have expected from the upstream link on the other side of the i386.

With a different network adapter (Atheros) in the amd64, the problem went away entirely.

The results were the same with the amd64 running Linux 2.6.18, so it's not an issue that's specific to a particular kernel version.

I conclude: since the problem was fixed by using a different network adapter, with the same software configuration on both ends of the connection, this is a kernel issue. However, since it only manifests itself when the i386 is a connection endpoint, but not a router in the network path, it's a problem with the IP network stack, rather than the 3c905 hardware driver itself. The IP stack must somehow interact differently with this driver than with the one which did work.

Please CC me on any replies to this message, as I'm not subscribed to the mailing list.

<ian_bruce(at)fastmail.fm>

#1 lore raw
Quoted 5 lines · On Wed, 13 Aug 2008, [email protected] wrote:

Hardware: i386 and amd64 boxes, both with 3c905 network cards, directly connected with crossover ethernet cable.

Software: Linux 2.6.25/i686 and Linux 2.6.25/amd64, respectively, both from Debian packages.

In which stable .y version it's based on (in 2.6.25.7 some TCP related bugs got fixed)?

Quoted 15 lines

While copying files from the i386 to the amd64, I found that the transfer rate was only 7Kbyte/s. This was the case with both FTP and HTTP, so it didn't seem like a user-level problem.

Strangely, when I tried copying files not FROM the i386, but only THROUGH it, as a router, the problem went away, and I got the much higher transfer rate I would have expected from the upstream link on the other side of the i386.

With a different network adapter (Atheros) in the amd64, the problem went away entirely.

The results were the same with the amd64 running Linux 2.6.18, so it's not an issue that's specific to a particular kernel version.

Quoted 7 lines

I conclude: since the problem was fixed by using a different network adapter, with the same software configuration on both ends of the connection, this is a kernel issue. However, since it only manifests itself when the i386 is a connection endpoint, but not a router in the network path, it's a problem with the IP network stack, rather than the 3c905 hardware driver itself. The IP stack must somehow interact differently with this driver than with the one which did work.

Please make sure that the kernel is at least 2.6.25.7 or 2.6.26 based. Alternatively (if the kernel is older than that) you could try setting tcp_frto sysctl to 0 and see if that solves the problem.

Signature · 1 line
 i.