1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Resolved Optimizing a SSD for Win10Pro

Discussion in 'Windows 10' started by Barry, 2016/03/25.

  1. 2016/03/28
    Bill

    Bill SuperGeek WindowsBBS Team Member

    Joined:
    2002/01/11
    Messages:
    3,371
    Likes Received:
    412
    Your choice. I personally feel if you need to change it later because you are running so low on disk space you need those few extra gigabytes of space, you have greater problems than the PF taking up space on your drive.

    And if this "overflow" is to a hard drive, you are actually hindering performance, not helping it.
     
  2. 2016/03/29
    Christer

    Christer Geek Member Staff

    Joined:
    2002/12/17
    Messages:
    6,585
    Likes Received:
    74
    Sorry for putting "another log on the fire" but I made a reflection on the issue of pagefiles:

    When installing Windows 7 on a HDD, one of the first tweaks I made was to set a minimum size to the pagefile. The size was large enough to prevent Windows from upsizing it on a "regular" basis. The maximum size is irrelevant because it doesn't occupy disc space.

    The thought behind it was/is that upsizing and downsizing would be detremental to performance, at least when it actually occurs.

    Another aspect, possibly the most important one, was/is that it prevents pagefile fragmentation. Sooner or later, there's not enough space in the optimum position on the HDD to expand the pagefile in a single chunk and Windows has to split the pagefile in two chunks or more. I have seen a lot of computers with Windows managed pagefiles in two or more fragments but this was on HDD:s. What's the situation on SSD:s?
     

  3. to hide this advert.

  4. 2016/03/29
    Bill

    Bill SuperGeek WindowsBBS Team Member

    Joined:
    2002/01/11
    Messages:
    3,371
    Likes Received:
    412
    Oh? Is there any documented evidence to support this? How does expanding space when needed degrade performance, but bumping into a wall because the PF is out of space not degrade performance?

    First, as a reminder, this thread is about SSDs with modern Windows 10. Not slow hard drives on Windows 7, a 7 year old operating system. Also as a reminder, the slowest SSD can run circles and circles around the fastest hard drives - even 10K hybrid drives.

    But W7 knows how to manage the PF effectively too. So regardless your OS, the data in a page file is already "open" and ready to use. No additional writing to the file tables on the drive is needed to access this data. And there is lots of documented evidence to show forcing Windows to stuff everything it needs into RAM does not "improve" performance - even with gobs of RAM. This is because even with gobs of RAM, Windows effectively uses the page file for lower priority data. Forcing that data into RAM mean less space for Windows to operate in with its higher priority data and/or it forces Windows to save back to the drive (and update the files tables) that data.

    As you noted, your examples are with hard drives. SSDs do not suffer from degraded performance due to fragmentation because the data is accessed in a totally different way.

    For HDs, a R/W head has to be mechanically moved to the next data cluster. When fragmented, the data is scattered about the disk causing the R/W to consume time physically jumping back and forth.

    Accessing SSD data involves no time consuming jumping about at all! It takes the same amount of time to access the next chunk of data on a SSD, no mater where it is located in SSD memory.

    Accessing data on a hard drive is like grabbing pieces of paper scattered, in no particular order, through a filing cabinet drawer with 100 folders. And you can only grab each piece of paper one at a time and only from the front. It takes a lot of time rifling through the drawer, front to back, front to back, to pick up the pieces of paper in the right order.

    Accessing data on a SSD is like standing in a mail room in front of a sorting bin wall consisting of 100 holding cells, 10 across and 10 down (like a spreadsheet). You just reach up and grab the next sheet and it takes the same amount of time if the next sheet is in cell 1:4 as it does when in 7:3.

    I have never seen or even heard any excuse or reasoning to limit or disable the PF that makes sense to me.

    There is no documented evidence (white paper, tech article, lab report, etc.) of any real scientific study to show it improves performance. So if it does not improve performance, why limit or disable it?

    Since Microsoft has a clear incentive to keep Windows performance optimized, and since Windows is fully capable of managing PFs, why doesn't Windows disable it when it detects gobs of RAM installed if that would improve performance?

    The excuses that really baffle me, and I hear them often when folks try to justify disabling the PF when they have lots of RAM is, "I didn't see any difference when I disabled it." Or there is no need to take up all that disk space. What disk space? I mean, really? I have 16GB of RAM installed on this computer. Windows "recommends" 2953MB (2.9GB) for a PF size for "all" my drives. Windows currently has allocated 2432MB.

    If 2.4GB of disk space (or even 10GB) set the available free disk space in such a critical state, is limiting or disabling the PF really the right solution? NO! The solution is to clean out the clutter, move user files and programs to a different drive, uninstall unused program, or buy more space.

    Finally, and this must be stressed, there is a reason a Windows managed PF is a dynamic PF - its size is adjusted as needed because the virtual memory (system RAM + PF) requirements change. So even if you know how to properly assess your virtual memory requirements, it is not a set and forget setting. EVERY TIME you make significant changes to your system (major updates, new or removed programs, change in use patterns and user tasks, etc.) you need to reassess and adjust settings a necessary.

    The How-To Geek: Understanding the Windows Pagefile and Why You Shouldn't Disable It.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.