Date: Thu, 16 Jul 2020 16:17:24 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: Patrick Lamaiziere <patfbsd@davenulle.org> Cc: freebsd-net@freebsd.org Subject: Re: poor performance with Intel X520 card Message-ID: <360f91e6-6235-372f-eb39-f2fb308eaaef@grosbein.net> In-Reply-To: <2746b70d-7072-a10b-5ec0-06c5c4917fc7@grosbein.net> References: <20200710084530.777ce321@mr185033.univ-rennes1.fr> <7b994967-17cd-8f4f-cb4d-8fcff349f7e9@grosbein.net> <20200716095732.728c0917@mr185033.univ-rennes1.fr> <2746b70d-7072-a10b-5ec0-06c5c4917fc7@grosbein.net>
next in thread | previous in thread | raw e-mail | index | archive | help
16.07.2020 16:03, Eugene Grosbein wrote: > 16.07.2020 14:57, Patrick Lamaiziere wrote: > >>> I'm sure pf is the bottle-neck. Try testing such card without any >>> packet filter enabled and you'll see great difference definitely. >> >> That's not a good news as I don't see how to simplify the ruleset :( >> But thanks anyway :) ix0: netmap queues/slots: TX 8/2048, RX 8/2048 Also, there are no reasons to use default rxd/txd slot values (2048), you should max it out with /boot/loader.conf, too: hw.ix.rxd=4096 hw.ix.txd=4096 Assuming you run 64 bit system with 1GB memory or more.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?360f91e6-6235-372f-eb39-f2fb308eaaef>