On onsdag, juli 24, 2002, at 11:54 , Elizabeth Mattijsen wrote:

>
> At 11:46 AM 7/24/02 +0200, Arthur Bergman wrote:
>>>> ... i
>>>> guess that the clone-all strategy was chosen to make the transition 
>>>> to
>>>> ithreads when using old code easier. so the "new" program knows how 
>>>> to
>>>> handle the packages it uses, and which have to be cloned or not.
>> But also to make it much easier to program with threads, and because 
>> it fit in better with mod_perl strategy.
>
> Too bad that the memory requirements that the threads need in 5.8.0 
> will make it very hard to really do anything with it.  ;-(  I've seen 
> the _very_ simple test-suite of Thread::Pool go up to 90 Mbyte with a 
> maximum of 20 threads.  In the prefork MPM of Apache, running this as 
> seperate processes would have cost about the same, but the processes 
> would have shared a lot of memory at the operating system level...
>
>
> Liz

Yes that is a problem, but keep in mind that the mission for 5.8.0 was 
to get working threads, now that we have that we can start working on 
optimizing them!

Arthur

Reply via email to