Date: Sun, 12 Jul 2009 14:47:54 -0400 From: Mike Tancsa <mike@sentex.net> To: Kip Macy <kmacy@freebsd.org> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: Flowtables -- any tuning hints? Message-ID: <200907121845.n6CIjB66091206@lava.sentex.ca> In-Reply-To: <3c1674c90907120009o330da19ds68c45d0dab6ef81f@mail.gmail.co m> References: <d5992baf0907111024g5e3dddfvdd44a8795543e7a6@mail.gmail.com> <3c1674c90907120009o330da19ds68c45d0dab6ef81f@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
At 03:09 AM 7/12/2009, Kip Macy wrote:
>You want to avoid hash collisions. So, generally speaking you want the
>hash table to be sized 2x larger than the number of unique connection
>destinations. You want the maximum number of flows to be as large as
>the maximum number of unique destinations x number of cores. When you
>get to the case of hundreds of thousands of unique destinations as in
>the case of a small ISP doing IP forwarding, you're probably better
>off disabling the flowtable.
Speaking of which, are there are specific tuning suggestions for such
a case ? eg. 250k routes and a few hundred Mb of traffic ?
---Mike
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907121845.n6CIjB66091206>
