On Fri, 2010-08-27 at 12:32 -0700, a fabbri wrote: > ... > > > > I've not tested, but I'd be very surprised. > > IIRC, my strace of qpidd and client showed a ton of setsigprocmask() > syscalls. These are not cheap. I haven't retested with this new code > yet, but I'll be happy to see those useless (in theory) syscalls > removed.
Interesting, I'd still be surprised if they are any kind of bottleneck though. > ... > > The one fly in the ointment is SIGPIPE which has to have some handling > > in a lib that does sockets and there is no portable way to disable > > SIGPIPE on a case by case basis (AFAIK). > > Not sure what you mean case-by-case basis. Can you use flags = > MSG_NOSIGNAL for all your socket send() calls? That is exactly what I mean by case-by-case basis, the MSG_NOSIGNAL flag is Linux specific, there is no portable way to do this (unless you know better). A --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
