linux-os wrote:
Conditions:
Intel NIC e100 device driver. Two identical machines.
Private network, no other devices. Connected using a Netgear switch.
Test data is the same thing sent from memory on one machine
to a discard server on another, using TCP/IP SOCK_STREAM.
If I set both machines to auto-negotiation OFF and half duplex,
I get about 9 to 9.5 megabytes/second across the private wire
network.
If I set one machine to full duplex and the other to half-duplex
I get 10 to 11 megabytes/second transfer across the network,
regardless of direction.
That is asking for all sorts of trouble.
If I set both machines to auto-negotiation OFF and full duplex,
I get 300 to 400 kilobytes/second regardless of the direction.
Check for errors in the NICs counters (/proc/net/dev/) in this case.
It appears it is not actually set to full-duplex, or maybe it's
10Mbps-FD. Use ethtool to see the actual settings.
What happens if you just don't muck with the NIC and let it auto-negotiate
on it's own?
Ben
--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc http://www.candelatech.com