ML
    • Register
    • Login
    • Search
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups

    Swap on systems with large RAM?

    IT Discussion
    5
    8
    427
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Pete.S
      Pete.S last edited by

      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.

      JaredBusch 1 Reply Last reply Reply Quote 0
      • JaredBusch
        JaredBusch @Pete.S last edited by

        @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?

        1 Reply Last reply Reply Quote 2
        • black3dynamite
          black3dynamite last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • stacksofplates
            stacksofplates last edited by

            Oracle still requires a ridiculous amount of swap.

            black3dynamite 1 Reply Last reply Reply Quote 0
            • black3dynamite
              black3dynamite @stacksofplates last edited by

              @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?

              stacksofplates 1 Reply Last reply Reply Quote 0
              • stacksofplates
                stacksofplates @black3dynamite last edited by

                @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.

                1 Reply Last reply Reply Quote 0
                • stacksofplates
                  stacksofplates last edited by

                  Looks like a requirement.

                  0_1531524474273_swap.png

                  1 Reply Last reply Reply Quote 1
                  • PhlipElder
                    PhlipElder last edited by PhlipElder

                    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 0

                    Then 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 FilterPages

                    From https://blogs.msdn.microsoft.com/clustering/2015/05/18/windows-server-2016-failover-cluster-troubleshooting-enhancements-active-dump/

                    We 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.

                    1 Reply Last reply Reply Quote 2
                    • First post
                      Last post