doveman Posted June 28, 2013 Share Posted June 28, 2013 I'm running Win7 x64 Ultimate and have 16GB RAM. Left as System Managed, Windows creates a 16GB pagefile (not a problem in itself).However, it seems to page stuff out when there's plenty of free RAM, which obviously slows things down as it has to page it back into RAM to use it.I've been trying to use a RAMDisk to run some games from (ArmA, DCS World). I used a 8GB RAMDisk and had about 13.5GB free before mounting and so about 5.5GB after. ArmA itself can only use a max of 2GB, so there's still 3GB+ free when it's running but even so, it seems to page stuff out, even ArmA itself perhaps, as it's starts stuttering after a while and takes a long while to close and causes HDD thrashing for a while after, so it's obviously using the pagefile.I tried disabling the pagefile completely but then I got error popups when playing about being low on RAM, even though there was over 2GB free.I've got DisablePagingExecutive set to 1, LargeSystemCache set to 0 and NtfsMemoryUsage is set to 0.Is there anything else I can do to force Windows to use the actual RAM rather than the pagefile when at all possible? Link to comment Share on other sites More sharing options...
cluberti Posted June 28, 2013 Share Posted June 28, 2013 The question is, why is the system paging things to the paging file that would cause a slowdown with that much RAM? The paging file might hold old pages on the modified list or standby list, perhaps, but only if the system was busy or the app was minimized and idle for an extended period of time on Windows 7. Also, why would it be the cause of your performance issues?Those would be the issues to investigate/address, although with 16GB of RAM a 2GB paging file and a system set to kernel memory dump should be sufficient under normal usage scenarios. You probably need to determine if your HDD thrashing really is paging file usage - don't just assume. Link to comment Share on other sites More sharing options...
submix8c Posted June 28, 2013 Share Posted June 28, 2013 FWIW, this topic suggests using IMDISK -http://games.on.net/forums/viewtopic.php?f=27&t=197327So it could even be asked how did you create your RAMdisk? AFAIK, you should have a PageFile regardless of it "being needed". Link to comment Share on other sites More sharing options...
doveman Posted June 28, 2013 Author Share Posted June 28, 2013 The question is, why is the system paging things to the paging file that would cause a slowdown with that much RAM? The paging file might hold old pages on the modified list or standby list, perhaps, but only if the system was busy or the app was minimized and idle for an extended period of time on Windows 7. Also, why would it be the cause of your performance issues?Those would be the issues to investigate/address, although with 16GB of RAM a 2GB paging file and a system set to kernel memory dump should be sufficient under normal usage scenarios. You probably need to determine if your HDD thrashing really is paging file usage - don't just assume.I'm pretty sure it is and it only seems to happen when I've been using the RAMDisk and the way the game starts stuttering and takes ages to close, followed by HDD thrashing clearly points to the game files being swapped out to the pagefile. I've actually got the debugging information set to None, which I presume can only reduce memory usage.I've set the pagefile to a fixed 2GB now though, so I'll see if it being smaller reduces how much Windows tries to use it. Link to comment Share on other sites More sharing options...
jaclaz Posted June 28, 2013 Share Posted June 28, 2013 FWIW, this topic suggests using IMDISK -http://games.on.net/forums/viewtopic.php?f=27&t=197327So it could even be asked how did you create your RAMdisk? AFAIK, you should have a PageFile regardless of it "being needed".Hmmm. jaclaz Link to comment Share on other sites More sharing options...
doveman Posted June 28, 2013 Author Share Posted June 28, 2013 FWIW, this topic suggests using IMDISK -http://games.on.net/forums/viewtopic.php?f=27&t=197327So it could even be asked how did you create your RAMdisk? AFAIK, you should have a PageFile regardless of it "being needed".I'm using SoftPerfect RAMDisk, which testing showed to be somewhat faster than IMDisk.I've checked and the author assures me that it has measures to prevent the RAMDisk itself being paged out but of course once the game files load from the RAMDisk into RAM then I guess it can't prevent Windows swapping them out if it feels like it.It does seem that Windows gets very upset if you disable the pagefile completely, whether it should strictly be needed or not. Link to comment Share on other sites More sharing options...
doveman Posted June 28, 2013 Author Share Posted June 28, 2013 FWIW, this topic suggests using IMDISK -http://games.on.net/forums/viewtopic.php?f=27&t=197327So it could even be asked how did you create your RAMdisk? AFAIK, you should have a PageFile regardless of it "being needed".Hmmm. jaclazWhich part of that 6 month old thread are you Hmmming about? Link to comment Share on other sites More sharing options...
jaclaz Posted June 28, 2013 Share Posted June 28, 2013 Which part of that 6 month old thread are you Hmmming about?You are seemingly not familiar with "directional hmmmming" , it was aimed @submix8c .jaclaz Link to comment Share on other sites More sharing options...
doveman Posted June 28, 2013 Author Share Posted June 28, 2013 Which part of that 6 month old thread are you Hmmming about?You are seemingly not familiar with "directional hmmmming" , it was aimed @submix8c .jaclazHmmm (that was a general contemplative hmmm not aimed at anyone in particular), I'll blame my PC's dodgy positional audio for that one Link to comment Share on other sites More sharing options...
submix8c Posted June 28, 2013 Share Posted June 28, 2013 Hmmmm.... (again )Maybe it's the "games"?http://stackoverflow.com/questions/2568236/how-to-keep-windows-from-paging-block-of-memoryARMA - http://forums.whirlpool.net.au/archive/1251215Similar via Googlepaging "dcs world" gameHints by the OP (part of Para#3)ArmA itself can only use a max of 2GB, so there's still 3GB+ free when it's running but even so, it seems to page stuff out, even ArmA itself perhapsTrying too create a "super gaming computer" and optimizing it. Indications that the GPU has something to do with it as well.To reiterate what has been said, the "thrashing"/"lockup" more than likely has to do with the use of RAMDisk and placing the game(s) there and the effect of the PAGEing and its size in conjunction with the amount of RAM. (Was that a mouthful?) Also, not recollecting (or searching) exactly what your hardware rig is...(Disclaimer - Gaming is not my "bag" and optimization I attempt to do through hardware and services/processes. A Tweaker or Expert I am not. Simply well-versed and investigative.) Link to comment Share on other sites More sharing options...
doveman Posted June 28, 2013 Author Share Posted June 28, 2013 Hmmmm.... (again )Maybe it's the "games"?http://stackoverflow.com/questions/2568236/how-to-keep-windows-from-paging-block-of-memoryYeah, maybe. ArmA and DCS are both pigs to play on any system.I've got a Phenom II X4 955@3.5Ghz, 16GB RAM, HD6950 2GB, 2TB Samsung and 500GB Samsung, so by no means a super-computer and it seems ArmA at least much prefers Intel CPUs.Nonetheless, it's normally just about playable (varies from 10fps up to 50fps depending on the amount of AI in use) and the stuttering I noticed when using the RAMDisk was something new.As the author of SoftPerfect has told me that it somehow prevents the RAMDisk itself being paged out, I assume Windows has some mechanisms to facilitate that. If so, it's a shame that games can't use the same mechanism but I guess they have to allow for it, for systems where there might not be enough physical RAM free (although as ArmA can only use 2GB and I've never seen DCS use much more than that, despite being 64-bit, I'd imagine most systems these days have that spare).I need to use my dual-boot to setup a clean copy of Windows just for ArmA and DCS. Mind you, I think I've done that before and tend to end up installing everything else on top as well, so I need to try and plan a bit better next time Link to comment Share on other sites More sharing options...
doveman Posted June 29, 2013 Author Share Posted June 29, 2013 Even now, whilst I'm not playing any games and have about 12GB available, I can see in Resource Monitor that's paging some of my open tabs in Iron as well as System, Jitsi, Game Booster Tray, itype (some of those are going in and out of the pagefile as I watch) so it does seem to be paging unnecessarily. It's obviously frustrating when I have plenty of RAM and it still takes a while when I change tab in Iron because it's decided to page it out (at least I'm assuming that's what's causing the delay, rather than Iron itself paging out the non-current tab contents and having to load them in again when that tab is switched to). Link to comment Share on other sites More sharing options...
MagicAndre1981 Posted June 29, 2013 Share Posted June 29, 2013 how do you see paging? Run Processhacker, click under tool->page files and look how much data are stored i the page file.http://processhacker.sourceforge.net/ Link to comment Share on other sites More sharing options...
doveman Posted June 29, 2013 Author Share Posted June 29, 2013 how do you see paging? Run Processhacker, click under tool->page files and look how much data are stored i the page file.http://processhacker.sourceforge.net/As I say, Windows Resource Monitor under Disk shows which processes (Image) are using the pagefile (currently only System). ProcessHacker is useful for showing the total usage (currently 422MB and increasing), thanks. Link to comment Share on other sites More sharing options...
doveman Posted June 30, 2013 Author Share Posted June 30, 2013 With the ArmA2OA 8GB RAMdisk loaded and ArmA2 running, Resource Monitor shows11851MB In Use875MB Modified1720MB Standby1884MB FreeAvailable 3602MBCached 2592MBTotal 16348MBInstalled 16384MBand Process Hacker shows that the pagefile usage is 1.84GB.So clearly Windows is paging something out unnecessarily. It may not be ArmA, but instead some other stuff that Windows think is less important but nonetheless it doesn't appear to be needed.Shortly after typing the above though, I alt-tabbed back to Arma2OA and it took ages to unpause so it seems likely it had paged some of the game files out. Shortly after that, I got a Windows warning saying that I was low on memory and asking me to close Arma2OA. Once I closed it, pagefile usage dropped back down to 564MB. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now