page file on SSD

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

flamenko

Senior member
Apr 25, 2010
349
0
0
www.thessdreview.com
I dont get a chance to jump in to the forums much any more but somehow couldn't resist this. I have been intricately involved in the page file issue since the early Vista days and, myself, have been running without pagefile since I installed 4Gb RAM and was playing with it even on 2GB. Vista was an excellent framework however Win7 is that much better because of the way it prioritizes software that you have running.

An example of what I mean is simply that I can run 50 programs in Win 7 with 4GB ram without a pagefile without any problem whatsoever and never a crash.

Using a pagefile on a hard disk is self defeating because, thinking through logic alone, you are slowing the process as the hard drive is somewhat of a bottleneck.

The simple truth however is that, IMHO, pagefile serves absolutely no purpose in systems that utilize 4GB ram or more. I can agree to the fact that, if your system crashes a dump file is available for inspection if the pagefile is on, but would then state that systems just dont crash anymore and the lack of pagefile surely wouldnt be the reason.

I then come to the question of why would I want a process running that is serving no purpose which is the case with many things when running an SSD.

With an SSD, services such as pagefile, hibernation, Prefetch, Superfetch and even indexing seem to provide no benefit further. If it doesnt do anything than why would you want to run it?

Next, I would think that an argument could be presented that turning off moot services can do nothing but benefit your system as there is less opportunity for error in the machine overall.

I can suggest that shutting down above, as I suggest, will help your start times and also provide you with a great deal more SSD storage capacity which we want in our ssds.

As always, I invite return and know that there will be some who think that I am way out in left field with some of the services I shut down. My response would be that right this second I am running 11 ssds on my systed to include two RAID 0 configs and even an SSD powered through satadimm and its as solid as a rock.

In a few days I am going to try and step it up to include an LSI 9260 with 8 SATA 3 ssds installed.

On an amuzing note, I can remember a time when I was totally alone in my views on pagefile and look back to some of the NBR reviews now in amuzement.

Just MHO and hope this provides some benefit.
 

hanspeter

Member
Nov 5, 2008
157
0
76
#26

With 4GB some can disable it, others cannot. So it is not a final conclusion.

With 4GB plus a page file, you might have more ram available for cache, which can speed up some things. No page file, less cache.
 

flamenko

Senior member
Apr 25, 2010
349
0
0
www.thessdreview.com
#26

With 4GB some can disable it, others cannot. So it is not a final conclusion.

With 4GB plus a page file, you might have more ram available for cache, which can speed up some things. No page file, less cache.

If I can add, I have asked people through dozens of exchanges to provide any proof that they can find that shows Page providing any sort of performance increase and have yet to have anyone return such.

4GB or more...you are golden.
 

dualsmp

Golden Member
Aug 16, 2003
1,627
45
91
If I can add, I have asked people through dozens of exchanges to provide any proof that they can find that shows Page providing any sort of performance increase and have yet to have anyone return such.

4GB or more...you are golden.

Only thing I've encountered is when running chkdsk without a pagefile you can run out of memory, so the pagefile needs to be temporarily enabled. Also some games will run out of memory even with 4 GB, so the pagefile might have to be enabled depending on the game.
 

postmortemIA

Diamond Member
Jul 11, 2006
7,721
40
91
Only thing I've encountered is when running chkdsk without a pagefile you can run out of memory, so the pagefile needs to be temporarily enabled. Also some games will run out of memory even with 4 GB, so the pagefile might have to be enabled depending on the game.

Consider workstation scenario, where you use dozen or two dozen of tools at same time. And few of them have high I/O and memory footprint, you'll run out of RAM pretty quickly. Games - not much so. There are rare ones that consume more than 2GB, and you don't run more than one.

Anyway, user with SSD has to have mechanic drive for media storage, unless it has no such data. It makes sense to put backup pagefile on such drive.
 

Zebo

Elite Member
Jul 29, 2001
39,398
19
81
I dont get a chance to jump in to the forums much any more but somehow couldn't resist this. I have been intricately involved in the page file issue since the early Vista days and, myself, have been running without pagefile since I installed 4Gb RAM and was playing with it even on 2GB. Vista was an excellent framework however Win7 is that much better because of the way it prioritizes software that you have running.

An example of what I mean is simply that I can run 50 programs in Win 7 with 4GB ram without a pagefile without any problem whatsoever and never a crash.

Using a pagefile on a hard disk is self defeating because, thinking through logic alone, you are slowing the process as the hard drive is somewhat of a bottleneck.

The simple truth however is that, IMHO, pagefile serves absolutely no purpose in systems that utilize 4GB ram or more. I can agree to the fact that, if your system crashes a dump file is available for inspection if the pagefile is on, but would then state that systems just dont crash anymore and the lack of pagefile surely wouldnt be the reason.

I then come to the question of why would I want a process running that is serving no purpose which is the case with many things when running an SSD.

With an SSD, services such as pagefile, hibernation, Prefetch, Superfetch and even indexing seem to provide no benefit further. If it doesnt do anything than why would you want to run it?

