multithreading - What is the best way to determine max amount of threads for C# IO operations based on the system's hard drive? -


i've got tool run multiple threads @ once perform simple io operation. question have is; best way determine max amount of possible threads, based on system's hard drive capabilities, io operations?

i don't think os 'knows' kind (hdd/sdd) of drive have.

it might possible find out raid configurations through wmi i'm not sure if reliable (some raids implemented in hardware).

and if know drive, there might other processes using it.

so experimentation required, , probing if want on multiple machines can't measure upfront.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -

javascript - Bootstrap Popover: iOS Safari strange behaviour -