Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Threaded Code Not Faster Than Non-Threaded -- Why?

by sundialsvc4 (Abbot)
on Jan 06, 2014 at 03:32 UTC ( #1069448=note: print w/ replies, xml ) Need Help??


in reply to Threaded Code Not Faster Than Non-Threaded -- Why?

Also bear in mind that since this appears to be “calculating file digests,” this is necessarily an I/O-intensive task, not a CPU-intensive one:   the content of the file must be retrieved from disk in order to be digested.   The ruling constraint will be the capacity of the disk-drive to seek ... to move the read/write head from one track to another.   There will be some opportunity for threading here, but perhaps not nearly so much as you might initially have supposed.


Comment on Re: Threaded Code Not Faster Than Non-Threaded -- Why?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2015-07-28 01:39 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 (251 votes), past polls