• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "Switch off the Windows Paging file?"

Collapse

  • Platypus
    replied
    Originally posted by AtW View Post
    I'd love to tell you my well argued view on this one, however it would be revealing priviledged information so I won't. In 30 years time though - assuming any of you will still be alive
    If you have nothing to add, please add nothing.

    For the benefit of anyone else who might be interested, I've switched my paging file OFF again because the machine was running so slowly (when manipulating a large image file). And I noticed that Windows had swapped out 280Mb of memory while there was more than 800Mb of 'unused' actual core memory.

    Leave a comment:


  • AtW
    replied
    I'd love to tell you my well argued view on this one, however it would be revealing priviledged information so I won't. In 30 years time though - assuming any of you will still be alive

    Leave a comment:


  • Platypus
    replied
    Update: After 3 weeks running with no Paging file on Windows, I got my first "out of memory" error yesterday (using PaintShop Pro to modify a huge image file). I killed off a few other large processes and got done what I needed to.

    But I've now switched paging space back on.

    In the interim, my XP PC has been pretty nippy. I wonder if it'll slow back down now paging is back in play.

    Leave a comment:


  • Sysman
    replied
    Originally posted by DimPrawn View Post
    Yes that worked brilliantly in 1987 grandad.
    l

    1995 with Windows 95
    1998 with Windows 98
    1999 with Windows SE
    2000 with WIndows ME

    All the above were still Windows on top of DOS, no matter how they tried to disguise it.
    Last edited by Sysman; 23 June 2010, 08:35.

    Leave a comment:


  • Churchill
    replied
    Originally posted by DimPrawn View Post
    Yes that worked brilliantly in 1987 grandad.

    Also, try adding a 5 and 1/4 inch disk subsystem and an EGA graphics card.

    Jeez.
    Get a sense of humour. While you're there pick one up for Sasguru.

    Leave a comment:


  • DimPrawn
    replied
    Originally posted by Churchill View Post
    Make sure you've got himem.sys and ramdrive.sys in your config.sys file and then configure windows so that it can put your swap file into a ramdrive!

    Simples!
    Yes that worked brilliantly in 1987 grandad.

    Also, try adding a 5 and 1/4 inch disk subsystem and an EGA graphics card.

    Jeez.

    Leave a comment:


  • Churchill
    replied
    Make sure you've got himem.sys and ramdrive.sys in your config.sys file and then configure windows so that it can put your swap file into a ramdrive!

    Simples!

    Leave a comment:


  • Sysman
    replied
    Originally posted by xchaotic View Post
    You can actually find a very detailed explanation on how a fairly dated nt kernel still found in win7 relies on existence of swap.
    Do you have any pointers to sources?

    Originally posted by xchaotic View Post
    I probably wouldn't run anything critical on Windows boxes, but if a client has such a requirement, then I'd much rather get a call that the website is slow (because of swapping) in the morning, rather than the website has been offline since 4am...
    Ditto. Given large dollops of RAM, I would rather dedicate it to specific applications. The benefits could probably be measured much more easily. Putting high traffic web files onto a RAM disk is one idea.

    Originally posted by xchaotic View Post
    Other advantages to a good swap system (which XP isn't) is on average swapping an unused block of ram in exchange for a disk cache/prefetch usually result in a much smoother performance overall (app startup and responsivness).
    By contrast, various releases of OS X have brought substantial and tangible improvements in the areas of swap system and memory management. This really did extend the usable life of my ancient iBook far beyond my expectations.

    Leave a comment:


  • Sysman
    replied
    Originally posted by Clippy View Post
    I'm guessing here but I would leave it as it is and let Windows decide if it wants to write to the pagefile or not.

    If it wants to and you have it turned off, it's gonna be shuffling stuff around in RAM so may well cause you a similar bottleneck to if you had the pagefile turned on and it was shuffling stuff between RAM and the pagefile.

    Six of one and all that.

    (To improve performance, you could defrag your pagefile using PageDefrag).
    I haven't tried this with anything later than NT4, but if you created a pagefile on an already fragmented disk, it would act as a garbage collector, picking up all the small bits of free space that lying around. I've a vague memory that you could end up with too many mapping pointers and end up with an unbootable system.

    When NT4 came out much was made of Dave Cutler's input with his knowledge of VMS, but VMS had solved this problem back in 1982 with "best try contiguous" file attributes. I concluded that Cutler's experience with VMS hadn't included some of the improvements that made it so famously reliable (i.e he'd left the project before a lot of these goodies were put in).

    A lot of enhancements to swapping algorithms, memory usage and process scheduling were added to VMS in the following years, and are probably absent from the Windows NT family.
    Last edited by Sysman; 19 June 2010, 14:02.

    Leave a comment:


  • vetran
    replied
    need paging file for reasons above.

    If its paging it needs more memory or attention.

    Fix the problem not remove the airbag.

    Leave a comment:


  • Durbs
    replied
    I've seen several benchmark tests where a decent amount of memory is installed and paging disabled altogether and the result was always it would perform the same or worse with no page file. NEVER better.

    Leave a comment:


  • VectraMan
    replied
    My Dad installed some kind of "security" program on his 1GB Vista machine, and that switched off the paging file. Everything went to hell.

    Of course Vista and 1GB was never a good idea.

    Windows 7 does seem a lot better at managing the memory, and doesn't err on the side of keeping memory free like XP does. But then XP came out in the era of 128MB being a lot.

    Leave a comment:


  • doodab
    replied
    Switching it off disables crash memory dumps.

    As to whether it makes any difference to performance, try measuring it before and after. The only difference I have found is that without it things just stop working instead of descending into thrashing.

    Leave a comment:


  • gingerjedi
    replied
    Originally posted by Platypus View Post
    Thanks! I've switched off my paging file too (this morning). I also have 2GB RAM.

    I'm asking the question before I unleash this 'fix' on a customer PC
    Mine is showing as switched off and I've rebooted, task manager still shows 50Mb as paged?? Must be what xchaotic mentioned.

    Leave a comment:


  • xchaotic
    replied
    You can actually find a very detailed explanation on how a fairly dated nt kernel still found in win7 relies on existence of swap.
    Even on systems with 24GB RAM I recommend keeping it on for system stability.

    Basically if the swap subsystem works correctly you shouldn't see much swap usage, but if a bad program leaks memory and fills all available physical RAM there are two scenarios:
    a) with swap disabled there will be no memory left and you will see a BSOD and need to reboot a machine
    b) with swap it will continue to swap out to disk, but at least you can log in and kill/restart the offending process.

    I probably wouldn't run anything critical on Windows boxes, but if a client has such a requirement, then I'd much rather get a call that the website is slow (because of swapping) in the morning, rather than the website has been offline since 4am...

    Other advantages to a good swap system (which XP isn't) is on average swapping an unused block of ram in exchange for a disk cache/prefetch usually result in a much smoother performance overall (app startup and responsivness).

    Leave a comment:

Working...
X