Messages in this thread | | | Date | Tue, 01 Mar 2005 12:20:40 -0800 | From | Ben Greear <> | Subject | Re: Network speed Linux-2.6.10 |
| |
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@candelatech.com> Candela Technologies Inc http://www.candelatech.com
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |