Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: pagefile & hyberfil

23 Apr 2010   #1
pasquanel

Win 7 Home Premium 64 bit
 
 
pagefile & hyberfil

Just checked my system using windrstat and noticed my pagefile is 8 gig and the hyberfil is 6 gig. This system has 8 gigs of ram plus another 1 gig on the video card.
This seems like a huge amount in particularly the pagefile given the amount of ram installed. My question is can I safely reduce this to say 500 megs? The drive is a 1 terabyte and would fooling with either one of these be worth while?


My System SpecsSystem Spec
.
23 Apr 2010   #2
zigzag3143

Win 8 Release candidate 8400
 
 

Quote   Quote: Originally Posted by pasquanel View Post
Just checked my system using windrstat and noticed my pagefile is 8 gig and the hyberfil is 6 gig. This system has 8 gigs of ram plus another 1 gig on the video card.
This seems like a huge amount in particularly the pagefile given the amount of ram installed. My question is can I safely reduce this to say 500 megs? The drive is a 1 terabyte and would fooling with either one of these be worth while?

You certainly can and should. Some people with boat loads of RAM dont even run a pagefile. I believe the system will be more stable with a small (500 mb) pagefile than without.
My System SpecsSystem Spec
23 Apr 2010   #3
Jacee
Microsoft MVP

Windows 7 Ultimate 32bit SP1
 
 

It should be set at 1.5 times the amount of Ram.
My System SpecsSystem Spec
.

23 Apr 2010   #4
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

The minimum page file is 16MB. But since you have the space, there would not really be a need to change it. Interestingly enough there are some programs (e.g. MSE) that generate page faults even when there are loads of available RAM (you can check that in Resource Monitor > Memory tab > Hard faults above). But 500MB should suffice.
The hibernation file you can get rid of if you do not use hibernation. Run powercfg -h off in elevated cmd.
My System SpecsSystem Spec
23 Apr 2010   #5
tw33k

Windows 7 Ultimate (x64) SP1
 
 

Quote   Quote: Originally Posted by Jacee View Post
It should be set at 1.5 times the amount of Ram.
This was true back when we all had only a small amount of RAM. Now days though, this rule doesn't apply IMO. If it did, my page file would be 12GB!
My System SpecsSystem Spec
23 Apr 2010   #6
CommonTater

XP Pro SP3 X86 / Win7 Pro X86
 
 

Quote   Quote: Originally Posted by pasquanel View Post
Just checked my system using windrstat and noticed my pagefile is 8 gig and the hyberfil is 6 gig. This system has 8 gigs of ram plus another 1 gig on the video card.
This seems like a huge amount in particularly the pagefile given the amount of ram installed. My question is can I safely reduce this to say 500 megs? The drive is a 1 terabyte and would fooling with either one of these be worth while?
The hibernation file is simple enough... as has already been explained.

The pagefile is a bit more complex... You have to consider your computer usage... If you are running monster apps you need to assess their requirements and adjust the page file sizes accordingly... Pagefile == MAX Requirement - RAM.

On most systems over 4gb of ram (6gb for x64) you can quite often simply turn off the page file altogether and get a performance boost in the bargain. I've got 2gb ram on x86 and run without a pagefile, no problem.

If you do use a page file, set the minimum and maximum sizes the same. This profoundly reduces the risk of pagefile fragmentation and reduces the system's need to continuously maintain the file... which does give a moderate performance boost.
My System SpecsSystem Spec
24 Apr 2010   #7
pasquanel

Win 7 Home Premium 64 bit
 
 

Well thank you all for the input and info! Interesting range of thought on this subject.
Just to satisfy my own curiosity I have turned off the page-file and so far so good but I may turn it back on
just to be on the safe side. I checked the WEI and there was no change there and I can't say I notice any appreciable increase in performance. So it may well be something I should leave alone!
My System SpecsSystem Spec
24 Apr 2010   #8
Dinesh

Windows® 8 Pro (64-bit)
 
 

You can disable hibernate option and you can save the space used by hiberfil.sys file. Open an elevated cmd and type powercfg -h off
My System SpecsSystem Spec
24 Apr 2010   #9
Digerati

Windows 7 Profession 64-bit
 
 

Yeah, 1.5 x RAM is a fine rule of thumb for systems with 1Gb of RAM, or less. Now days, the best way to determine PF requirements is watch Task Manager and see what your system uses.

