Jump to content

Enable LargeSystemCache or not?

LWM723
Go to solution Solved by GoodBytes,
7 hours ago, LWM723 said:

Should I enable LargeSystemCache on my PC, it's not a server?

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control \Session Manager\Memory Management subkey:
LargeSystemCache

You do whatever you want. Microsoft says its deprecated and does nothing;

https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-operatingsystem

 

If you wonder what it used to do back in XP/Server 2003 days:

https://docs.microsoft.com/en-us/windows/win32/memory/memory-limits-for-windows-releases

Quote
System cache virtual address space (physical size limited only by physical memory)

[For 32-bit] Limited by available kernel-mode virtual address space or the SystemCacheLimit registry key value.
[...]


Windows Home Server, Windows Server 2003 and Windows XP: 860 MB with LargeSystemCache registry key set and without 4GT; up to 448 MB with 4GT.

[For 64-bit] Always 1 TB regardless of physical RAM Windows 8.1 and Windows Server 2012 R2: 16 TB.


Windows Server 2003 and Windows XP: Up to 1 TB depending on configuration and RAM.

 

And here is the doc of the registry:

https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2003/cc784562(v=ws.10)

 

Quote

Specifies whether the system maintains a standard size or a large size file system cache, and influences how often the system writes changed pages to disk.

Increasing the size of the file system cache generally improves server performance, but it reduces the physical memory space available to applications and services. Similarly, writing system data less frequently minimizes use of the disk subsystem, but the changed pages occupy memory that might otherwise be used by applications.

Value Meaning

Establishes a standard size file-system cache of approximately 8 MB. The system allows changed pages to remain in physical memory until the number of available pages drops to approximately 1,000. This setting is recommended for servers running applications that do their own memory caching, such as Microsoft SQL Server, and for applications that perform best with ample memory, such as Internet Information Services (IIS).

 

1

Establishes a large system cache working set that can expand to physical memory, minus 4 MB, if needed. The system allows changed pages to remain in physical memory until the number of available pages drops to approximately 250. This setting is recommended for most computers running Windows Server 2003 on large networks.

 

I'll let you decide what to do... Trust Microsoft documentation or some shit site who couldn't be bother to read the doc, let alone test themselves. But the clicks! it get clicks! And that is all that matter. More than the actual effect it does to your system or if whatever they say is actually related to the topic, that is for sure. And, well, too late at this point you clicked on their link.

 

Should I enable LargeSystemCache on my PC, it's not a server?

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control \Session Manager\Memory Management subkey:
LargeSystemCache
Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, LWM723 said:

Should I enable LargeSystemCache on my PC, it's not a server?

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control \Session Manager\Memory Management subkey:
LargeSystemCache

Why do you think you should? Is there a reason you are considering doing it?

 

Best advice I can ever give anyone about reg edits... unless you have an actual reason to do them, don't do them.

Rig: i7 13700k - - Asus Z790-P Wifi - - RTX 4080 - - 4x16GB 6000MHz - - Samsung 990 Pro 2TB NVMe Boot + Main Programs - - Assorted SATA SSD's for Photo Work - - Corsair RM850x - - Sound BlasterX EA-5 - - Corsair XC8 JTC Edition - - Corsair GPU Full Cover GPU Block - - XT45 X-Flow 420 + UT60 280 rads - - EK XRES RGB PWM - - Fractal Define S2 - - Acer Predator X34 -- Logitech G502 - - Logitech G710+ - - Logitech Z5500 - - LTT Deskpad

 

Headphones/amp/dac: Schiit Lyr 3 - - Fostex TR-X00 - - Sennheiser HD 6xx

 

Homelab/ Media Server: Proxmox VE host - - 512 NVMe Samsung 980 RAID Z1 for VM's/Proxmox boot - - Xeon e5 2660 V4- - Supermicro X10SRF-i - - 128 GB ECC 2133 - - 10x4 TB WD Red RAID Z2 - - Corsair 750D - - Corsair RM650i - - Dell H310 6Gbps SAS HBA - - Intel RES2SC240 SAS Expander - - TreuNAS + many other VM’s

 

