Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^10: while reading a file, transfer the same data to two different processes.

by rowdog (Curate)
on May 21, 2010 at 11:21 UTC ( #841080=note: print w/ replies, xml ) Need Help??


in reply to Re^9: while reading a file, transfer the same data to two different processes.
in thread while reading a file, transfer the same data to two different processes.

These tests did run for a while, but less than 5 minutes. My system is a rather old AMD X2 3800+ with 2 Gb RAM running Debian Squeeze (kernel 2.6.32-3-amd64).

My v5.12.0

Rate Threads Forks Threads 9.00/s -- -54% Forks 19.5/s 117% --

Debian's v5.10.1

Rate Threads Forks Threads 9.09/s -- -28% Forks 12.6/s 39% --


Comment on Re^10: while reading a file, transfer the same data to two different processes.
Select or Download Code
Re^11: while reading a file, transfer the same data to two different processes.
by BrowserUk (Pope) on May 21, 2010 at 11:53 UTC

    Thanks. Interesting that fork's got quicker for 5.12 but threads stayed the same.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://841080]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2014-09-16 17:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (36 votes), past polls