Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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

by Tommy (Chaplain)
on Jan 06, 2014 at 18:27 UTC ( [id://1069559]=note: print w/replies, xml ) Need Help??


in reply to Re^9: Threaded Code Not Faster Than Non-Threaded -- Why?
in thread Threaded Code Not Faster Than Non-Threaded -- Why?

I'd suggest trying the following modification

...To prevent disk thrashing?

Tommy
A mistake can be valuable or costly, depending on how faithfully you pursue correction
  • Comment on Re^10: Threaded Code Not Faster Than Non-Threaded -- Why?

Replies are listed 'Best First'.
Re^11: Threaded Code Not Faster Than Non-Threaded -- Why?
by BrowserUk (Patriarch) on Jan 06, 2014 at 19:57 UTC
    To prevent disk thrashing?

    Yes. But you'll need to try it; and the effects will probably vary for different file systems.

    For lots of small files it might speed things up; for lots of big ones it might slow things down. For a mix; you'll need to measure.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-19 00:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found