[ale] ps

Bjorn Dittmer-Roche bjorn at sccs.swarthmore.edu
Sat Mar 27 20:09:05 EST 2004


On Sat, 27 Mar 2004, David Corbin wrote:

>
> > Keep in mind that default RH and Debian kernels treat threads differently.
> > Debain uses the old threading model which gives each thread it's own entry
> > in the process table. RH uses NPTL, wich does not give each thread it's
> > own entry and, thus, requires less overhead, so what you are seeing is
> > probably a reflection of the Kernels' threading models _not_ a diffetence
> > in ps. If you want the new behaviour on Debian, I recomend upgrading your
> > kernel to a 2.6 series which will also improve your performance.
>
> Not too sure I'm ready to jump on the 2.6 bandwagon.  Is NPTL in 2.4,

By default, NPTL is not in 2.4, but redhat has backported it. It may be in
some of the very latest 2.4's though, I'm not sure.

> and how how does it stack up against "the old threading model"?

The new threading model is much higher performance. I am told you will
notice the difference in any heavilly threaded application. Java is a good
example.

	bjorn



More information about the Ale mailing list