AimLXJ Posted July 31, 2010 Share Posted July 31, 2010 I know some games/programs don't run well with pagefile off, but the ones that don't I just turn off my pagefile because the game loads faster and it's much more smoother (Ex: Starcraft 2). Just curious if you guys do this also And I also use a hardware profile to keep all the services off when gaming :) . Forgot to mention, I have no problems at all on Starcraft 2 with the pagefile off Link to comment https://www.neowin.net/forum/topic/925528-do-you-play-games-with-pagefile-on-or-off/ Share on other sites More sharing options...
farmeunit Posted July 31, 2010 Share Posted July 31, 2010 I don't mess with mine. I've even got 8GB of RAM. Just not worth the trouble to switch all the time for me. Link to comment https://www.neowin.net/forum/topic/925528-do-you-play-games-with-pagefile-on-or-off/#findComment-592976924 Share on other sites More sharing options...
tsupersonic Posted July 31, 2010 Share Posted July 31, 2010 My pagefile is off. I've run into a couple of games that have bitched about it being off. Link to comment https://www.neowin.net/forum/topic/925528-do-you-play-games-with-pagefile-on-or-off/#findComment-592976934 Share on other sites More sharing options...
Riffz Posted July 31, 2010 Share Posted July 31, 2010 Nope, leave mine off and never need it with 12gb of ram. The only game I found complaining about it was dawn of war, which had a command switch to turn the warning off. Link to comment https://www.neowin.net/forum/topic/925528-do-you-play-games-with-pagefile-on-or-off/#findComment-592976944 Share on other sites More sharing options...
Fred Derf Veteran Posted July 31, 2010 Veteran Share Posted July 31, 2010 TL;DR version: Let Windows handle your memory/pagefile settings. The people at MS have spent a lot more hours thinking about these issues than most of us sysadmins. Many people seem to assume that Windows pushes data into the pagefile on demand. EG: something wants a lot of memory, and there is not enough RAM to fill the need, so Windows begins madly writing data from RAM to disk at this last minute, so that it can free up RAM for the new demands. This is incorrect. There's more going on under the hood. Generally speaking, Windows maintains a backing store, meaning that it wants to see everything that's in memory also on the disk somewhere. Now, when something comes along and demands a lot of memory, Windows can clear RAM very quickly, because that data is already on disk, ready to be paged back into RAM if it is called for. So it can be said that much of what's in pagefile is also in RAM; the data was preemptively placed in pagefile to speed up new memory allocation demands. Describing the specific mechanisms involved would take many pages (see chapter 7 of Windows Internals, and note that a new edition will soon be available), but there are a few nice things to note. First, much of what's in RAM is intrinsically already on the disk - program code fetched from an executable file or a DLL for example. So this doesn't need to be written to the pagefile; Windows can simply keep track of where the bits were originally fetched from. Second, Windows keeps track of which data in RAM is most frequently used, and so clears from RAM that data which has gone longest without being accessed. Removing pagefile entirely can cause more disk thrashing. Imagine a simple scenario where some app launches and demands 80% of existing RAM. This would force current executable code out of RAM - possibly even OS code. Now every time those other apps - or the OS itself (!!) need access to that data, the OS must page them in from backing store on disk, leading to much thrashing. Because without pagefile to serve as backing store for transient data, the only things that can be paged are executables and DLLs which had inherent backing stores to start with. There are of course many resource/utilization scenarios. It is not impossible that you have one of the scenarios under which there would be no adverse effects from removing pagefile, but these are the minority. In most cases, removing or reducing pagefile will lead to reduced performance under peak-resource-utilization scenarios. http://serverfault.com/questions/23621/any-benefit-or-detriment-from-removing-a-pagefile-on-an-8gb-ram-machine Link to comment https://www.neowin.net/forum/topic/925528-do-you-play-games-with-pagefile-on-or-off/#findComment-592977006 Share on other sites More sharing options...
ViperAFK Posted July 31, 2010 Share Posted July 31, 2010 Messing with the page file is pointless. Link to comment https://www.neowin.net/forum/topic/925528-do-you-play-games-with-pagefile-on-or-off/#findComment-592977016 Share on other sites More sharing options...
Darth Laidher Posted July 31, 2010 Share Posted July 31, 2010 Back in the day I could see someone fooling with the page file but now days no use in it. Link to comment https://www.neowin.net/forum/topic/925528-do-you-play-games-with-pagefile-on-or-off/#findComment-592977018 Share on other sites More sharing options...
AimLXJ Posted July 31, 2010 Author Share Posted July 31, 2010 http://serverfault.com/questions/23621/any-benefit-or-detriment-from-removing-a-pagefile-on-an-8gb-ram-machine True, maybe I should just leave it on because of the disk thrashing :laugh: Link to comment https://www.neowin.net/forum/topic/925528-do-you-play-games-with-pagefile-on-or-off/#findComment-592977058 Share on other sites More sharing options...
Nihilus Posted July 31, 2010 Share Posted July 31, 2010 Any proven performance gains from turning it off? (Voted on, for the same reasons as everyone above.) Link to comment https://www.neowin.net/forum/topic/925528-do-you-play-games-with-pagefile-on-or-off/#findComment-592977078 Share on other sites More sharing options...
gadean Posted July 31, 2010 Share Posted July 31, 2010 The paging file is needed in some scenerios, as Fred Derf's post points out. Why not create a ram drive and point your pagefile to it? As long as you have enough memory, this would guarantee the best of both worlds. Link to comment https://www.neowin.net/forum/topic/925528-do-you-play-games-with-pagefile-on-or-off/#findComment-592977118 Share on other sites More sharing options...
The_Decryptor Veteran Posted July 31, 2010 Veteran Share Posted July 31, 2010 I leave the pagefile on of course, turning it off forces all that stuff back into the system memory (leaving less RAM free for the game to use) Link to comment https://www.neowin.net/forum/topic/925528-do-you-play-games-with-pagefile-on-or-off/#findComment-592977122 Share on other sites More sharing options...
qdave Posted July 31, 2010 Share Posted July 31, 2010 Its on by default for a reason :) Link to comment https://www.neowin.net/forum/topic/925528-do-you-play-games-with-pagefile-on-or-off/#findComment-592977258 Share on other sites More sharing options...
MR_Candyman Posted July 31, 2010 Share Posted July 31, 2010 I can't believe people didn't stop turning it off a long time ago. There's no point, just leave it on Link to comment https://www.neowin.net/forum/topic/925528-do-you-play-games-with-pagefile-on-or-off/#findComment-592977278 Share on other sites More sharing options...
spaceelf Posted July 31, 2010 Share Posted July 31, 2010 The paging file is needed in some scenerios, as Fred Derf's post points out. Why not create a ram drive and point your pagefile to it? As long as you have enough memory, this would guarantee the best of both worlds. You'd be improving the performance of the pagefile but hurting the performance of your memory, and cutting the amount of memory available making the pagefile needed more often. That sounds silly. Link to comment https://www.neowin.net/forum/topic/925528-do-you-play-games-with-pagefile-on-or-off/#findComment-592977280 Share on other sites More sharing options...
Rigby Posted July 31, 2010 Share Posted July 31, 2010 It never fails to baffle me that people turn their page file off. Link to comment https://www.neowin.net/forum/topic/925528-do-you-play-games-with-pagefile-on-or-off/#findComment-592977286 Share on other sites More sharing options...
Darth Laidher Posted July 31, 2010 Share Posted July 31, 2010 I only ever messed with it back in the old days when I had a 4GB hard drive.Now theres no use in bothering it with, leave windows to determine how to handle it. Link to comment https://www.neowin.net/forum/topic/925528-do-you-play-games-with-pagefile-on-or-off/#findComment-592977296 Share on other sites More sharing options...
hdood Posted July 31, 2010 Share Posted July 31, 2010 Why not create a ram drive and point your pagefile to it? As long as you have enough memory, this would guarantee the best of both worlds. This is the worst idea in history. All you will be doing is making less memory available and hurting performance. It does nothing to improve anything. You might as well turn the page file off in that scenario. Doing so would be preferable, as Windows doesn't actually need it for anything (apart from saving crash dumps, which are optional anyway). It's only a safety net. It's technically possible for an application to allocate memory in the page file directly and so these would fail unless they were programmed with a fallback, but I know of no applications or games that do this. He doesn't state his configuration, so I'm going to assume it's a modern Windows 7 setup. Windows actually does not go and randomly page all the time. If you aren't low on memory, it does not page to disk. Can the OP actually provide data from the resource/performance monitor to illustrate the problem he's having? Link to comment https://www.neowin.net/forum/topic/925528-do-you-play-games-with-pagefile-on-or-off/#findComment-592977300 Share on other sites More sharing options...
soldier1st Posted July 31, 2010 Share Posted July 31, 2010 i keep it turned on. if your running out of memory or hitting the pagefile too much then a cheap upgrade on memory will solve that. Link to comment https://www.neowin.net/forum/topic/925528-do-you-play-games-with-pagefile-on-or-off/#findComment-592977302 Share on other sites More sharing options...
Fred Derf Veteran Posted July 31, 2010 Veteran Share Posted July 31, 2010 Windows will still swap memory to disk even with the pagefile disabled. It'll secretly use temporary files instead. Don't discount the placebo effect for the personal anecdotal evidence that you may hear about a performance boost. It isn't uncommon for half of the test subjects on fake medication (i.e. sugar pills) to identify that the "medication" have improved their condition. That's the placebo effect in action. There's this whole mind over matter thing going on when you believe that something will work. When it comes to pagefiles, however, the experts (the ones that actually understand Windows' memory management) will tell you to keep it on while the amateur hobbyists will tell you to disable it for a performance boost. It's your choice though. Link to comment https://www.neowin.net/forum/topic/925528-do-you-play-games-with-pagefile-on-or-off/#findComment-592977314 Share on other sites More sharing options...
hdood Posted July 31, 2010 Share Posted July 31, 2010 Windows will still swap memory to disk even with the pagefile disabled. It'll secretly use temporary files instead. There is no such thing as a secret page file. This is a myth that I think originated from the task manager in older versions of Windows, which incorrectly labeled certain graphs "page file usage" when that is not what they were. If you disable all page files, it really disables them. The rest is right, which is why I suggest that he actually measures it. Link to comment https://www.neowin.net/forum/topic/925528-do-you-play-games-with-pagefile-on-or-off/#findComment-592977320 Share on other sites More sharing options...
+Frank B. Subscriber² Posted July 31, 2010 Subscriber² Share Posted July 31, 2010 Turning the pagefile off for more performance is one of the bad ideas which will never die out, similar to the TCP/IP patch some people keep suggesting for better download speeds since XP SP2. Link to comment https://www.neowin.net/forum/topic/925528-do-you-play-games-with-pagefile-on-or-off/#findComment-592977324 Share on other sites More sharing options...
Fred Derf Veteran Posted July 31, 2010 Veteran Share Posted July 31, 2010 More info: http://lifehacker.com/5426041/understanding-the-windows-pagefile-and-why-you-shouldnt-disable-it Link to comment https://www.neowin.net/forum/topic/925528-do-you-play-games-with-pagefile-on-or-off/#findComment-592977354 Share on other sites More sharing options...
hdood Posted July 31, 2010 Share Posted July 31, 2010 Just to provide an authoritative source for my last claim. From the 5th edition of Windows Internals, page 781: If you look at the source of the memory manager, you can find various optimizations for when there's no page file. Just to show that Windows is designed with this in mind. Link to comment https://www.neowin.net/forum/topic/925528-do-you-play-games-with-pagefile-on-or-off/#findComment-592977392 Share on other sites More sharing options...
asusmc Posted July 31, 2010 Share Posted July 31, 2010 Messing with the page file is pointless. +1 Any proven performance gains from turning it off? Its not if there is any proven performance or not, its that (nowadays) it is pointless There is no such thing as a secret page file. This is a myth that I think originated from the task manager in older versions of Windows, which incorrectly labeled certain graphs "page file usage" when that is not what they were. If you disable all page files, it really disables them. The rest is right, which is why I suggest that he actually measures it. Well here is my question then: If you open a program that uses 1GB of RAM and you have 512MB of RAM and your page file is disabled, what happens? Link to comment https://www.neowin.net/forum/topic/925528-do-you-play-games-with-pagefile-on-or-off/#findComment-592977398 Share on other sites More sharing options...
kjx Posted July 31, 2010 Share Posted July 31, 2010 Turning off the pagefile is a bad idea for sure, but wouldn't manually setting both the min and max value to the same amount prevent the pagefile from getting fragmented? Well here is my question then: If you open a program that uses 1GB of RAM and you have 512MB of RAM and your page file is disabled, what happens? Windows will complain that it is low on memory and ask you to close one of more applications. Link to comment https://www.neowin.net/forum/topic/925528-do-you-play-games-with-pagefile-on-or-off/#findComment-592977402 Share on other sites More sharing options...
Recommended Posts