On Mon, 22 Dec 2003, Kinkie wrote:

> This is correct. NGPTL (Next Generation Posix Thread Library) has been
> integrated into glibc as an update for Red Hat 9 and as a default for
> Fedora Core 1. Among many improvements, there's the new ability to roll up
> threads into the correct thread group (aka process). It's a feature, not a
> bug.

One interesting question however: Has anyone measured if Squid benefits 
from NPTL (and NGPTL), or if it prefers the old LinuxThreads model?

The use of threads in Squid is rather different from most other 
applications using threads, so it should not be assumed what is generally 
better is also better for Squid.

I have not done any such measurements as we are still using stock Linux 
kernels without the NPTL extension, but it would be really interesting to 
know.

I think you can have a RH9/FC1 system run the same binary with either by 
just setting a LD environment variable.

Regards
Henrik

Reply via email to