Interleaved parallel file read slower than sequential read?

前端 未结 4 894
逝去的感伤
逝去的感伤 2021-01-17 17:25

I have implemented a small IO class, which can read from multiple and same files on different disks (e.g two hard disks containing the same file). In sequential case, both d

4条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-17 18:17

    If you are sure that you performing no more than one read per disk (otherwise you will have many disk misses), you still create contention on other parts in the computer - the bus, the raid controller (if exists) and so on.

提交回复
热议问题