Windows 10: Windows writes files to memory first before moving them to the HDD? Solved

  1.    02 Feb 2018 #1

    Windows writes files to memory first before moving them to the HDD?


    I have been noticing this "weird" behavior lately, I noticed it when I attempted to decompress a very large archive containing many small files 2 days ago.
    Basically the decompression speed was insane even for my my 7820x, between 150 and 200 MB/s.

    After the decompression I noticed that my HDD was making quite a lot of noise for minutes after the decompression even though I wasn't running anything.
    I then open the Task Manager and the Disk activity was indeed at 100%, but what's more interesting is that there were more than 2 GB of modified memory waiting to be written to the disk and this amount was slowly decreasing as the HDD kept writing. The 7zip process was nowhere to be found in the task manager.
    I was able to replicate this by unzipping the same archive again.

    This might be a neat performance improvement feature that allows the HDD to delay writes so that it can process them later when there might be less activity, but what if I lose power while are still in memory waiting to be written?

    Currently I don't know if this is a feature or a weird issue, do you happen to have more info on this?
      My ComputerSystem Spec

  2.    02 Feb 2018 #2

    The HDD is use to store data permanently, when a data stored or to be stored are always work on in system memory. Your computer uses RAM to load data because it's much quicker than running that same data directly off of a hard drive.
      My ComputerSystem Spec


  3. Posts : 13,167
    Win 10 Pro-MX Linux 17.1 PClinuxOS Mate
       02 Feb 2018 #3

    I believe it goes into ROM and then to the Hard Drive-Read Only Memory.
      My ComputerSystem Spec


  4. Posts : 8,143
    10 Home x64 (1803) (10 Pro on 2nd pc)
       02 Feb 2018 #4

    artins90 said: View Post
    This might be a neat performance improvement feature that allows the HDD to delay writes so that it can process them later ... Currently I don't know if this is a feature or a weird issue, do you happen to have more info on this?
    This is a design feature, more on how it works here....

    By default, Windows caches file data that is read from disks and written to disks. This implies that read operations read file data from an area in system memory known as the system file cache, rather than from the physical disk. Correspondingly, write operations write file data to the system file cache rather than to the disk, and this type of cache is referred to as a write-back cache....
    https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx
      My ComputersSystem Spec

  5.    02 Feb 2018 #5

    Therefore I always use for external media "safely remove hardware and reject media", to prevent HDD or memory stick failure. Sometimes you will notice that it takes a while before blinking on the device stops and Windows says: removal is ok.
      My ComputerSystem Spec


 

Related Threads
Hi 10forums, I've been finding this hard to describe and search for so I'm just going to upload a .gif to illustrate my problem. 81615 I want to stop the window moving back onto the screen when the mouse is against the screen edge. Does...
Moving files from Users in General Support
Hello! I found that I had a lot of duplication on my pc. I had pictures under Windows/Users and the same under Our Photos (D:) I moved the pictures under Windows/Users to the Our Photos (D:) I now find in File Explorer I have D:/ and Our Photos...
I recently upgraded both my PC to Windows 10, and whenever I copy large amount of files (or analyzing large amount of files before copying), with explorer.exe uses a massive amount of CPU (~50%) and memory (~up to 3 GB). System process also uses a...
I am often moving and copying many large files around on computers that I manage. If all the files that I want to move or copy are in one folder then it's easy. My problem is two-fold... Can I highlight files from different folders or...
Hello, I hope someone has some insight into this strange thing... I have for years had my HD split into two partitions, one C:\ for windows and D:\ for my own data, not the stuff that windows insists on writing to C:\Users\<myname>\ but files...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 05:00.
Find Us