Re: Fine-grained locking for POSIX local sockets (UNIX domain sockets)
- From: Robert Watson <rwatson@xxxxxxxxxxx>
- Date: Sat, 6 May 2006 15:20:52 +0100 (BST)
On Sat, 6 May 2006, Robert Watson wrote:
Attached, please find a patch implementing more fine-grained locking for the POSIX local socket subsystem (UNIX domain socket subsystem). In the current implementation, we use a single global subsystem lock to protect all local IPC over the PF_LOCAL socket type. This has low overhead, but can result in significant contention, especially for workloads like MySQL which push a great deal of data through UNIX domain sockets, and involve many parties. The hope is that by improving granularity, we can reduce contention sufficiently to overcome the added cost of increased locking overhead (a side-effect of greater granularity). At a high level, here are the changes made:
FYI, you can download a copy unmangled by my and your mail systems at the following URL:
http://www.watson.org/~robert/freebsd/netperf/20060506a-uds-fine-grain.diff
Robert N M Watson
_______________________________________________
freebsd-performance@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "freebsd-performance-unsubscribe@xxxxxxxxxxx"
- References:
- Fine-grained locking for POSIX local sockets (UNIX domain sockets)
- From: Robert Watson
- Fine-grained locking for POSIX local sockets (UNIX domain sockets)
- Prev by Date: Fine-grained locking for POSIX local sockets (UNIX domain sockets)
- Next by Date: Re: Fine-grained locking for POSIX local sockets (UNIX domain sockets)
- Previous by thread: Fine-grained locking for POSIX local sockets (UNIX domain sockets)
- Next by thread: Re: Fine-grained locking for POSIX local sockets (UNIX domain sockets)
- Index(es):