On Sun, 5 Dec 2004, Lennert Buytenhek wrote:
> Enabling 'DMA packet prefetching' gives me an impressive boost in performance.
> Combined with your TX clean rework, I now get 1.03Mpps TX performance at 60B
> packets. Transmitting from both of the 82546 ports at the same time gives me
> close to 2 Mpps.
>
> The freebsd post hints that (some) e1000 hardware might be buggy w.r.t. this
> prefetching though.
>
> I'll play some more with the other ideas you suggested as well.
>
> 60 1036488
I was just playing with prefetching when you sent your mail :)
I get that number with Scotts patch but without prefetching.
If I mode the TDT update to the tc cleaning I get a few extra kpps but not
much.
BUT if I use the above + prefetching I get this:
60 1483890
64 1418568
68 1356992
72 1300523
76 1248568
80 1142989
84 1140909
88 1114951
92 1076546
96 960732
100 949801
104 972876
108 945314
112 918380
116 891393
120 865923
124 843288
128 696465
Which is pretty nice :)
This is on one port of a 82546GB
The hardware is a dual Athlon MP 2000+ in an Asus A7M266-D motherboard and
the nic is located in a 64/66 slot.
I won't post any patch until I've tested some more and cleaned up a few
things.
BTW, I also get some transmit timouts with Scotts patch sometimes, not
often but it does happen.
/Martin
|