Stopping Windows Swap...

Discussion in 'Software' started by dmarsh, Mar 5, 2009.

  1. dmarsh
    Honorary Member 500 Likes Award

    dmarsh Petabyte Poster

    4,305
    503
    259
    These days its common for people to have 6GB+ on their destop machines, I was wondering how many people disable their page file for better general PC performance in typical memory usage scenarios ?

    Obviously this probably doe not apply to people using VMWare / Virtual PC or Video Editing.
     
  2. simongrahamuk
    Honorary Member

    simongrahamuk Hmmmmmmm?

    6,205
    136
    199
    I never remove the page file, I do however tend to set it to a predefined size.
     
  3. Qs

    Qs Semi-Honorary Member Gold Member

    3,081
    70
    171
    Same.

    Qs
     
    Certifications: MCT, MCSE: Private Cloud, MCSA (2008), MCITP: EA, MCITP: SA, MCSE: 2003, MCSA: 2003, MCITP: EDA7, MCITP: EDST7, MCITP: EST Vista, MCTS: Exh 2010, MCTS:ServerVirt, MCTS: SCCM07 & SCCM2012, MCTS: SCOM07, MCTS: Win7Conf, MCTS: VistaConf, MCDST, MCP, MBCS, HND: Applied IT, ITIL v3: Foundation, CCA
  4. ThomasMc

    ThomasMc Gigabyte Poster

    1,507
    49
    111
    Doesn't XP moan big time if you try remove the last page file, I'm sure it has to be at least a couple of megs or more though
     
    Certifications: MCDST|FtOCC
    WIP: MCSA(70-270|70-290|70-291)
  5. dmarsh
    Honorary Member 500 Likes Award

    dmarsh Petabyte Poster

    4,305
    503
    259
    Apparently you get some warnings when you disable it, then your system may run slightly faster due to no paging, if you exhaust physical memory the system will likely crash. Maybe not a great idea in general, just was thinking of ways to reduce paging, seems little silly to have paging during normal low memory use when you have 6GB+ of physical RAM.

    Unfortunately the guy who suggested it was assuming windows paging implementation was poor, however he performed no tests to prove whether there is any real benefit and that the implementation is indeed poor.
     
  6. supernova

    supernova Gigabyte Poster

    1,422
    21
    80
    Some programs require paging regardless of the amount of physical memory.

    Generally it is not recommended to remove virtual memory according to MS.
     
    Certifications: Loads
    WIP: Lots
  7. supernova

    supernova Gigabyte Poster

    1,422
    21
    80
    It warns you but you can remove

    Custom size is 2MB Min and 4 GB max... in XP 32bit at least
     
    Certifications: Loads
    WIP: Lots
  8. dmarsh
    Honorary Member 500 Likes Award

    dmarsh Petabyte Poster

    4,305
    503
    259
    Same place mentioned setting page file to min (16MB ?) then disabling, then physical deletion from disk. Again not sure if its a good idea, might try it just out of interest for a couple of days.
     
  9. Mathematix

    Mathematix Megabyte Poster

    969
    35
    74
    You beat me to it. One or two games I have require paging that I know of.
     
    Certifications: BSc(Hons) Comp Sci, BCS Award of Merit
    WIP: Not doing certs. Computer geek.
  10. ThomasMc

    ThomasMc Gigabyte Poster

    1,507
    49
    111
    I stand corrected, still better to have it than to not if you ask me.
     
    Certifications: MCDST|FtOCC
    WIP: MCSA(70-270|70-290|70-291)
  11. dmarsh
    Honorary Member 500 Likes Award

    dmarsh Petabyte Poster

    4,305
    503
    259
    I don't play games ! :D

    Heres a disscussion of pros and cons:-

    http://www.codinghorror.com/blog/archives/000422.html

    You used to be able to buy RAMDrive software to fix the poor windows paging, but I don't really see why I should have to resort to that these days...
     
  12. BosonMichael
    Honorary Member Highly Decorated Member Award 500 Likes Award

    BosonMichael Yottabyte Poster

    19,183
    500
    414
    This.
     
    Certifications: CISSP, MCSE+I, MCSE: Security, MCSE: Messaging, MCDST, MCDBA, MCTS, OCP, CCNP, CCDP, CCNA Security, CCNA Voice, CNE, SCSA, Security+, Linux+, Server+, Network+, A+
    WIP: Just about everything!
  13. greenbrucelee
    Highly Decorated Member Award

    greenbrucelee Zettabyte Poster

    14,292
    265
    329
    I have it at the recommended size
     
    Certifications: A+, N+, MCDST, Security+, 70-270
    WIP: 70-620 or 70-680?
  14. dmarsh
    Honorary Member 500 Likes Award

    dmarsh Petabyte Poster

    4,305
    503
    259
    The Windows 'auto-reccomended' size with 6GB of memory is a 6GB swap file, I can't see this being that useful for general desktop use, I'd probably want no more than 1GB swap size.

    So the reccomended value by windows is just a totally random guess, normally based on your physical memory size with maybe a lower limit defined by the OS, it might be suitable, it might not.
     
  15. greenbrucelee
    Highly Decorated Member Award

    greenbrucelee Zettabyte Poster

    14,292
    265
    329
    I have never messed with it to be honest it recommends 4990 for me as I have 4GB
     
    Certifications: A+, N+, MCDST, Security+, 70-270
    WIP: 70-620 or 70-680?
  16. supernova

    supernova Gigabyte Poster

    1,422
    21
    80
    Vista 64bit then? Like i said 32bit XP is 2MB Min 4GB max

    Microsoft's official recommendation is 1.5 x RAM. Of course you cant exceed max or min for your os.

    But to be honest the best way is to let windows manage it, measure/work out your baseline and max peaks over a week or so.

    and use these values.
     
    Certifications: Loads
    WIP: Lots
  17. dmarsh
    Honorary Member 500 Likes Award

    dmarsh Petabyte Poster

    4,305
    503
    259

Share This Page

Loading...
  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.