When I start copying files (in my case from hard drive to an USB key), Windows says there are 15 minutes remaining (for example). I then start playing a game which consumes 100% of the CPU's time. I switch the game's priority to 'Low' using the Windows Task Manager. Now when I play for 5 minutes and return to Windows to see if the transfer is making progress, it says there are 10 minutes remaining, but if I stay for a few seconds in Windows it quickly drops to about 2 minutes. What's going on? Bad multitasking?
As a side-note, the game was not loading any files from the hard drive so the hard drive was free for other tasks.
Does anybody know a bit more about the internals of Windows and why this happens?
Windows, copying files
How do you know this? Unless this is some strictly text-based game, it probably loads tons of textures and stuff...also, there is virtual memory it may be using..As a side-note, the game was not loading any files from the hard drive so the hard drive was free for other tasks.
(why don't you just take a break from your pc for 10 minutes to let windows copy anyway?)
Windows just takes the current copy speed and divides it into the size of all of the remaining files. Some files copy faster than others. Big files usually copy faster than lots of smaller files of the same size. Usually windows 'plays it safe' with the amount of time remaining, at least that is what I have seen with my own experience.
Because otherwise the LED of the hard drive constantly flickers on/off but it didn't (it shouldn't anyways because the hard drive is much faster than an USB key).hckr83 wrote:How do you know this? Unless this is some strictly text-based game, it probably loads tons of textures and stuff...also, there is virtual memory it may be using..As a side-note, the game was not loading any files from the hard drive so the hard drive was free for other tasks.
Because I were already playing a game but I just wanted to copy some files, should be possible, no?hckr83 wrote: (why don't you just take a break from your pc for 10 minutes to let windows copy anyway?)
EDIT: I also tried making a little program in C that uses 100% of the CPU's time with a never ending while loop (so it doesn't even use the hard drive), but when that program is put at 'Low' priority the copy process really speeds up.
Maybe some threads of the game I was talking about in my first post has some threads running at a higher priority which are still higher than the priority class of the copy process (even when the game is put at 'Low' priority)?