in reply to Re^2: how to split huge file reading into multiple threads
in thread how to split huge file reading into multiple threads

I used "iostat -mx 5" and found that %iowait is 0.60; whereas the %user is: 51.xx. That means its not the io stuff taking time. That means, Threads can be used and can reduce the time of execution. Happy to get to know that. Please suggest (based on other my comments and post; how can I use threads) ?

  • Comment on Re^3: how to split huge file reading into multiple threads

Replies are listed 'Best First'.
Re^4: how to split huge file reading into multiple threads
by onelesd (Pilgrim) on Aug 30, 2011 at 18:23 UTC

    Did you wait for several measurements from iostat, say over 30s? Utilization may be spikey.

    "%util" is a measurement of how hard your disk drive is working, on a scale from 0-100. What's in that column?

    Pasting the output of a 30s measurement would be enlightening.