in reply to Re: Multithreaded process on AIX slow
in thread Multithreaded process on AIX slow
Hi, appreciate the suggestion but…
From the docs:
"Devel::NYTProf is not currently thread safe or multiplicity safe. If you'd be interested in helping to fix that then please get in touch with us. Meanwhile, profiling is disabled when a thread is created, and NYTProf tries to ignore any activity from perl interpreters other than the first one that loaded it."
So, - not really any help there I'm afraid. This application cannot be run - or rewritten to run - without threads. By definition it runs with over 100 threads and already takes a lot of shortcuts, e.g. to reduce memory footprint per thread for example like doing dynamic module unloading in each thread after startup - which will confuse profiling. To run the program without threads (even if that were possible which it isn't -would take several months development effort to rewrite), it would then take 10s of hours to run the data.
Kind regards
Derek
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Multithreaded process on AIX slow
by BrowserUk (Patriarch) on Nov 14, 2013 at 00:36 UTC | |
by scunacc (Acolyte) on Nov 14, 2013 at 11:51 UTC | |
by BrowserUk (Patriarch) on Nov 14, 2013 at 14:07 UTC | |
by scunacc (Acolyte) on Nov 14, 2013 at 14:47 UTC | |
by BrowserUk (Patriarch) on Nov 14, 2013 at 15:02 UTC | |
|