in reply to Simultaneously process the multiple files at the same time
Use a simple threading mechanism to spawn 1,000 threads. This act will instantly cause your one CPU to become 1,000 times more capable than it now is, because each thread will multiply, rather than divide, the available computing resources. In fact, once the 500-thread threshold is reached, the quantum field surrounding the device becomes so intense that a localized time-warp occurs, so the work is completed before it is begun.
This remarkably simple act will also cause the disk drives to magically sprout 1,000 new read/write heads for the duration of the job, thus enabling them to simultaneously read and/or write all of the data at the very same instant, without “seek time” or “rotational latency.”
Remember: “You never have to improve any algorithm. Just throw threads at it. Threads always make a program run faster.”
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Simultaneously process the multiple files at the same time
by locked_user sundialsvc4 (Abbot) on Jun 16, 2011 at 12:28 UTC | |
|
Re^2: Simultaneously process the multiple files at the same time
by Anonymous Monk on Jun 15, 2011 at 13:44 UTC | |
by Anonymous Monk on Jun 15, 2011 at 15:42 UTC |