ECMP hash keys?

Adrian Chadd adrian at freebsd.org
Thu Jan 16 19:06:49 UTC 2014


On 16 January 2014 08:02, Nikolay Denev <nike_d at cytexbg.com> wrote:

> Hi Adrian,
>
> Probably a stupid question, but I'm trying to understand more about this,
> so basically the benefit of using essentially an additive hash function would be
> that both directions of the same flow/connection would end up for
> processing on the same core?

Yes. For TCP workloads where you have a lot of shared state being
changed in the transmit and receive direction, there's a _lot_ of lock
contention going on all over the place.



-a


More information about the freebsd-net mailing list