Re: SO_REUSEPORT - can it be done in kernel?
From: Eric Dumazet <hidden>
Date: 2011-02-25 19:21:39
Le vendredi 25 février 2011 à 11:18 -0800, Rick Jones a écrit :
I think the idea is goodness, but will ask, was the (first) bottleneck actually in the kernel, or was it in bind itself? I've seen single-instance, single-byte burst-mode netperf TCP_RR do in excess of 300K transactions per second (with TCP_NODELAY set) on an X5560 core. ftp://ftp.netperf.org/netperf/misc/dl380g6_X5560_rhel54_ad386_cxgb3_1.4.1.2_b2b_to_same_agg_1500mtu_20100513-2.csv and that was with now ancient RHEL5.4 bits... yes, there is a bit of apples, oranges and kumquats but still, I am wondering if this didn't also "work around" some internal BIND scaling issues as well.
A single core can probably give 300K transactions. But if you use several cores, accessing a single socket (the one bound on port 53), then performance drops because of false sharing, locking....