Alan Cox wrote:> > > If you want to see this changes get the kernel changes in place.> > There are various patches floating around which combined will allow a> > correct and fast implementation. But they were not added.> > The problem he is seeing however appears unrelated to the fact posix> threads is a braindamaged pile of crap. Its because the scheduler penalises> across forks as part of its fairness approach. Ingo showed that was in> fact wrong and posted some algorithm changes for 2.3.9x

So what you are saying is that the scheduler changed after 2.3.9 to make theforks faster under high load? Will those changes make it to 2.4 ?

Could somebody also elaborate on "the scheduler penalizes across forks" forthose who are not as familiar with the kernel internals/jargon? Does that meanthat a process that has called fork()/clone() automatically gets punished forthis great sin by getting its priority lowered?