Hi,

Now that DBD::mysql has been updated to support the CLONE() method, I
have been trying to port this software im working on to iThreads, all
seems fine and dandy until I try to spawn threads, it is VERY slow.  I
thought this may be to do with where in the process I am starting the
threads etc, so had a play with Thread::Pool, but no joy, it seems that
even if I spawn 10 threads at the very beginning, even before any
modules have been loaded, it takes about 7 seconds.  However, if I write
a script that just contains the thread spawning stuff, and nothing else,
it takes about 0.1 seconds.

So, from this, I am assuming that the total size of the application is
much more an influence on speed of the application than where in the
process you spawn the threads from.  Has anyone experience of this?  And
possibly work arounds? 

Ray


Reply via email to