BUT - it rarely, if ever, does any harm having too big of a page file - ESPECIALLY if you let Windows manage it. And any performance boost gained by disabling the PF has NEVER been reproduced in a lab - meaning it is just perceived - the placebo effect (if you can find a "legitimate lab" test that says otherwise, please post).

If you think about it, the logic folks use to disable it (to force Windows and the CPU to use faster RAM instead of the slow hard disk) is flawed. Windows ALWAYS uses RAM for the highest priority data, then it shoves less important data to PF where it can easily find it, IF needed. Data stored in the PF is retrieved much faster than data left unread on the disk. This is because data stored in the PF is stored more efficiently than on a hard disk as a normal file, AND the OS knows exactly where it is - and does not have to rely on the disk controller as much to hunt down and connect all the fragments.

Also, since a Windows managed PF always yields space when the disk is crowded, reducing the PF to save disk space is not a valid arguement either - UNLESS the disk is very low on space, in which case, there will be other problems too, until a new disk is installed, or programs are uninstalled.

If you disable or minimize the pagefile, the OS will assign physical memory to programs that require virtual memory, and most do - then it will lock the RAM out from any actual use! That's not good! So keep pagefile turned on, and let Windows handle it. The exception is if you are very low on disk space, then my recommendation is to free up space.

Microsoft has been enabling PFs in Windows for over a decade - they have it figured out - leave it alone!
My System SpecsSystem Spec
24 Apr 2010   #10
pparks1

Windows 7 Ultimate x64
 
 

My take on the page file with a 1TB drive is as follows;

I have the same sort of setup. Box has 8GB of RAM, I have an 80GB SSD for my OS and a 1TB WD Caviar Black for my storage. I moved the page file off from C and put it on D. I left it at 1.5x the size of my RAM...so 12GB.

Do I really need that much?? Probably not.
Has my system with 8GB of RAM ever used the virtual memory? Yes.
Does it really hurt anything: Nope

With the fact that my 1TB drive was less than $100 and a 12GB page file is only about 1% of the formatted capacity, I simply don't worry about it. If my drive ever fills up, I'd be more likely to buy another drive than delete a single 12GB file if I'm nearly full
My System SpecsSystem Spec
Reply

 pagefile & hyberfil




Thread Tools




Similar help and support threads
Thread Forum
Moved Pagefile.sys to second HHD and old pagefile.sys still on primary
Hello all, I have a SSD which runs my windows 7 and other processing heavy programs and a secondary HDD which holds files. I've been reading up on making sure I can get the most life out of my SSD since there are limited read/write cycles on them. Therefore, I looked into moving my...
Performance & Maintenance
Writes to hyberfil.sys
Does Win 7 constantly write to the hyberfil.sys file or only when the computer is going into hibernation?The reason I ask is the only way my UPS can save my work before shutting down the computer in the event of a power failure is to hibernate it so, obviously, I need hibernate enabled, complete...
Performance & Maintenance
Hyberfil.sys Won't Stay Off After powercfg -h off, Disable in CP
I have turned of Hybrid Sleep, Hibernation in Control Panel. I have run "powercfg -h off" with Administrative Privileges. I am using Windows 7 Ultimate 64. I can delete hyberfil.sys after the above, but as soon as I reboot it is back. Can anyone help? Many thanks,
Performance & Maintenance
pagefile
i have 4gb of ram, in my pagefile settings, it has suggested i use 6150gb for the pagefile, i was leaving it to be system managed but read sometimes that it benefits the system to have a fixed point so set both min and max to 6200. is this worth doing or should i just let wondows manage it? 6200gb...
Performance & Maintenance
Pagefile
Hello, I have 6gb's of ram, do I need a pagefile? Played a little and turned it off but I noticed that there was some kind of usage in the performance monitor, still. Currently use 3 SSD's in RAID 0, with a 4th for pagefile and temp files. Do I add 4th SSD to the RAID 0 array? Do I go RAID 5,...
Performance & Maintenance
Cannot Set PageFile
My computer has slowed right down lately and I tracked the problem to the pagefile which has suddenly disappeared. When I try to set it back to system managed and click the 'set' button, there is a popup in the system tray that says "SystemPropertiesPerformance.exe - corrupt file". Any ideas?
Performance & Maintenance


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 10:28.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App