23
2
My HDD is slow 5400RPM and when working with 10GB size files it is impossible to use the computer until that big file finish re-creating a new copy/muxing/writing/etc. depends on process, the thing is it eats up all HDD speed and no other program can be used while this process runs.
So I was thinking maybe I could limit HDD write speed for programs I work with, so then it would reserve free HDD leftover speed to use for browsing internet or playing mp3s while the big files are being processed.
2I've never heard of a throttled HDD IO in Windows, at least natively. Have you tried setting the process priority?:
wmic process where name="calc.exe" CALL setpriority "idle"
– Marcelo – 2014-08-11T16:33:05.307@Marcelo Priority dictates CPU time, not disk. When processing a large file, the disk is what is slowing the computer down, not the CPU. – Keltari – 2014-08-11T19:09:06.533
2
Related: http://superuser.com/questions/462541/how-to-limit-disk-usage-write-i-o-by-application-not-space-usage
– Cees Timmerman – 2014-08-11T19:19:46.680@Keltari Yes, I'm aware. I just thought that maybe modifying the priority for CPU could have some impact towards the final objective in the question. – Marcelo – 2014-08-11T19:27:31.250
@Marcelo It would have an impact, true. But it might not necessarily be for the better. If the computer was also swapping memory, then it would heavily decrease the performance. – Keltari – 2014-08-11T19:29:32.150
Things you need to know about having multiple programs using the disk at once: http://stackoverflow.com/a/7640319/103167 and http://stackoverflow.com/a/1240473/103167
– Ben Voigt – 2014-08-11T19:42:32.2432If the computer is "unusable" when copying huge files, is it possible that you have forgotten to enable DMA? Normally, whether or not the disk is busy makes little or no difference since that happens without much (or any) CPU intervention. – Damon – 2014-08-11T19:45:19.187
It is possible by setting the Background priority, according to dsulimano
– niutech – 2014-08-11T21:45:38.657@Marcelo: Some programs (like Diskeeper) can throttle their own I/O, so I suppose this can be done by writing a filter driver. But it's a difficult thing to get right, and even more difficult to get working well. – user541686 – 2014-08-12T06:55:16.330
@Mehrdad I would think that such throttling would happen above the I/O, in the application. As in scheduling the buffers/blocks to be written to disk at the application level. – Marcelo – 2014-08-12T12:33:18.493