On 2 Nov 2015, at 3:12am, sanhua.zh <sanhua.zh at foxmail.com> wrote:
> I change my code to make it clear. That is must more easy for me to understand. I can think of no other explanation for your problem than storage contention. Multiple threads allow lots of processing at the same time but they do not allow four things to talk to your disk at the same time. Your disk interface can service only one thread at a time. Your threads are having a contest to read and write the same part of hard disk, and only one can do this at one time. The other three do nothing while that one is keeping the disk busy. So making four threads -- or forty threads -- is not going to help. Sorry. Simon.