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: Enabling/Disabling LargeSystemCache with Windows 7 on SSD

05 Dec 2017   #1
TONPumper

Microsoft Windows 7 64-bit Service Pack 1
 
 
Enabling/Disabling LargeSystemCache with Windows 7 on SSD

I was doing some research on making my SSD run smoother and I came across a website that had a list of 12 things to do if you have a SSD:

12 Things You Must Do When Running a Solid State Drive in Windows 7

Most of these I had already done in the past, but the one that threw me off was disabling the largesystemcache. I didn't know that this was even a thing until I saw it here and I noticed that a program called SSD Tweaker has it as an option to disable it as well. When I went into the registry, I noticed that the value was set to 1. I'm not sure why it was or why a program would need to turn it on, but I set it to 0 since the site and the program suggested it, and because it's the default setting in a fresh install of Windows.

I was just curious as to how other people have it setup or if they can give a little more information about the feature.


My System SpecsSystem Spec
.
05 Dec 2017   #2
LMiller7

Windows 7 Pro 64 bit
 
 

The default value for LargeSystemCache is 0. It is normally enabled (set to 1) only on servers or client systems used primarily as servers. It was not intended for general use. I am not convinced it is even supported in Windows 7. In supported systems it would allow the file cache to grow to the point where applications ran short. On a server that is a good thing because a large file is good when sharing files on a network and nobody cares how well applications run on a server. But in a system used primarily to run applications that would be a bad thing. Leave it at 0.

In XP days there were many "tweaking" sites that had this hopelessly wrong, and many more things besides.

The default value for ClearPageFileAt Shutdown has always been 0 and is appropriate for most situations. Unless your computer contains particularly sensitive information setting it will make little sense.

I wouldn't disable the pagefile unless disk space was desperately short, in which case you would need a bigger disk. The pagefile is designed to optimize performance and it usually does. Modern SSDs do have limited writes but you would have to really work at reaching it. Most SSDs die of other causes long before limited writes becomes a problem, or more commonly the drive is replaced because it is too small.
My System SpecsSystem Spec
06 Dec 2017   #3
Megahertz07

Windows 7 HP 64
 
 

I have disabled the pagefile on C: (SSD) and enabled on D: (HDD) with size set twice my memory (min=Max). Works very well.
As I have moved \Users to D: during installation, the %USERPROFILE%\AppData\Local\Temp is on the D: and I have changed the Temp and TMP from Windows\Temp to D:\Temp, all temporary files (from windows and from user) are now on the HDD.
My System SpecsSystem Spec
.

06 Dec 2017   #4
TONPumper

Microsoft Windows 7 64-bit Service Pack 1
 
 

Quote   Quote: Originally Posted by LMiller7 View Post
The default value for LargeSystemCache is 0. It is normally enabled (set to 1) only on servers or client systems used primarily as servers. It was not intended for general use. I am not convinced it is even supported in Windows 7. In supported systems it would allow the file cache to grow to the point where applications ran short. On a server that is a good thing because a large file is good when sharing files on a network and nobody cares how well applications run on a server. But in a system used primarily to run applications that would be a bad thing. Leave it at 0.

In XP days there were many "tweaking" sites that had this hopelessly wrong, and many more things besides.

The default value for ClearPageFileAt Shutdown has always been 0 and is appropriate for most situations. Unless your computer contains particularly sensitive information setting it will make little sense.

I wouldn't disable the pagefile unless disk space was desperately short, in which case you would need a bigger disk. The pagefile is designed to optimize performance and it usually does. Modern SSDs do have limited writes but you would have to really work at reaching it. Most SSDs die of other causes long before limited writes becomes a problem, or more commonly the drive is replaced because it is too small.
Got it. I'll just leave both of them at zero. How does trim work? I know that it is enabled on my system, but what does it mean when trim is enabled? Does something run in the background on a schedule to trim the ssd?

Quote   Quote: Originally Posted by Megahertz07 View Post
I have disabled the pagefile on C: (SSD) and enabled on D: (HDD) with size set twice my memory (min=Max). Works very well.
As I have moved \Users to D: during installation, the %USERPROFILE%\AppData\Local\Temp is on the D: and I have changed the Temp and TMP from Windows\Temp to D:\Temp, all temporary files (from windows and from user) are now on the HDD.
I have my system setup the same way. I don't see my system using the pagefile often. The only time I see it using the pagefile is when I'm playing a game that uses a lot of memory, like PUBG, but even then, it only uses less than 1000 MB and I have my pagefile system managed, but it seems to use 15.86 GB all the time.
My System SpecsSystem Spec
12 Dec 2017   #5
looked

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by TONPumper View Post
I have my system setup the same way. I don't see my system using the pagefile often. The only time I see it using the pagefile is when I'm playing a game that uses a lot of memory, like PUBG, but even then, it only uses less than 1000 MB and I have my pagefile system managed, but it seems to use 15.86 GB all the time.
There are tonnes of tutorials on internet giving suggestions regarding to move the pagefile or not and in my opinion there is a battle of different "opinions" (or fanbois) regarding the effects of moving the file.
I just leave the pagefile where is because by the time my SSD will die, we will have newer technology and cheaper drives (or memory chips) on the market.
My System SpecsSystem Spec
12 Dec 2017   #6
TechnoMage2016

