70470 Posts in 6879 Topics - by 687 Members - Latest Member: Laricwashere

Author Topic: Windows paging file  (Read 1092 times)

Offline vincegun

  • VIP
  • Uber Gamer
  • *
  • Posts: 1700
  • Karma: 3
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 7.0.1 Firefox 7.0.1
  • XBox Gamer Tag: Vincegun
Windows paging file
« on: November 04, 2011, 06:50:46 PM »
I've read that it should generally be 1.5x the amount of memory you have, but since I just got my second order of ram in, bringing me to 16gb, having a 16gb+ swap file would be kind of outrageous. A few forums that I've looked over seemed to agree that after 4gb, having a PF of 2gb is plenty, while other people seem to think <512 is fine.

Then there are the people that say disabling it poses no problems. In fact, Aldius, who I talk to regularly, says his is disabled and he has no problems at all and he runs 8gb.

I've set mine to 512 for now, but would like to know what you all do with yours.
"I have more than 20 friends EA!" --FITES.NET

Offline sully!

  • Administrator
  • Godlike Gamer
  • *
  • Posts: 4997
  • Karma: 16
  • If the future is now, where's my jetpack?
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 15.0.874.106 Chrome 15.0.874.106
  • Steam ID: sully213
  • XBox Gamer Tag: FITESully
Re: Windows paging file
« Reply #1 on: November 04, 2011, 08:04:55 PM »
I just let Windows manage it anymore. It's true that it used to be the norm to set it to 1.5x your physical RAM and set that as both the minimum and maximum to prevent fragmentation of the page file.

These days with the ass-loads of RAM in systems, a 1.5 multiplier can lead to ridiculously sized page file and so really isn't necessary anymore. Right now as I check mine (with Windows managing it), I show 6042MB recommended, but 4028 in use (4GB RAM in this system), so even Windows realizes that 1.5x physical is way too much. I definitely wouldn't recommend turning it off completely, that way you always have something to fall back on in case a program you're running has a nasty memory leak and eats up all of your available RAM, but if you really want to have a statically sized pagefile, I'd say to go a minimum of 1GB, with 1.5-2.0 the sweet spot.

I just ordered an 8GB kit for this laptop today (only have two slots, so the existing 4GB will be sold on ebay or craigslist) so we'll see if Windows increases (or decreases) the page file with the added physical RAM when that gets here.
Please just walk away. I don't want to have to stand here and say something so awesome that I'll have to remember it the rest of the day. Thank you!

Offline vincegun

  • VIP
  • Uber Gamer
  • *
  • Posts: 1700
  • Karma: 3
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 7.0.1 Firefox 7.0.1
  • XBox Gamer Tag: Vincegun
Re: Windows paging file
« Reply #2 on: November 04, 2011, 08:12:25 PM »
Nice, thanks. I guess I should plug in these two new 8gb sticks and do some experimenting.
"I have more than 20 friends EA!" --FITES.NET

Offline The Nstuff

  • Staff
  • Uber Gamer
  • *
  • Posts: 1504
  • Karma: 0
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Opera 9.80 Opera 9.80
Re: Windows paging file
« Reply #3 on: November 05, 2011, 11:54:44 AM »
I just let Windows manage it anymore. It's true that it used to be the norm to set it to 1.5x your physical RAM and set that as both the minimum and maximum to prevent fragmentation of the page file.

These days with the ass-loads of RAM in systems, a 1.5 multiplier can lead to ridiculously sized page file and so really isn't necessary anymore. Right now as I check mine (with Windows managing it), I show 6042MB recommended, but 4028 in use (4GB RAM in this system), so even Windows realizes that 1.5x physical is way too much. I definitely wouldn't recommend turning it off completely, that way you always have something to fall back on in case a program you're running has a nasty memory leak and eats up all of your available RAM, but if you really want to have a statically sized pagefile, I'd say to go a minimum of 1GB, with 1.5-2.0 the sweet spot.

I just ordered an 8GB kit for this laptop today (only have two slots, so the existing 4GB will be sold on ebay or craigslist) so we'll see if Windows increases (or decreases) the page file with the added physical RAM when that gets here.

What he said.

Just to add, Windows XP seemed to love to send things to swap when you weren't using an app, and disabling the swap/page file kept it from doing this when you had gobs of memory.  Vista / Win7 seems to be much happier keeping things in memory if it's got it.  Ever notice if you alt-tab on a windows xp system from a fullscreen game and it took forever for the desktop to swap back from the page file... whereas if you do it in Vista/Win7, it does it much more gracefully.

I too just let Windows 7 manage my page file, but i do put it on a non-system drive.
<avatar made by Agent>

Offline vincegun

  • VIP
  • Uber Gamer
  • *
  • Posts: 1700
  • Karma: 3
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 7.0.1 Firefox 7.0.1
  • XBox Gamer Tag: Vincegun
Re: Windows paging file
« Reply #4 on: November 05, 2011, 03:58:54 PM »
Yeah, I made a PF of 1.5gig like Sully! said and let it be. The only drive I have in my case is the one Velociraptor though, so I have 2 partitions divided down the middle as best I could manage and I have the PF on the second (D:) drive.
"I have more than 20 friends EA!" --FITES.NET

Offline sully!

  • Administrator
  • Godlike Gamer
  • *
  • Posts: 4997
  • Karma: 16
  • If the future is now, where's my jetpack?
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 15.0.874.106 Chrome 15.0.874.106
  • Steam ID: sully213
  • XBox Gamer Tag: FITESully
Re: Windows paging file
« Reply #5 on: November 05, 2011, 05:11:43 PM »
Putting the page file on a secondary partition of the same physical drive will do nothing for performance and in fact may make it worse. So if you have your drive in two equal partitions with the PF on the second partition (the outer half of the drive) and your OS and programs are on the primary partition (the inner half of your drive), every time the OS needs to go to the page file the head will have to seek from the inner half of the drive where all of your programs are to the outer half of the drive where the PF is.

I'd advise it to be better to move your pagefile onto the C: drive and let an intelligent disk fragmenter move the file to the best place on the disk. I believe MyDefrag does this but I don't see anything to confirm this on their site. What may be even better would be to create a very small partition at the beginning of the drive that only holds your pagefile. Make the partition slightly larger than the pagefile you'd like to use and then put nothing else in there. Linux is essentially doing this when it creates the swap partition during install.
Please just walk away. I don't want to have to stand here and say something so awesome that I'll have to remember it the rest of the day. Thank you!

Offline vincegun

  • VIP
  • Uber Gamer
  • *
  • Posts: 1700
  • Karma: 3
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 7.0.1 Firefox 7.0.1
  • XBox Gamer Tag: Vincegun
Re: Windows paging file
« Reply #6 on: November 06, 2011, 06:00:59 AM »
Iiiiiinteresting.
"I have more than 20 friends EA!" --FITES.NET