Next, I would think that an argument could be presented that turning off moot services can do nothing but benefit your system as there is less opportunity for error in the machine overall.

I can suggest that shutting down above, as I suggest, will help your start times and also provide you with a great deal more SSD storage capacity which we want in our ssds.

As always, I invite return and know that there will be some who think that I am way out in left field with some of the services I shut down. My response would be that right this second I am running 11 ssds on my systed to include two RAID 0 configs and even an SSD powered through satadimm and its as solid as a rock.

In a few days I am going to try and step it up to include an LSI 9260 with 8 SATA 3 ssds installed.

On an amuzing note, I can remember a time when I was totally alone in my views on pagefile and look back to some of the NBR reviews now in amuzement.

Just MHO and hope this provides some benefit.

Another viewpoint.

http://lifehacker.com/#!5426041/understanding-the-windows-pagefile-and-why-you-shouldnt-disable-it

this issue is as old as page file itself. There is no right or wrong just what works for you.

I personally never use one because of minor caching issues I talked about earlier but there is some who greatly need it such as photo shop users with massive files. Performance as in benchmarking and FPS matter none what you do. In sum there is no right. default is probably best for most people who don't micromanage their system and keep abreast of usesages and capacity.
 
Last edited:

Zebo

Elite Member
Jul 29, 2001
39,398
19
81
If I can add, I have asked people through dozens of exchanges to provide any proof that they can find that shows Page providing any sort of performance increase and have yet to have anyone return such.

4GB or more...you are golden.

Open CCC with it on then reboot open it with it off and let me know how it goes. I cold show you a million other tests of caching fail built into windows but this one is simple.
 
Last edited:

Rubycon

Madame President
Aug 10, 2005
17,768
485
126
Programs that use huge amounts of memory (PS) should be using a scratch disk which can be on its own SSD, for example.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
The pagefile doesn't improve performance; putting it on an SSD wastes the most expensive storage media in your system. Buy enough RAM that you don't need a pagefile at all, and/or put one on a spindle disk if you feel they're really necessary.

Actually it can improve performance because it allows the system to page out data that hasn't been used in a long time making more room in main memory for whatever you're currently doing.

And since with VM even on a 32-bit system you essentially have a need for infinite memory since each process can use up to 2G of VM. Running without a pagefile is like walking a tight rope without a net, sure it's possible but it's a terrible idea.

Rubycon said:
Programs that use huge amounts of memory (PS) should be using a scratch disk which can be on its own SSD, for example.

No, they should be using VM like any other app and letting the OS manage it for them. Each app implementing it's own memory management would be a total nightmare. PS only does that as a bandaid for the terrible memory management on Mac OS before OS X and Adobe never saw fit to fix it.
 

hanspeter

Member
Nov 5, 2008
157
0
76
No, they should be using VM like any other app and letting the OS manage it for them. Each app implementing it's own memory management would be a total nightmare. PS only does that as a bandaid for the terrible memory management on Mac OS before OS X and Adobe never saw fit to fix it.

Without such a scratch disk, the application would not be able to allocate more than 2GB in a normal 32bit setup. Sometimes you need more than that. PS can allocate more than 2GB by using the harddrive as storage.
 

Voo

Golden Member
Feb 27, 2009
1,684
0
76
Without such a scratch disk, the application would not be able to allocate more than 2GB in a normal 32bit setup. Sometimes you need more than that. PS can allocate more than 2GB by using the harddrive as storage.
And Nothinman's whole point was that not every application should roll out it's own memory managment but let the OS do its work. The photoshop scratch disk is exactly the same as the page file (at least conceptionally, for the actual implementation all bets are off, but it hardly is better..).
Well in theory they could use the Kernel address space for themselves and distinguish somehow between the two, but I extremely doubt they did that - pretty much work, who knows what kind of complications and they had enough problems getting the relatively straightforward 64bit transition done..
 
Last edited:

hanspeter

Member
Nov 5, 2008
157
0
76
And not every application does it. PS does it, because 2GB VAS is what a 32bit app normally gets. If PS needs to handle image data way beyond that, it would fail without a scratch disk - that is the point.
 

Voo

Golden Member
Feb 27, 2009
1,684
0
76
And not every application does it. PS does it, because 2GB VAS is what a 32bit app normally gets. If PS needs to handle image data way beyond that, it would fail without a scratch disk - that is the point.
You would first have to show somehow that PS internally uses a own pointer implementation >32bit and then maps those into the given 2gb address space.
Considering that Adobe had pretty large problems to get PS 64bit ready, I extremely doubt that (if they already have pointers > 32bit, where was the problem to use not 3x but 64 bits for it and change the mapping? Should make it easier considering that mapping would become more or less a nop).

But if they do it, then yes that would make their implementation valid since it fulfills a different purpose than the page file.
 
Last edited:

hanspeter

Member
Nov 5, 2008
157
0
76
They are not using memory pointers above 2G. They are resuing the address space (swapping data in/out). It is the reusing that Windows cannot provide.
 

flamenko

