to page file or not to page file

Page 1 of 2 12 LastLast

  1. Posts : 430
    W10 22H2 19045.4355
       #1

    to page file or not to page file


    I was recently asked about the best most efficient page file performance configuration. I know its purpose and functions but I wasn't sure what to tell the inquirer.

    Which is the best setting, is it:
    1. set it to "automatically manage paging file size for all drives?"
    2. set it to "system managed size?"
    3. set it to "custom size*, initial and maximum the same?"
    4. or should all drives have a paging file?
    5. or only the boot drive where the OS is?


    *the system currently recommends 4971MB for drive C

    The system has as boot drive C: an NVMe PCI/e, 32 GB RAM and an additional 3 HDD and one SSD.
    the HDD's are each partitioned into 2 respectively 3 partitions
    the additional SSD into 2 partitions.
    So he has asides from drive C also drive D, E, F, M, S, T, X and Y, and Z.
      My Computer


  2. Posts : 4,909
    Windows 11 Pro 64 Bit 22H2
       #2

    The most recommended way is System Managed Size. Unless you know what you are doing and have specific needs. You can set a Paging file on the drive with the largest amount of Free space that is always attached.
      My Computer


  3. Posts : 282
    Windows 10 Pro
       #3

    Before flash based media (SSDs, NVMe) it was wise to set the low and high limits the same to help with performance and fragmentation. Now-a-days you just want Windows to manage it as programs will use it how they wish. So if you mess with the page file it could have issues with certain software and how they are coded... Which means you should never disable the swap file (page file) either.
      My Computer


  4. Posts : 1,337
    Windows 10
       #4

    i mean you could have one on each drive but i don't think its necessary, just use one and have not on the C:\ drive., realistically you don't want to be paging because its slow and most apps won't be paging anyway if you have lots of ram.

    Just set it to system managed or custom if you want better control over its size, i would say 4096 is a good compromise between having a page file and taking up space for no real benefit.

    If you have confidence in your system and that your ram is not going to saturate much then you can go much lower, the only real downside that you would experience is out of memory issue if you use some programs that take a lot of memory like gaming or 3d rendering or something, but that would not be a big deal either maybe some data loss at that point in time.

    It only comes into effect if you run out of ram its fail safe system so as long as you don't run out of ram then its not really in effect and also not something to over think really.
      My Computer


  5. Posts : 282
    Windows 10 Pro
       #5

    No matter how much RAM you may have, some programs will trip if the page file isn't adequate...
      My Computer


  6. Posts : 1,337
    Windows 10
       #6

    Well you can monitor the page file's usage, make a sample over a few days of moderate use of the computer and you will be able to tell how much you page. I personally have nothing on my PC that is going to page just because. I have monitored it before and my page file is always flat line unless i saturate the ram.

    Depends how the program is coded some Microsoft stuff require a page file but i don't think anything on consumer grade windows warrants needing one.

    The rest is subjective you may have applications that make the page file more of a factor but most people won't. We both know its a carry over from years gone by and really only is there as a throwback, most people can disable it or just have a small one just to say that they confirm to the recommended standpoint of having a page file at least 16mb in size.

    We have stepped well over its requirement for a long time but its there for use case scenario, backwards compatibility and as a fail safe measure.
      My Computer


  7. Posts : 1,728
    Windows 10 Pro x64 22H2
       #7

    I know everyone will disagree with me but I think the best is when you configure it yourself.

    There was a comprehensive MS blog talking about memory and optimal setup for page file but it's gone and no longer online,
    You might want to search google cache or web archive to find it, the title of the blog was "Pushing the limits of Windows memory" or something like that.

    An alternative is here:
    https://learn.microsoft.com/en-us/tr...ons-of-windows
      My Computer


  8. Posts : 430
    W10 22H2 19045.4355
    Thread Starter
       #8

    zebal said:
    I know everyone will disagree with me but I think the best is when you configure it yourself.

    There was a comprehensive MS blog talking about memory and optimal setup for page file but it's gone and no longer online,
    You might want to search google cache or web archive to find it, the title of the blog was "Pushing the limits of Windows memory" or something like that.

    An alternative is here:
    https://learn.microsoft.com/en-us/tr...ons-of-windows
    Thanks! Will check it out!
      My Computer


  9. Posts : 1,204
    11 Home
       #9

    You could always decide to monitor the page file usage.
    MemInfo is a Real-time Memory & Page file Usage Monitor
      My Computers


  10. Posts : 7,039
    22H2 64 Bit Pro
       #10

    zebal said:

    There was a comprehensive MS blog talking about memory and optimal setup for page file but it's gone and no longer online,
    You might want to search google cache or web archive to find it, the title of the blog was "Pushing the limits of Windows memory" or something like that.
    I think you mean:
    https://techcommunity.microsoft.com/...ol/ba-p/723789

    and

    https://techcommunity.microsoft.com/...ry/ba-p/723674

    Anyway, I always go by this guide:

    The Page File (PageFile.sys) Guide for Windows 7, 8.1 and 10 - NEXTOFWINDOWS.COM

    Read the conclusion here:

    The Windows 10 Pagefile And Running Without One - TweakHound
      My Computer


 

  Related Discussions
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 08:45.
Find Us




Windows 10 Forums