I am working on rewriting a program on HP-UX. Orignally it use fork() and now it is using pthread. It turns out the performance of new code is much worse (about 30-50%). Since thread is supposed to be much light-weight than process, I believe it is the scheduling causes the new code slow. So...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.