I took a extra long road though the application. 0.8 is more likely the upper baseline for the setup.
but see it mostly for benchmarking. its probably 10x as fast in production The interesting part is not that, but why worker mpm seems to torture the system beyond whats healthy when it should work faster side by side.

the total cpu was lower yes, and the %user part as well.
(i assume that would be apache). so on the paper it looks very cpu light and efficient, if i just could get my head around that system load.

locking is set 1100 times per request, locking + waiting time for one serial run is about 0.1s. in 10 concurrent i got a total (locking + waiting time) of 1.2s out of 28s per request. due to the long execution.

The benchmark is made from a simple perl script. spawning n threads with LWP::UserAgent request to the external server. clocking the request from fire to done. The target server is connected to the same local network so should not be any delay there.

tx for the tip about trying to isolate it to apache. i think it can be hard to do, its quite tied up to mod_perl with apache handlers. but i'll look into it

will also try to loose up the locks and see if that is contributing parameter here.

In reply to Re^2: heavy %system load at concurrent request (mod_perl + worker mpm) by arpx
in thread heavy %system load at concurrent request (mod_perl + worker mpm) by arpx

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.