iPhone 14 Pro - 2018 MacBook Air

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, LWM723 said:

So you don't know anything about the LargeSystemCache?

The question was, do you? What exactly it does, the history of what its for and the benefit it will or will not give you.

Link to comment
Share on other sites

Link to post
Share on other sites

No

mY sYsTeM iS Not pErfoRmInG aS gOOd As I sAW oN yOuTuBe. WhA t IS a GoOd FaN CuRVe??!!? wHat aRe tEh GoOd OvERclok SeTTinGS FoR My CaRd??  HoW CaN I foRcE my GpU to uSe 1o0%? BuT WiLL i HaVE Bo0tllEnEcKs? RyZEN dOeS NoT peRfORm BetTer wItH HiGhER sPEED RaM!!dId i WiN teH SiLiCON LotTerrYyOu ShoUlD dEsHrOuD uR GPUmy SYstEm iS UNDerPerforMiNg iN WarzONEcan mY Pc Run WiNdOwS 11 ?woUld BaKInG MY GRaPHics card fIX it? MultimETeR TeSTiNG!! aMd'S GpU DrIvErS aRe as goOD aS NviDia's YOU SHoUlD oVERCloCk yOUR ramS To 5000C18

 

Link to comment
Share on other sites

Link to post
Share on other sites

7 hours ago, LWM723 said:

Should I enable LargeSystemCache on my PC, it's not a server?

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control \Session Manager\Memory Management subkey:
LargeSystemCache

You do whatever you want. Microsoft says its deprecated and does nothing;

https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-operatingsystem

 

If you wonder what it used to do back in XP/Server 2003 days:

https://docs.microsoft.com/en-us/windows/win32/memory/memory-limits-for-windows-releases

Quote
System cache virtual address space (physical size limited only by physical memory)

[For 32-bit] Limited by available kernel-mode virtual address space or the SystemCacheLimit registry key value.
[...]


Windows Home Server, Windows Server 2003 and Windows XP: 860 MB with LargeSystemCache registry key set and without 4GT; up to 448 MB with 4GT.

[For 64-bit] Always 1 TB regardless of physical RAM Windows 8.1 and Windows Server 2012 R2: 16 TB.


Windows Server 2003 and Windows XP: Up to 1 TB depending on configuration and RAM.

 

And here is the doc of the registry:

https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2003/cc784562(v=ws.10)

 

Quote

Specifies whether the system maintains a standard size or a large size file system cache, and influences how often the system writes changed pages to disk.

Increasing the size of the file system cache generally improves server performance, but it reduces the physical memory space available to applications and services. Similarly, writing system data less frequently minimizes use of the disk subsystem, but the changed pages occupy memory that might otherwise be used by applications.

Value Meaning

Establishes a standard size file-system cache of approximately 8 MB. The system allows changed pages to remain in physical memory until the number of available pages drops to approximately 1,000. This setting is recommended for servers running applications that do their own memory caching, such as Microsoft SQL Server, and for applications that perform best with ample memory, such as Internet Information Services (IIS).

 

1

Establishes a large system cache working set that can expand to physical memory, minus 4 MB, if needed. The system allows changed pages to remain in physical memory until the number of available pages drops to approximately 250. This setting is recommended for most computers running Windows Server 2003 on large networks.

 

I'll let you decide what to do... Trust Microsoft documentation or some shit site who couldn't be bother to read the doc, let alone test themselves. But the clicks! it get clicks! And that is all that matter. More than the actual effect it does to your system or if whatever they say is actually related to the topic, that is for sure. And, well, too late at this point you clicked on their link.

 

Link to comment
Share on other sites

Link to post
Share on other sites

@GoodBytes Thanks for the detailed explanation. I had no idea what it actually did. I'll just make sure it's disabled, if it's in the registry.
Link to comment
Share on other sites

Link to post
Share on other sites

  • 1 year later...

I always thought this was referring to the pagefile. Guess I was wrong

 

I wonder if having less virtual cache (ideally 0) prevents things from going into disk because the os got scared it was about to run out of memory, just because something made specifically to use all memory uses just in time purging or something?

 

(pretend im on xp for the sake of the question)

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×