[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:21:50 CEST 2010
On 14/10/10 10:20, Michael Van Canneyt wrote:
>
>
> On Thu, 14 Oct 2010, Henry Vermaak wrote:
>
>> 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.
>
> One after the other ? That is not a meaningful test in this case ?
> You should know how many threads existed in parallel.
No, parallel:
http://lwn.net/Articles/10740/
Henry
More information about the fpc-pascal
mailing list