On Thu, 24 Feb 2011 22:03:22 -0700 (MST) Theo de Raadt <dera...@cvs.openbsd.org> wrote:
>| >> We've got same problems (on a routeur, not a firewall). Increasing >| >> MAX_INTS_PER_SEC to 24000 increased bandwith and lowered packet loss. >| >> Our cards are "Intel PRO/1000 (82576)" and "Intel PRO/1000 FP >| >> (82576)". >| > >| >Did you try to increase the number of descriptor? >| >#define EM_MAX_TXD 256 >| >#define EM_MAX_RXD 256 >| > >| >I've tried up to 2048 (and with MAX_INTS_PER_SEC = 16000) but it looks >| >worth. >| >| Say you increase this. >| >| That means on a single interrupt, the handler could be forced to handle >| around 2000 packets. >| >| Nothing else will happen on the machine during that period. >| >| Can you say 'interrupt latency increase' boys and girls? OK. Anyway NIC buffers restrict buffered packets number. But the problem remain: why a (for exemple) dual Xeon E5520@2.27GHz with Intel PRO/1000 (82576) can't route 150kpps without Ierr :-) http://www.oxymium.net/tmp/core3-dmesg Manuel