Re: Updated fine-grain locking patch for UNIX domain sockets
- From: David Xu <davidxu@xxxxxxxxxxx>
- Date: Mon, 3 Jul 2006 08:37:04 +0800
On Friday 30 June 2006 07:14, Robert Watson wrote:
Attached, and at the below URL, find an updated copy of the UNIX domain
socket fine-grained locking patch. Since the last revision, I've updated
the patch to close several race conditions historically present in UNIX
domain sockets (which should be merged regardless of the rest of the
patch), as well as move to an rwlock for the global lock.
http://www.watson.org/~robert/freebsd/netperf/20060630-uds-fine-grain.diff
This patch increases locking overhead, but decreases contention. Depending
on the number of CPUs, it may improve (or not) performance to varying
degrees; very good reports on sun4v; middling reports on 2-proc, etc.
Stability and performance results for UNIX domain socket sensitive
workloads, such as MySQL, X11, etc, would be appreciated. Micro-benchmark
performance should show a small loss, but load under contention and
scalability are (ideally) improved.
Robert N M Watson
Computer Laboratory
University of Cambridge
I found 5% performance decrease on dual P4, maybe P4 is quite bad when
doing atomic operation. ;-)
Thanks,
David Xu
_______________________________________________
freebsd-performance@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "freebsd-performance-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Updated fine-grain locking patch for UNIX domain sockets
- From: Robert Watson
- Re: Updated fine-grain locking patch for UNIX domain sockets
- From: Kip Macy
- Re: Updated fine-grain locking patch for UNIX domain sockets
- Next by Date: Re: Is the fsync() fake on FreeBSD6.1?
- Next by thread: Re: Updated fine-grain locking patch for UNIX domain sockets
- Index(es):
Relevant Pages
|
|