Swap on systems with large RAM?
-
What do you set swap to when you have systems with a lot of RAM?
It seems ridiculous to have 128GB or 256GB of swap on the boot drive when you have 128GB RAM. Even more so when you have 1TB RAM or something like that. -
@pete-s said in Swap on systems with large RAM?:
What do you set swap to when you have systems with a lot of RAM?
It seems ridiculous to have 128GB or 256GB of swap on the boot drive when you have 128GB RAM. Even more so when you have 1TB RAM or something like that.Disable swap because nothing on hardware should need it?
-
I've been avoiding swap partitions with new installs for a while now. If you do end up needing swap you can always create a swapfile instead.
-
Oracle still requires a ridiculous amount of swap.
-
@stacksofplates said in Swap on systems with large RAM?:
Oracle still requires a ridiculous amount of swap.
Does Oracle purposely use swap even if there's enough physical RAM?
-
@black3dynamite said in Swap on systems with large RAM?:
@stacksofplates said in Swap on systems with large RAM?:
Oracle still requires a ridiculous amount of swap.
Does Oracle purposely use swap even if there's enough physical RAM?
I haven't personally set it up. Our guys said "it wouldn't run" without it. Whether that's true or not I have no idea.
-
Looks like a requirement.
-
In Windows Server:
In Elevated CMD:
wmic.exe computersystem where name="SERVERNAME" set AutomaticManagedPagefile=False
wmic.exe pagefileset where name="c:\\pagefile.sys" set InitialSize=8192,MaximumSize=8192
shutdown -r -t 0Then in an elevated PowerShell:
Set-ItemProperty –Path HKLM:\System\CurrentControlSet\Control\CrashControl –Name CrashDumpEnabled –value 1
Get-ItemProperty –Path HKLM:\System\CurrentControlSet\Control\CrashControl –Name CrashDumpEnabled
Set-ItemProperty –Path HKLM:\System\CurrentControlSet\Control\CrashControl –Name FilterPages –value 1
Get-ItemProperty –Path HKLM:\System\CurrentControlSet\Control\CrashControl –Name FilterPagesWe do the above on all servers we deploy since they all have a 128GB or 256GB at the most host OS drive and it's not uncommon to be deploying over a Terabyte of RAM.