Wiggins has asked for the wisdom of the Perl Monks concerning the following question:
My interest is in critical sections in the Perl interpreter itself.
I was asked by a friend, why after starting 150 web spider threads, his system would bog down until it seem to stop, but was still running?
I was asked by a friend, why after starting 150 web spider threads, his system would bog down until it seem to stop, but was still running?
I proposed that each of those threads was a separate process, with each having a full Perl interpreter. But they were all sharing the same .so libraries, and the number of critical sections(CS) that the interpreter had to go through would create single file bottle-neck after bottle-neck.
Are there CS in the interpreter? Are there certain functional areas that have significantly more CS than others
It is always better to have seen your target for yourself, rather than depend upon someone else's description.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Critical sections; In the Perl interpreter
by davido (Cardinal) on Feb 16, 2017 at 20:25 UTC | |
Re: Critical sections; In the Perl interpreter
by BrowserUk (Patriarch) on Feb 16, 2017 at 19:03 UTC | |
Re: Critical sections; In the Perl interpreter (no)
by tye (Sage) on Feb 21, 2017 at 00:56 UTC | |
Re: Critical sections; In the Perl interpreter
by andal (Hermit) on Feb 19, 2017 at 08:02 UTC | |
by BrowserUk (Patriarch) on Feb 19, 2017 at 13:26 UTC | |
by andal (Hermit) on Feb 20, 2017 at 10:50 UTC | |
by BrowserUk (Patriarch) on Feb 20, 2017 at 13:03 UTC |
Back to
Seekers of Perl Wisdom