Re: Dropping Packets in 2.6.17

From: Pádraig Brady
Date: Thu Jun 22 2006 - 10:16:50 EST


Miquel van Smoorenburg wrote:
> In article <449A9ADC.9070800@xxxxxxxxxxxxxx>,
> Pádraig Brady <P@xxxxxxxxxxxxxx> wrote:
>
>>Note there is a max interrupt rate of around 80K/s
>>on x86 at least (not sure about opteron), so make
>>sure you're using NAPI. /proc/interrupts will
>>show your interrupt rate.
>
>
> The e1000 driver has some more knobs you can turn. I have this
> in my /etc/modules file:
>
> e1000 RxAbsIntDelay=256,256 TxAbsIntDelay=256,256 TxDescriptors=1024,1024 RxDescriptors=1024,1024

Yep sorry I should have mentioned those.
I set the descriptors up to the max of 4096
(as the statistical calcs only needed 5ms timestamping accuracy).

I got a large gain also by modifying the e1000 driver to do skb recycling

Pádraig.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/