• 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!

Switch off the Windows Paging file?

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #11
    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.
    Will work inside IR35. Or for food.

    Comment


      #12
      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.

      Comment


        #13
        need paging file for reasons above.

        If its paging it needs more memory or attention.

        Fix the problem not remove the airbag.
        Always forgive your enemies; nothing annoys them so much.

        Comment


          #14
          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.
          Behold the warranty -- the bold print giveth and the fine print taketh away.

          Comment


            #15
            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.
            Behold the warranty -- the bold print giveth and the fine print taketh away.

            Comment


              #16
              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!

              Comment


                #17
                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.

                Comment


                  #18
                  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.

                  Comment


                    #19
                    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.
                    Behold the warranty -- the bold print giveth and the fine print taketh away.

                    Comment


                      #20
                      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.

                      Comment

                      Working...
                      X