How many threads for reading and writing to the hard disk?

后端 未结 7 2278
清酒与你
清酒与你 2021-02-14 16:32

i am developing an application that gathers a list with all the files of the hard drive and also afterwards it does write files to the hard drive.

I want to ask : what i

7条回答
  •  忘了有多久
    2021-02-14 16:45

    If it's coming off a single HDD, then you want to minimise seek times. So only use one thread for reading from and writing to disk.

提交回复
热议问题