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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to