[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: openldap + pth

Howard Chu <hyc@symas.com> writes:

> PTH is a cooperative threading package which requires the application
> to voluntarily yield control of the CPU to allow thread switching to
> occur. A lot of that occurs transparently thru use of wrappers for
> typical libc functions. Very likely, since epoll is a rather new and
> Linux-specific interface, PTH doesn't wrap these functions yet. You
> might try rebuilding slapd with epoll support disabled (so that it
> uses plain old select()) and see if it behaves any better.
> I'm rather surprised that anyone still uses PTH. With the
> proliferation of multi-processor machines, it has very little to
> recommend itself.

That is because Ralf S. Engelschall is the author of PTH and founder
of OpenPKG :-)


Dieter Klünter | Systemberatung