Just so you have a rule of thumb about it:
If your app does disk-bandwidth-bound work in one thread (doing 1MB reads, say), and you brilliantly decide to make it do the same work in two threads, then things overall will go 10x slower. This is one of the things I keep having to remember in Picasa.
People say Windows Vista (which allows bigger reads and some nicer scheduling) and Linux 2.6 (which adjusts the thread quantum based on predicted disk activity) and hard drives with Native Command Queueing can all help this a little bit, but overall I've not seen a situation where you retain even half the single-threaded disk bandwidth.
Here’s what we REALLY thought about this week’s news (video)
50 minutes ago
2 comments: