windirstat icon indicating copy to clipboard operation
windirstat copied to clipboard

Enhancement Request: Scan multiple drives at the same time

Open driscoll42 opened this issue 1 year ago • 3 comments

On my machine, I have seven hard drives and connected to four network drives. When I run windirstat, it scans them one at a time. Looking at my network usage and hard drive usage, it's only ~10 MB/s, well below saturating my network or hard drive bandwidth caps. I think when scanning multiple drives, it would be helpful to scan them in parallel. I tried upping the number of threads Windirstat is allowed to use to the max, and that didn't seem to do anything. I wouldn't be shocked if there's some technical limitation here, but wanted to make the ask. Otherwise this works great!

driscoll42 avatar Jun 06 '24 15:06 driscoll42

Technically speaking, it's possible it could scan multiple drives depending on how the multithreaded queue is processed. I think the proper think to do here would for me to spawn the specified number of threads for each drive to distribute the load. I will investigate this.

NoMoreFood avatar Jun 08 '24 00:06 NoMoreFood

@driscoll42 The latest version should use the specified number of threads per-drive:

https://github.com/windirstat/windirstat/releases (fixed link)

NoMoreFood avatar Jul 09 '24 11:07 NoMoreFood

@NoMoreFood Aw yeah, this is great! Thanks for your work. Especially for my network drives this scans them all much faster. Appreciate the implementation of it so quickly!

driscoll42 avatar Jul 09 '24 19:07 driscoll42