FreeBSD 10G forwarding performance @Intel

Alexander V. Chernikov melifaro at FreeBSD.org
Wed Jul 18 14:42:52 UTC 2012


On 17.07.2012 17:21, Eugene Grosbein wrote:
> 17.07.2012 06:23, Konstantin Belousov пишет:
>
>> I do not think that your 'per-cpu' counter are correct. The thread
>> migration or rescheduling causes the fetch or update of the wrong
>> per-cpu structure. This allows parallel updates with undefined
>> consequences.
>
>> From practical point of view, I'like to state that most of us do NOT
> need scientifically exact ipfw counters values when pushing hardware to its maximum.
>
> Personaly, I'd like to have tunable that gives me another 15% of speed
> at cost of bad ipfw counters I don't use anyway.
It seems that this can be done even with sysctl.
The same approach can be applied to per-cpu interface counters (and 
global per-protocol statistics).

>
> Eugene Grosbein
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>


-- 
WBR, Alexander


More information about the freebsd-net mailing list