[fpc-pascal] Re: Multi-threaded project with few locks (no Thread.waitfor). Memory consumption keeps increasing on Ubuntu 10.10 x64

Henry Vermaak henry.vermaak at gmail.com
Thu Oct 14 11:09:16 CEST 2010


On 14/10/10 03:15, Andrew Brunner wrote:
>
> I would say let's try to obtain source to pthreads or something.  I'd
> bet we can just do a straight shoot into something from there.  If
> it's open source i'd bet we can bother them perhaps for a newer
> version more high-scale friendly.

NPTL source is in glibc.

> I presently can create 1,500 threads in 2 min 27seconds. That's 2 1/2
> threads per second... 25min! Pathetic...

Ingo Molnar have started and stopped 100,000 threads in less than 2 
seconds on a dual P4 machine in some of the early NPTL tests.

Henry



More information about the fpc-pascal mailing list