Go Back   AnandTech Forums > Software > Operating Systems

Forums
· Hardware and Technology
· CPUs and Overclocking
· Motherboards
· Video Cards and Graphics
· Memory and Storage
· Power Supplies
· Cases & Cooling
· SFF, Notebooks, Pre-Built/Barebones PCs
· Networking
· Peripherals
· General Hardware
· Highly Technical
· Computer Help
· Home Theater PCs
· Consumer Electronics
· Digital and Video Cameras
· Mobile Devices & Gadgets
· Audio/Video & Home Theater
· Software
· Software for Windows
· All Things Apple
· *nix Software
· Operating Systems
· Programming
· PC Gaming
· Console Gaming
· Distributed Computing
· Security
· Social
· Off Topic
· Politics and News
· Discussion Club
· Love and Relationships
· The Garage
· Health and Fitness
· Merchandise and Shopping
· For Sale/Trade
· Hot Deals
· Free Stuff
· Contests and Sweepstakes
· Black Friday 2012
· Forum Issues
· Technical Forum Issues
· Personal Forum Issues
· Suggestion Box
· Moderator Resources
· Moderator Discussions
   

Reply
 
Thread Tools
Old 03-14-2012, 06:57 AM   #1
G73S
Member
 
Join Date: Mar 2012
Posts: 31
Exclamation The page file controversy on an SSD!?

I have read numerous articles by searching on google.....

some say that even if you have enough RAM and will probably never use a page file, it is best to set it to 1024 min / max or 2048 min / max just incase any ancient program keeps looking for a page file. I have never run across this situation but I used to keep my pagefile to 1024 min / max

now that I have upgraded to an SSD, I read that putting a pagefile on an SSD is bad as it may degrade the life of the SSD due to constant reads/writes

I am very confused now.......what shall I do?

Disable the SSD since I have 16 GB of DDR3 RAM? Or set it to 1 GB on the SDD? or set it to 1 GB on my secondary 7200 RPM Seagate Momentus XT? or what do you think?

There isn't one thread I read that has the same answer,,everyone keeps saying something different.

And for the life of me I can't figure out why does Microsoft by default set the pagefile to the same size as your RAM...I mean it's pretty dumb to have 4 or 8 or even 16 GB of RAM + a 16 GB pagefile......like holy crap who would ever use that? Doesn't the RAM flush itself anyway when it's out of space?

PS: I don't play any games, all I do is surf the net on firefox, period

My system specs:
ASUS G73Sw
Intel Core i7 2630QM @ 2.0/2.9 GHz.
• 16 GB DDR3 1333 MHz. SDRAM
• nVIDIA GeForce GTX 460M 1.5GB GDDR5 VRAM
• 17.3" 16:9 HD+ (1600x900) Screen
• Kingston KC100 120GB SSD + Seagate 500GB 7200RPM SSH
• Windows 7 Home Premium (x64)
G73S is offline   Reply With Quote
Old 03-14-2012, 07:41 AM   #2
lxskllr
Lifer
 
lxskllr's Avatar
 
Join Date: Nov 2004
Location: Somewhere over the rainbow
Posts: 31,817
Default

I'd put the page file on a platter drive if you have one in the system. If not, maybe you could put it on a thumb drive, or SDcard. I don't remember if you can do that in Windows or not. I think the damage due to SSD writes is overstated. It does wear it out, but by the time it does, you'll be ready for a new drive anyway. That said, there's no point in causing needless wear, and it seems like Windows will always use a pagefile, no matter how much ram you have.
__________________

The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man.
lxskllr is online now   Reply With Quote
Old 03-14-2012, 08:37 AM   #3
Nothinman
Elite Member
 
Nothinman's Avatar
 
Join Date: Sep 2001
Posts: 30,636
Default

Windows may proactively throw some data into the pagefile to save I/O later on, but it won't use it for no reason at all and if you've got "constant reads/writes" your workload is too much for the memory in your system.

It's a good idea to put it on a secondary drive to save space on the SSD, but that's about it.
__________________
http://www.debian.org
Nothinman is offline   Reply With Quote
Old 03-14-2012, 11:51 AM   #4
sm625
Diamond Member
 
sm625's Avatar
 
Join Date: May 2011
Posts: 3,065
Default

