Jump to content

Enable LargeSystemCache or not?

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.

 

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 +Contact Frame - - Asus Z790-P Wifi - - RTX 4080 - - 4x16GB 6000MHz - - Samsung 990 Pro 2TB NVMe Boot + Main Programs - - Crucial P3 2TB NVMe for photo work - - Corsair RM850x - - Sound BlasterX EA-5 - - Corsair XC8 JTC Edition - - Corsair GPU Full Cover GPU Block - - PTM 7950 - - XT45 X-Flow 420 + UT60 280 rads externally mounted - - EK XRES RGB PWM - - Fractal Define S2 - - DellAlienware AW3423DWF 34" -- Logitech Pro X Superlight - - Logitech G710+ - - LTT Northern Lights Deskpad

 

Headphones/amp/dac: Schiit Bifrost Multibit - -  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 - - 10x8TB WD Red RAID Z2 - - 2x 800 GB SAS SSD’s (1 SLOG, 1 L2Arc) - - 45 HomeLab HL15 15 Drive 4U - - Corsair RM650i - - LSI 9305-16i HBA - - TreuNAS + many other VM’s

 

Unifi UDM Pro in front of full unifi network infrastructure

 

iPhone 17 Pro - - MacBook Air M3

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.

Ryzen 7 7800x3D -  Asus RTX4090 TUF OC- Asrock X670E Taichi - 32GB DDR5-6000CL30 - SuperFlower 1000W - Fractal Torrent - Assassin IV - 42" LG C2 - Windows 11 Pro

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! jellYfIn Client siDE TRanscoDinG

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 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 post
Share on other sites

  • 1 year later...

Starting Windows 11 Pro, it is literally set to 2TB, i mean, only LTT can breakthrough this limitation, mainstream will hit 2GB-4GB boundaries, which were shifter calmly from Windows 10 Pro level to untouchable highest point, so you will never get anywhere close, literally.

https://learn.microsoft.com/en-us/windows/win32/memory/memory-limits-for-windows-releases#physical-memory-limits-windows-11

Link to post
Share on other sites

On 3/19/2022 at 6:17 AM, GoodBytes said:

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

 

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)

 

 

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.

 

Updated to 2TB in Windows 11 Pro, no longer an issue

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

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

×