|XP is just a number|
Re^3: Child process inter communicationby marioroy (Prior)
|on Jun 19, 2017 at 06:37 UTC||Need Help??|
Please know that the results on this post doesn't count. I've overclocked a system on purpose, mainly for simulating a fast machine in the future. On an 8-core box (total 16 logical cores), I ran the same tests to better understand the impact between the three implementations. The box is overclocked to 4.0 GHz. What is interesting to me is not how fast but rather the impact from running many workers.
Baseline testing involves 4 workers and runs about 2x faster than my laptop. No surprises there due to running at 4 GHz and not from a Linux VM.
Update: Added results for MCE::Inbox which will ship with MCE::Shared 1.827 on release day. It is Inbox2 with optimizations.
Next is 128 workers retrieving 1.6 million messages.
Unfortunately, threads may not scale linearly, especially when involving locking. In top, I see the process peak at 306% max while running. It's far from the 1600% mark hardware limit. On the other hand, MCE::Inbox scales nicely considering it does blocking as well.
For the 1.6 million test, I added a loop to generate more names, 128 total.
There was one other change and replaced 4167 with 98 because there are now 128 workers, not 4.