There still seems to be a problem with processes not getting reaped when calculating sizes. The combination of
Benchmark::Thread::Size and
forks becomes something akin to a fork bomb. Preliminary size test shows this:
$ perl5.8.2-unthreaded -Mforks -MBenchmark::Thread::Size=times,1
(ref) 1 100
# (ref)
+
0 3364
1 2836
2 2800
5 2800
10 2800
20 2800
50 2800
100 2804
but I'm starting to have doubts whether the size calculation is correct. I don't have time to look into it further right now...
This test was done with my internal development versions of forks and Benchmark::Thread::Size. Don't try this at home with the release versions yet!
Liz
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.