Updated fine-grain locking patch for UNIX domain sockets
Robert Watson
rwatson at FreeBSD.org
Mon Jul 3 12:45:50 UTC 2006
On Mon, 3 Jul 2006, David Xu wrote:
> I found 5% performance decrease on dual P4, maybe P4 is quite bad when doing
> atomic operation. ;-) Thanks,
When I've measured, generally, yes, P4 performance has been abysmal for
synchronization operations, both atomic operations and CPU-local interrupt
disabling, etc.
I suspect rwlocks could use a bit of optimization in the contention case.
I've not dug into the code, so I'm not clear how they compare with respect to
adaptive behavior.
Robert N M Watson
Computer Laboratory
University of Cambridge
More information about the freebsd-performance
mailing list