git: chgsbsize: Optimize for x86_64 by avoid uidinfo spinlock
sephe at crater.dragonflybsd.org
Mon Mar 10 01:46:35 PDT 2014
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Mon Mar 10 16:38:15 2014 +0800
chgsbsize: Optimize for x86_64 by avoid uidinfo spinlock
This kills one of the highly contended spinlocks on accept(2) path. And
it also greatly helps connect(2) path.
With this commit, tools/kq_connect_client could do 273Kconns/s instead
of 260Kconns/s (~5% improvement, however, connect(2) is still cpu bound).
Summary of changes:
sys/kern/kern_resource.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
DragonFly BSD source repository
More information about the Commits