Enabling/Disabling LargeSystemCache with Windows 7 on SSD

TONPumper

New member
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Microsoft Windows 7 64-bit Service Pack 1
CPU
Intel Core i7-4790K Devil's Canyon Quad-Core 4.0 GHz
Motherboard
GIGABYTE GA-Z97X-SLI LGA 1150
Memory
16.00 GB
Graphics Card(s)
NVIDIA GeForce GTX 950
Monitor(s) Displays
AOC 2050W
Screen Resolution
1920 x 1080
Hard Drives
ST1000DL002-9TT153 ATA Device
Seagate 2TB FireCuda Gaming SSHD (Solid State Hybrid Drive) - 7200 RPM SATA 6Gb/s 64MB Cache 3.5-Inch Hard Drive
Samsung 850 EVO - 250GB - 2.5-Inch SATA III Internal SSD
PSU
CORSAIR CX-M Series CX750M 750W ATX12V & EPS12V Semi-modular
Case
Lian Li PC-7H
Browser
Firefox
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Pro 64 bit
CPU
Xeon W3520
Memory
8 GB
Graphics Card(s)
Nvidia Geforce 210
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 Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    custom build
    OS
    Windows 7 HP 64
    CPU
    i5 6600K - 800MHz to 4200MHz
    Motherboard
    GA-Z170-HD3P
    Memory
    4+4G GSkill DDR4 3000
    Graphics Card(s)
    IG - Intel 530
    Monitor(s) Displays
    Samsung 226BW
    Screen Resolution
    1680x1050
    Hard Drives
    (1) -1 SM951 – 128GB M.2 AHCI PCIe SSD drive for Windows 7 and Lubuntu
    (2) -1 WD SATA 3 - 1T for Data
    (3) -1 WD SATA 3 - 1T for backup
    PSU
    Thermaltake 450W TR2 gold
    Keyboard
    Old and good Chicony mechanical keyboard
    Mouse
    Logitech mX performance - 9 buttons (had to disable some)
    Internet Speed
    500Mb/s
    Browser
    Firefox 64
    Other Info
    TinyWall firewall
  • Computer type
    Laptop
    System Manufacturer/Model Number
    Asus Q550LF
    OS
    Windows 7 Pro
    CPU
    i7-4500U 800MHz to 3.0GHz
    Motherboard
    Asus Q550LF
    Memory
    (4+4)G DDR3 1600
    Graphics Card(s)
    IG intel 4400 + NVIDIA GeForce GT 745M
    Sound Card
    Realtek
    Monitor(s) Displays
    LG Display LP156WF4-SPH1
    Screen Resolution
    1920 x 1080
    Hard Drives
    BX500 120G SSD for Windows and programs +
    1T HDD for data
    Internet Speed
    500 Mb/s
    Browser
    Firefox
    Other Info
    TinyWall firewall
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?

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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Microsoft Windows 7 64-bit Service Pack 1
CPU
Intel Core i7-4790K Devil's Canyon Quad-Core 4.0 GHz
Motherboard
GIGABYTE GA-Z97X-SLI LGA 1150
Memory
16.00 GB
Graphics Card(s)
NVIDIA GeForce GTX 950
Monitor(s) Displays
AOC 2050W
Screen Resolution
1920 x 1080
Hard Drives
ST1000DL002-9TT153 ATA Device
Seagate 2TB FireCuda Gaming SSHD (Solid State Hybrid Drive) - 7200 RPM SATA 6Gb/s 64MB Cache 3.5-Inch Hard Drive
Samsung 850 EVO - 250GB - 2.5-Inch SATA III Internal SSD
PSU
CORSAIR CX-M Series CX750M 750W ATX12V & EPS12V Semi-modular
Case
Lian Li PC-7H
Browser
Firefox
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom build
OS
Windows 7 Ultimate x64
CPU
Intel i5-6600K 3.50GHz
Motherboard
Asus Pro Z170 Gaming
Memory
Corsair DDR4 2x8GB
Graphics Card(s)
MSI GeForce GTX1070 Gaming X
Sound Card
On board Realtek
Monitor(s) Displays
Dell SP2309W
Screen Resolution
1920x1080
Hard Drives
OS Samsung 850 EVO 500GB SATA III SSD
2x Hitachi Deskstar 1GB SATA data drives
1x Western Digital Caviar Black 1TB SATA data drive
PSU
Corsair HX650W
Case
CoolerMaster CM 690 III
Cooling
Coolermaster Hyper 212 EVO 1x200mm 1x140mm 2x120mm case fan
Keyboard
Logitech usb keyboard
Mouse
Logitech G500 $27 bargain :)
Internet Speed
ADSL2
Antivirus
Microsoft Security Essential, MalwareBytes
Browser
SRWare Iron, Internet Explorer
Other Info
Very happy with this buid.
I struggled a lot to find all compatible parts since I wanted an Intel 1151 based motherboard so to be able to install Windows 7.
I chose this case because it has amazing air flow, it's sturdy and looks good.
The case included 1x 200mm front and 1x 120mm back fans, I added 1x 200mm on the top and 1x120 bottom fans and modded the panels with black stockings for women s
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 :cool:
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Various
OS
Win 7 Pro, SP1, x86, Win-11/Pro/64
CPU
AMD
Motherboard
Various
Memory
8GB Crucial
Graphics Card(s)
Various
Sound Card
OnBoard
Monitor(s) Displays
Acer 21.5"
Hard Drives
Crucial SSD, 500 GB
PSU
OEM
Case
SFF Slim Line Case
Cooling
OEM
Keyboard
eMachines
Mouse
Logitech Wireless
Internet Speed
varies
Antivirus
Windows Defender/Super Anti-Spyware
Browser
Firefox
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Pro 64 bit
CPU
Xeon W3520
Memory
8 GB
Graphics Card(s)
Nvidia Geforce 210
Back
Top