I just put my pagefile on the SSD. I have 3 machines set up that way. Even if it reduces the life of the SSD, we're talking about going from 30 years to 10 years at worst. Any modern SSD is going to handle the wear very intelligently. And with many SSDs you can even find out how worn it is. If after a couple years you see that 20% of the NAND is no longer any good, you might want to start worrying. So far I have not seen any real reason to bother. Chances are you wont be happy with the drive's performance after a few years and will upgrade anyway, so its kind of a moot point.

Here is a screen shot from the ssdlife utility:

__________________
I am looking for a cheap upgrade to my 3 year old computer.
AT forum member #1: Buy a 3770k

I am looking for a way to get 10 more fps in TF2.
AT forum member #2: Buy a 3770k
sm625 is offline   Reply With Quote
Old 03-14-2012, 03:03 PM   #5
boochi
Senior Member
 
Join Date: May 2011
Location: Raleigh, NC
Posts: 772
Default

Set your page file to the smallest windows recommended setting which should be 800MB if you are running 16GB.
__________________
I'm sorry Mr. Handicap Man, I didn't mean to offend you.
boochi is offline   Reply With Quote
Old 03-14-2012, 04:35 PM   #6
Bubbaleone
Golden Member
 
Bubbaleone's Avatar
 
Join Date: Nov 2011
Posts: 1,125
Default

From MSDN:

Quote:
Virtual Address Space and Physical Storage


The maximum amount of physical memory supported by Microsoft Windows ranges from 2 GB to 2 TB, depending on the version of Windows. For more information, see Memory Limits for Windows Releases. The virtual address space of each process can be smaller or larger than the total physical memory available on the computer. The subset of the virtual address space of a process that resides in physical memory is known as the working set. If the threads of a process attempt to use more physical memory than is currently available, the system pages some the memory contents to disk. The total amount of virtual address space available to a process is limited by physical memory and the free space on disk available for the paging file.

Physical storage and the virtual address space of each process are organized into pages, units of memory, whose size depends on the host computer. For example, on x86 computers the host page size is 4 kilobytes.

To maximize its flexibility in managing memory, the system can move pages of physical memory to and from a paging file on disk. When a page is moved in physical memory, the system updates the page maps of the affected processes. When the system needs space in physical memory, it moves the least recently used pages of physical memory to the paging file. Manipulation of physical memory by the system is completely transparent to applications, which operate only in their virtual address spaces.
Microsoft minimum paging file recommendation: Installed memory capacity x 1.5 = paging file size.

Microsoft maximum paging file recommendation: Installed memory capacity x 2.0 = paging file size.

16GB x 1.5 = 24,576 MB

16GB x 2.0 = 32,768 MB


I never put the paging file on the system drive, whether SSD or HDD. Put it on your HDD.

Last edited by Bubbaleone; 03-14-2012 at 04:45 PM.
Bubbaleone is online now   Reply With Quote
Old 03-14-2012, 04:46 PM   #7
Nothinman
Elite Member
 
Nothinman's Avatar
 
Join Date: Sep 2001
Posts: 30,636
Default

Quote:
Originally Posted by Bubbaleone View Post
From MSDN:

Microsoft minimum paging file recommendation: Installed memory capacity x 1.5 = paging file size.

Microsoft maximum paging file recommendation: Installed memory capacity x 2.0 = paging file size.

16GB x 1.5 = 24,576 MB

16GB x 2.0 = 32,768 MB


I never put the paging file on the system drive, whether SSD or HDD. Put it on the HDD.
And experience and common sense say that with those memory sizes, if you're using the pagefile enough to require it to be 1.5x the size of your virtual memory that the system will be unusable because it will constantly paging instead of doing real work.

The only time you need the pagefile to be at least the same size as your physical memory is if you want a full memory dump on STOP. Otherwise, set it to something more reasonable like 1G or 2G and set the max to something higher to allow for expansion in case something does go nuts. But in practice you're still probably better off letting the process eating all of that memory get killed than making the system unusable and effectively DoSing yourself.
__________________
http://www.debian.org
Nothinman is offline   Reply With Quote
Old 03-14-2012, 05:03 PM   #8
Bubbaleone
Golden Member
 
Bubbaleone's Avatar
 
Join Date: Nov 2011
Posts: 1,125
Default

