Howard Chu writes:
The attached patch avoids grabbing conn-c_mutex unnecessarily. Testing on my
laptop with test008 and SLAPD_DEBUG=0 shows a 33% speedup. Before moving
ahead
with this patch, I'd like to verify that ITS#5835 doesn't reappear. Anyone
able to test and report back?
That's
Howard Chu writes:
We listen for writable sockets if a write attempt returns incomplete. There's
a pair of mutexes and condition variables used to synch up here between the
writing threads and the listener thread. It's quite a lot of lock overhead.
As
far as I can tell the main reason we