Senior member
Apr 25, 2010
349
0
0
www.thessdreview.com
Running without a pagefile is like walking a tight rope without a net, sure it's possible but it's a terrible idea.

Same jiberish we have been listening to for years. Pagefile was great for XP and it served a purpose but there is abs no purpose for it, even in a 32 bit system when ample RAM is available.

If one wants to claim increased performance, please provide supporting references.
 

Voo

Golden Member
Feb 27, 2009
1,684
0
76
If one wants to claim increased performance, please provide supporting references.
Use a program that uses lots of RAM and leaves lots of dirty pages. Start other program that needs RAM. See how scheduler pages out dirty pages and increases the working set of the new process.
 

flamenko

Senior member
Apr 25, 2010
349
0
0
www.thessdreview.com
I can repeat myself if you like but, "Show me the money!"

Use Windows 7 and bench with and without pagefile. I am not trying to be 'forthright' but I have heard such for years. The only thing I still have seen is that no performance benefit is apparent with pagefile on and especially in typical user scenarios.

I even had someone once tell me it was required in Photoshop 7...but didn't realize I was using that very program.
 

Rubycon

Madame President
Aug 10, 2005
17,768
485
126
PS USED to complain about it but current versions don't.

The default pagefile size is quite outdated though. Install Win7 on a system with 128GB of RAM with a 160GB SSD and you will cry when you have no disk space for programs! :awe:
 

flamenko

Senior member
Apr 25, 2010
349
0
0
www.thessdreview.com
Wait 128GB of RAM???? I always suggest a simple test to win people over. Shut down pagefile and then click on any programs until 50 are running simultaneously and be amazed. Many of my programs include Ofice, Acrobat, Photoshop and so on... I will run multiple instances of many including songs and video.

Yes...video will get choppy but it will with Pagefile on as well. IMHO it all comes down to Windows prioritization of active programs.
 
Last edited:

deimos3428

Senior member
Mar 6, 2009
697
0
0
Actually it can improve performance because it allows the system to page out data that hasn't been used in a long time making more room in main memory for whatever you're currently doing.
Not so. The pagefile can buy time, but any system that would benefit from a pagefile has a problem to solve, not one to ignore.

By stating the above you're assuming a system that is already RAM deficient. Ideally you'd want to fix the root cause if possible: provision more RAM (or move applications to another machine) and/or figure out why programs are consuming more memory than they rightly should if that's the case.

A pagefile should be considered a last resort when you can't add more memory, not a safety net.
 

Rubycon

Madame President
Aug 10, 2005
17,768
485
126
Can a pagefile go on a removable disk? Get a cheap 8GB flash drive and you're all set.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Without such a scratch disk, the application would not be able to allocate more than 2GB in a normal 32bit setup. Sometimes you need more than that. PS can allocate more than 2GB by using the harddrive as storage.

On Windows with AWE it can. It can't all be addressed at once, but it can definitely use more than 2G of VM even on a 32-bit system. SQL Server has been doing this for a very long time.

flamenko said:
Same jiberish we have been listening to for years. Pagefile was great for XP and it served a purpose but there is abs no purpose for it, even in a 32 bit system when ample RAM is available.

The problem is that it's impossible to have enough memory to cover all cases. On a 32-bit system each process gets 2G of VM, so you would essentially need an infinite amount of memory to cover every possibility.

Not having a pagefile forces the system to leave every modified page without a backing store in memory which wastes memory. If you haven't used your browser in X amount of hours because you're playing a game, wouldn't you rather the memory claimed by that browser could be paged out to make room for the game? If you already have enough memory to handle both then you don't have to worry about the pagefile being used, so why remove it?

flamenko said:
I can repeat myself if you like but, "Show me the money!"

You're the one arguing in favor of people configuring their system in a potentially unstable manner so the burden of proof is on you. Please prove that not one detrimental effect will be had by people disabling their pagefile.

deimos3428 said:
By stating the above you're assuming a system that is already RAM deficient. Ideally you'd want to fix the root cause if possible: provision more RAM (or move applications to another machine) and/or figure out why programs are consuming more memory than they rightly should if that's the case.

And because of how VM works every system is potentially memory deficient. You can try to curb it's use and sometimes control individual process' memory usage, but you can't account for everything that might happen. Leaving a pagefile there just in case is just smart.

deimos3428 said:
A pagefile should be considered a last resort when you can't add more memory, not a safety net.

Obviously building an overcommited system from the start is dumb, but so is disabling the pagefile when it provides a safety net and costs you nothing.

Rubycon said:
Can a pagefile go on a removable disk? Get a cheap 8GB flash drive and you're all set.

Not on Windows, MS specifically disallows that AFAIK. And those cheap flash drives are usually slower than a decent spindle drive so it would be worse anyway.
 

hanspeter

Member
Nov 5, 2008
157
0
76
On Windows with AWE it can. It can't all be addressed at once, but it can definitely use more than 2G of VM even on a 32-bit system. SQL Server has been doing this for a very long time.

Of course there is AWE, but that is something else and something a bit more special.

Also, AWE is physical memory only. Most people have access to more harddrive space than they have physical memory.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |