Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jul 2006 16:23:40 -0300
From:      Marcelo Gardini do Amaral <marcelo@registro.br>
To:        Ed Maste <emaste@phaedrus.sandvine.ca>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: How to setup polling on 'bge' interface
Message-ID:  <20060724192340.GA51092@registro.br>
In-Reply-To: <20060720023856.GA65960@sandvine.com>
References:  <20060711190908.GC69272@registro.br> <20060720023856.GA65960@sandvine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> A few points:
> 
> - Polling and SMP are compatible in 6.1.  In fact, they were compatible
>   in earlier versions too; basically it's just the compile-time check
>   that had to be "fixed."
> 
> - You may have to adjust some parameters in the kern.polling sysctl
>   tree - specifically, kern.polling.burst_max, kern.polling.each_burst
>   and kern.polling.user_frac might need tweaking.
> 
> - The polling feedback algorithm does not work very well if your
>   workload is focused largely on per-packet tasks (such as routing or
>   bridging).  You'll find that there is still idle CPU time at the
>   point you start dropping packets.  I have some work in progress to
>   address this, but it's not yet committed.
> 
> - Polling's major advantage is the avoidance of livelock on UP systems,
>   and not improved performance.
> 
> What level of traffic are you putting through this box?  Is it routing/
> bridging, or an endpoint like a web server?

It's an endpoint with no more than 1k pkts/s in normal condition. 
Almost all traffic is UDP. I really intend to avoid locking
my system in a high load situation.


-- 
Att.,

Marcelo Gardini















Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060724192340.GA51092>