Quote:
Originally Posted by Nothinman View Post
The only time you need the pagefile to be at least the same size as your physical memory is if you want a full memory dump on STOP. Otherwise, set it to something more reasonable like 1G or 2G and set the max to something higher to allow for expansion in case something does go nuts.
This ^........ Just wanted the documentation out there for consideration.
Bubbaleone is online now   Reply With Quote
Old 03-14-2012, 05:25 PM   #9
sm625
Diamond Member
 
sm625's Avatar
 
Join Date: May 2011
Posts: 3,065
Default

Here is the ssdlife report on the drive I been using for 5 months:



edit: It had a 2GB pagefile from day 1.
__________________
I am looking for a cheap upgrade to my 3 year old computer.
AT forum member #1: Buy a 3770k

I am looking for a way to get 10 more fps in TF2.
AT forum member #2: Buy a 3770k

Last edited by sm625; 03-15-2012 at 09:11 AM.
sm625 is offline   Reply With Quote
Old 03-14-2012, 06:03 PM   #10
Bubbaleone
Golden Member
 
Bubbaleone's Avatar
 
Join Date: Nov 2011
Posts: 1,125
Default

This topic has really caught my interest. I want to know more...and why! So I went looking for the most up-to-date info on the hows and whys about paging files, and I found this very recent and concise article that throws out all the out-of-date garbage, gets down to practical up-to-date facts, and directly answers the OP's questions:

How To Size Page Files on Windows Systems

Quote:
About the Author

Clint Huffman is a Microsoft Senior Premier Field Engineer who regularly teaches and troubleshoots Windows performance issues using Windows Internals knowledge and tools. He is an active author/contributor to many TechNet articles, books and wikis on testing and performance and is probably best known for the Performance Analysis of Logs (PAL) tool, which automates the analysis of performance counter logs. He blogs regularly at http://blogs.technet.com/b/clinth/.

Last edited by Bubbaleone; 03-14-2012 at 06:45 PM.
Bubbaleone is online now   Reply With Quote
Old 03-14-2012, 06:22 PM   #11
Phynaz
Diamond Member
 
Phynaz's Avatar
 
Join Date: Mar 2006
Posts: 5,164
Default

Put the page file on your SSD. You bought the SSD to go fast, right?
Phynaz is online now   Reply With Quote
Old 03-14-2012, 06:48 PM   #12
SimMike2
Platinum Member
 
Join Date: Aug 2000
Posts: 2,415
Default

I refuse to baby my SSD. I put virtually everything except large video files and my download directory on the drive. Anything less would be like people putting that ugly uncomfortable plastic on their couches.
SimMike2 is offline   Reply With Quote
Old 03-14-2012, 11:29 PM   #13
G73S
Member
 
Join Date: Mar 2012
Posts: 31
Default

After reading a myriad of articles on various sites/forums

I ended up setting the Pagefile to 1024 min/max on the SSD C: Partition as my pagefile will rarely if ever be used

A quote from Microsoft/Technet forums;
Quote:
Pagefile is exactly the kind of thing you want on your SSD. Taking it off negates one of the biggest advantages of owning one, since most of the stuff in the pagefile is small reads/writes at which SSD's excel. If you wanna limit its size, fine, but dont disable it or move it to another drive.

Windows 7 is very good when it comes to SSD, and knows what to do. One thing I would do though is adjust the size of the pagefile. But as far as the rest of it, I would let W7 deal with that. As mentioned earlier it is well optimized for SSDs unlike Vista. Moving things around may very well hurt the speed rather than improve it.


G73S is offline   Reply With Quote
Old 03-20-2012, 01:20 PM   #14
entfy
Junior Member
 
entfy's Avatar
 
Join Date: Mar 2012
Location: State College, PA
Posts: 17
Default

For the amount of memory you virtually have access to, the necessity for a pagefile is moot. You might as well allow the maximum allowable amount on your ram as you will never be able to use such a massive amount. Also with the new SSD caching that is what I'm getting ready to do. I have taking my 120gb ocz ssd partitioned in in half installing the base necessities on the ssd partition and then have the other half combined with my 1tb hdd for the 56gb maximum allowable cache. What ever you use most often will be stored on the ssd and the page file will never be touch as it would most likely save the page file on the SSD to begin with as it is the most commonly used file.
entfy is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:34 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.