Windows 7 Ultimate, SP1, x86
 
 

I see lots of talk, about ones vs zeros, but so far, nobody has said WHY they would change the default 0 (zero) to an optional 1 (one). Eh? Does anyone really even know?

The reason as it was explained to me a long time ago, is that changing that 0 to a 1 causes the Windows Kernel to be loaded (copied) into ram memory on boot up where it can run many times faster than it would if left to run from the much slower hard drive. Under a heavy CPU load, like when gaming, the Kernel can be accessed from the HD several thousand times every minute.

There was a warning, about NOT using that tweak if you had one of those old PC's (hello Dell) that came out with only 256 megs of ram. But it should work good on the new PC's with multiple Gig's of RAM memory.

I have an SSD and 4GB of ram, and I run the following registry script on every Windows install, and my PC runs like a scalded cat!! And, I've taken a huge work load off of my SSD.

Windows Registry Editor Version 5.00
; Shorten shutdown time. Time is in Milliseconds.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]
"WaitToKillServiceTimeout"="1000"

; Load the Kernel into RAM on boot, for faster running.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
"DisablePagingExecutive"="1"
"LargeSystemCache"="1"

But I'm confident, that "a man (or woman) convinced against their will, will be of the same opinion still."
So if you're convinced that the above tweak does no good or just doesn't work, you'll keep on doing what you've been doing, without the possibility of gaining performance in your PC.

Happy Holidays Everyone!
TechnoMage
My System SpecsSystem Spec
12 Dec 2017   #7
LMiller7

Windows 7 Pro 64 bit
 
 

The idea that the LargeSystemCache setting would load the kernel in RAM is nonsense. It was likely based on misunderstandings piled on misunderstandings. Microsoft documentation makes no mention of this and it is clearly impossible. The kernel itself is always loaded in RAM. Code must exist in RAM before it can be executed. The kernel manages paging so if the kernel itself was not resident in RAM how could it manage anything?

The setting would potentially result in a larger file cache. In itself that is a good thing. But what the tweaking sites always seemed to miss was that this came at a price. Since memory was limited more memory used for the file cache meant that there was less available for applications. By default (with the setting at zero) the system memory manager would balance the size of cache and application memory to maximize application performance. In a client OS that is what you want.

But in a file server things are different. A file server exists to share files on the network and this is the aspect of performance that matters. A file server runs few applications, such as for making backups and other utilities and their performance is is minor concern. The LargeSystemCache setting upset the balance so as to favor the file cache, even to the point where applications ran short of memory. This is a good thing, but only in a computer used primarily as a server.

I used the setting on a computer running Windows 2000 server. I noticed no difference in performance with it on or off. I have also tried "DisablePagingExecutive" with no difference in performance. I am not convinced that either is even supported in a modern OS.

Microsoft did warn that some third party device drivers behaved very badly in a system where the setting was on and data corruption could result.
My System SpecsSystem Spec
Reply

 Enabling/Disabling LargeSystemCache with Windows 7 on SSD




Thread Tools




Similar help and support threads
Thread Forum
Powershell programs keeps enabling itself after disabling it
Hello I'm so frustrated on how this thing would vanished on my computer system. It keeps checked even though I disabled or uncheck it in the msconfig here's what I am referring to. Microsoft Operating System Microsoft Corporation C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe...
System Security
My Alfa AWUS036H USB Device Keeps Enabling and Disabling
Hi all, I finally broke down and decided to make an account as ask for some help. Really trying to get this working normally again. As stated in the title when I plug in my USB wireless device to my Desktop Tower, the device appears in the task-bar and adapter screen to continuously enable...
Hardware & Devices
BSOD while enabling/disabling wireless device NETwNs64.sys
Hi guys, I am having some troubles trying to use my laptop wireless device, because every time I try to connect to my home connection it last no more than 10 minutes and after that it shows LIMITED ACCESS on my connection icon. Im not very good at computers so the only thing I can do is DISABLE...
BSOD Help and Support
Enabling onboard graphics/Disabling graphics card method
Hi all, Video card appears to be reaching the end of the road, with regular crashes of 0x117 type. After extensive attempts to fix it, the conclusion is that the card needs to be replaced. I plan to acquire a completely new computer when I go overseas in 8 days time. Until then, a band-aid...
Graphic Cards
Android 4.1.2 Multi Window - enabling and disabling
Hi there I found the Multi - Window feature a bit of a nuisance after the Android 4.1.1 ==>4.1.2 Android update. This can easily be enabled or disabled by PRESSING THE BACK BUTTON on your phone and holding it for around 7 seconds. (By Back button you don't have to have a "physical button"...
Chillout Room


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 19:52.
Twitter Facebook Google+