Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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
Replies are listed 'Best First'.
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 taking refuge in the Monastery: (7)
As of 2015-07-31 04:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls