2003-09-15 14:32:03

by Lisong Xu

[permalink] [raw]
Subject: Intel PRO/1000 NIC

Hello,

I am sending UDP data from one PC to another PC directly through a cross
cable. The NIC of sender is Intel? PRO/1000 MT Server Adapter, and the NIC
of receiver is on-board Intel PRO/1000 (Dell PowerEdge 1600SC).

After tuning the kernel and driver parameters, the sender can send data at
1Gbps. But the receiver can only receive data at 620Mbps. (see the following
ifconfig messages, 30 seconds test)

*********** Sender *******************
eth1 Link encap:Ethernet HWaddr 00:07:E9:17:84:36
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1
RX packets:111 errors:0 dropped:0 overruns:0 frame:0
TX packets:418072 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:30000
RX bytes:26193 (25.5 Kb) TX bytes:3759596626 (3585.4 Mb)
Interrupt:24 Base address:0xccc0 Memory:fcd00000-fcd20000
**************Receiver***********************
eth0 Link encap:Ethernet HWaddr 00:C0:9F:1E:3A:46
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1
RX packets:261355 errors:156688 dropped:156688 overruns:156688
frame:0 <---- Look here!!!!!
TX packets:97 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:30000
RX bytes:2350019728 (2241.1 Mb) TX bytes:22821 (22.2 Kb)
Interrupt:11 Base address:0xecc0 Memory:fe100000-fe120000
***************************************************

My questions is why so many packets are "errors, dropped, overruns". I have
adjusted the "TxDescriptors, RxDescriptors, RxIntDelay,
RxAbsIntDelay, TxIntDelay, TxAbsIntDelay" for different values, but always
got similar result.

Maybe here is not the right email list to send, but I am really frustrated
with this problems, and hope to get some suggestions from the experts
here.Any suggestion is really appreciated!

Lisong






2003-09-15 20:04:34

by Feldman, Scott

[permalink] [raw]
Subject: RE: Intel PRO/1000 NIC

> I am sending UDP data from one PC to another PC directly
> through a cross cable. The NIC of sender is Intel(r) PRO/1000
> MT Server Adapter, and the NIC of receiver is on-board Intel
> PRO/1000 (Dell PowerEdge 1600SC).

A dump of lspci -vvv, ethtool -i eth<x>, and ethtool -d eth<x> will tell
us the 8254x controller version you're using; the driver version; if
you're running PCI or PCI-X, and at what speed; and what you're sharing
the bus with.

Ethtool version 1.8: http://sf.net/projects/gkernel.
Latest e1000: http://sf.net/projects/e1000.

-scott

2003-09-25 22:01:48

by J.A. Magallon

[permalink] [raw]
Subject: Re: Intel PRO/1000 NIC


On 09.15, "Feldman, Scott" wrote:
> > I am sending UDP data from one PC to another PC directly
> > through a cross cable. The NIC of sender is Intel(r) PRO/1000
> > MT Server Adapter, and the NIC of receiver is on-board Intel
> > PRO/1000 (Dell PowerEdge 1600SC).
>
> A dump of lspci -vvv, ethtool -i eth<x>, and ethtool -d eth<x> will tell
> us the 8254x controller version you're using; the driver version; if
> you're running PCI or PCI-X, and at what speed; and what you're sharing
> the bus with.
>
> Ethtool version 1.8: http://sf.net/projects/gkernel.
> Latest e1000: http://sf.net/projects/e1000.
>

Are there any patches available for 2.4 without all the compat things ?

--
J.A. Magallon <jamagallon()able!es> \ Software is like sex:
werewolf!able!es \ It's better when it's free
Mandrake Linux release 9.2 (Cooker) for i586
Linux 2.4.23-pre5-jam1 (gcc 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk))

2003-09-25 23:05:19

by Feldman, Scott

[permalink] [raw]
Subject: RE: Intel PRO/1000 NIC

> Are there any patches available for 2.4 without all the
> compat things ?

2.4.23-pre5 has a pretty resent version. Jeff just accepted 5.2.16
patches into his net-drivers-2.4 tree, but I haven't looked if these
have been pushed out.

These in 2.4.23-prex don't have the kcompat stuff.

-scott