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

    Unsolved pagefile size on Windows Server with dynamic RAM?

    IT Discussion
    6
    35
    6.2k
    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.
    • DustinB3403D
      DustinB3403
      last edited by

      What server OS and services is this server running?

      1 Reply Last reply Reply Quote 1
      • DustinB3403D
        DustinB3403
        last edited by

        Also I assume this is a 64-bit server OS, once we know what this server runs and what the other settings are (like crash dump file size) then a recommendation can be made.

        1 Reply Last reply Reply Quote 0
        • DustinB3403D
          DustinB3403
          last edited by

          About halfway down this page is a table of the minimum and maximum settings up to Server 2012 r2

          1 Reply Last reply Reply Quote 1
          • Mike DavisM
            Mike Davis
            last edited by

            It's running Server 2012 R2 64bit. It's a RDS server that starts at 6GB RAM and can go to 80GB.

            According to that chart, I'd be looking at a 240GB pagefile.

            Maybe I don't need crash dumps until the day the thing starts crashing and I need to figure out why... thoughts?

            DustinB3403D 2 Replies Last reply Reply Quote 0
            • DustinB3403D
              DustinB3403 @Mike Davis
              last edited by

              @Mike-Davis said in pagefile size on Windows Server with dynamic RAM?:

              It's running Server 2012 R2 64bit. It's a RDS server that starts at 6GB RAM and can go to 80GB.

              According to that chart, I'd be looking at a 240GB pagefile.

              Maybe I don't need crash dumps until the day the thing starts crashing and I need to figure out why... thoughts?

              The 240GB is assuming you want to have the maximum size. I certainly wouldn't start there. Why not start with something way smaller, like 6GB?

              1 Reply Last reply Reply Quote 1
              • DustinB3403D
                DustinB3403
                last edited by

                Also your crash dump settings need to be determined, what are those configured for?

                1 Reply Last reply Reply Quote 2
                • DustinB3403D
                  DustinB3403
                  last edited by

                  If this system is currently configured for a Small memory Dump, there is no reason to provide 240GB of space for the dump, as it wouldn't be filled.

                  If however you have this system configured for a full memory dump (and it can scale up to 80GB) then you'd want to provide up to triple the storage space for the crash logs.

                  Of course, we need to know what the dump settings are.

                  1 Reply Last reply Reply Quote 2
                  • IRJI
                    IRJ
                    last edited by

                    @Mike-Davis Check this article out.

                    https://blogs.technet.microsoft.com/mghazai/2011/05/26/whats-the-story-of-pagefile-size-on-hyper-v-servers/

                    Mike DavisM 1 Reply Last reply Reply Quote 1
                    • Mike DavisM
                      Mike Davis
                      last edited by

                      The system is set to "Automatic memory dump".

                      From that article:
                      The Automatic memory dump setting at first selects a small paging file size, would accommodate the kernel memory most of the time. If the system crashes again within four weeks, the Automatic memory dump feature selects the page file size as either the RAM size or 32 GB, whichever is smaller.

                      So I guess I can set it to 6GB or something and then up it if it ever crashes. Thanks for the pointers.

                      DustinB3403D 1 Reply Last reply Reply Quote 0
                      • DustinB3403D
                        DustinB3403 @Mike Davis
                        last edited by

                        @Mike-Davis said in pagefile size on Windows Server with dynamic RAM?:

                        Maybe I don't need crash dumps until the day the thing starts crashing and I need to figure out why... thoughts?

                        Also if you disable the dumps, you'd have nothing to investigate with ;-). So don't go turning them off...

                        1 Reply Last reply Reply Quote 1
                        • DustinB3403D
                          DustinB3403 @Mike Davis
                          last edited by DustinB3403

                          @Mike-Davis said in pagefile size on Windows Server with dynamic RAM?:

                          The system is set to "Automatic memory dump".

                          From that article:
                          The Automatic memory dump setting at first selects a small paging file size, would accommodate the kernel memory most of the time. If the system crashes again within four weeks, the Automatic memory dump feature selects the page file size as either the RAM size or 32 GB, whichever is smaller.

                          So I guess I can set it to 6GB or something and then up it if it ever crashes. Thanks for the pointers.

                          You're welcome.

                          1 Reply Last reply Reply Quote 0
                          • Mike DavisM
                            Mike Davis @IRJ
                            last edited by

                            @IRJ said in pagefile size on Windows Server with dynamic RAM?:

                            @Mike-Davis Check this article out.

                            https://blogs.technet.microsoft.com/mghazai/2011/05/26/whats-the-story-of-pagefile-size-on-hyper-v-servers/

                            Thanks. That was helpful as well.

                            IRJI 1 Reply Last reply Reply Quote 0
                            • IRJI
                              IRJ @Mike Davis
                              last edited by

                              @Mike-Davis said in pagefile size on Windows Server with dynamic RAM?:

                              @IRJ said in pagefile size on Windows Server with dynamic RAM?:

                              @Mike-Davis Check this article out.

                              https://blogs.technet.microsoft.com/mghazai/2011/05/26/whats-the-story-of-pagefile-size-on-hyper-v-servers/

                              Thanks. That was helpful as well.

                              Basically you don't need a paging file.

                              DustinB3403D 1 Reply Last reply Reply Quote 0
                              • DustinB3403D
                                DustinB3403 @IRJ
                                last edited by DustinB3403

                                @IRJ said in pagefile size on Windows Server with dynamic RAM?:

                                @Mike-Davis said in pagefile size on Windows Server with dynamic RAM?:

                                @IRJ said in pagefile size on Windows Server with dynamic RAM?:

                                @Mike-Davis Check this article out.

                                https://blogs.technet.microsoft.com/mghazai/2011/05/26/whats-the-story-of-pagefile-size-on-hyper-v-servers/

                                Thanks. That was helpful as well.

                                Basically you don't need a paging file.

                                That is not at all what the article says...

                                Minimum PF should be large enough to cover the memory demands of your largest process. In the case of application allocating 50 MB of memory, the allocations request will fail with out of virtual memory error. When application allocates 10 MB chunks, the first two allocations will go through while the rest will fail as there’s no virtual memory (either RAM or PF) to accommodate that.

                                Which is the same as saying scale appropriately, don't do something insane like committing 240GB to the PF (off the bat)

                                IRJI 1 Reply Last reply Reply Quote 0
                                • IRJI
                                  IRJ @DustinB3403
                                  last edited by

                                  @DustinB3403 said in pagefile size on Windows Server with dynamic RAM?:

                                  @IRJ said in pagefile size on Windows Server with dynamic RAM?:

                                  @Mike-Davis said in pagefile size on Windows Server with dynamic RAM?:

                                  @IRJ said in pagefile size on Windows Server with dynamic RAM?:

                                  @Mike-Davis Check this article out.

                                  https://blogs.technet.microsoft.com/mghazai/2011/05/26/whats-the-story-of-pagefile-size-on-hyper-v-servers/

                                  Thanks. That was helpful as well.

                                  Basically you don't need a paging file.

                                  That is not at all what the article says...

                                  Minimum PF should be large enough to cover the memory demands of your largest process. In the case of application allocating 50 MB of memory, the allocations request will fail with out of virtual memory error. When application allocates 10 MB chunks, the first two allocations will go through while the rest will fail as there’s no virtual memory (either RAM or PF) to accommodate that.

                                  Which is the same as saying scale appropriately, don't do something insane like committing 240GB to the PF (off the bat)

                                  With a properly configured host reserve, if you follow (Peak Commit Charge – Physical Memory + some buffer) formula on the host, you’ll find out that you don’t need a page file.

                                  DustinB3403D 1 Reply Last reply Reply Quote 1
                                  • DustinB3403D
                                    DustinB3403 @IRJ
                                    last edited by

                                    @IRJ said in pagefile size on Windows Server with dynamic RAM?:

                                    @DustinB3403 said in pagefile size on Windows Server with dynamic RAM?:

                                    @IRJ said in pagefile size on Windows Server with dynamic RAM?:

                                    @Mike-Davis said in pagefile size on Windows Server with dynamic RAM?:

                                    @IRJ said in pagefile size on Windows Server with dynamic RAM?:

                                    @Mike-Davis Check this article out.

                                    https://blogs.technet.microsoft.com/mghazai/2011/05/26/whats-the-story-of-pagefile-size-on-hyper-v-servers/

                                    Thanks. That was helpful as well.

                                    Basically you don't need a paging file.

                                    That is not at all what the article says...

                                    Minimum PF should be large enough to cover the memory demands of your largest process. In the case of application allocating 50 MB of memory, the allocations request will fail with out of virtual memory error. When application allocates 10 MB chunks, the first two allocations will go through while the rest will fail as there’s no virtual memory (either RAM or PF) to accommodate that.

                                    Which is the same as saying scale appropriately, don't do something insane like committing 240GB to the PF (off the bat)

                                    With a properly configured host reserve, if you follow (Peak Commit Charge – Physical Memory + some buffer) formula on the host, you’ll find out that you don’t need a page file.

                                    No that is page filing for the Host, not for the VM's.

                                    1 Reply Last reply Reply Quote 0
                                    • DustinB3403D
                                      DustinB3403
                                      last edited by

                                      Think of it like this, separation of the hypervisor and VM's means a VM should never effect the host in terms of a VM crash. It's why separation is critical between the two, among the other issues.

                                      This is purely at the VM level that needs to be targeted first. Then the Host must have it's own PF settings configured for the host. In case it crashes.

                                      1 Reply Last reply Reply Quote 0
                                      • DashrenderD
                                        Dashrender
                                        last edited by

                                        OK I'm totally new to dynamic RAM assignment.

                                        @Mike-Davis what do you gain by using Dymanic RAM assignment in this case, unless you're overallocating on the server? You mention that your RDS server can spike to 80 GB of RAM, do you find that the loss in performance when running less than that is worth using dymanic RAM (i.e. when you have to much RAM that's not in use on a VM, you can have performance issues on that VM).

                                        This is an educational question for me.

                                        DustinB3403D 1 Reply Last reply Reply Quote 0
                                        • DustinB3403D
                                          DustinB3403 @Dashrender
                                          last edited by

                                          @Dashrender said in pagefile size on Windows Server with dynamic RAM?:

                                          OK I'm totally new to dynamic RAM assignment.

                                          @Mike-Davis what do you gain by using Dymanic RAM assignment in this case, unless you're overallocating on the server? You mention that your RDS server can spike to 80 GB of RAM, do you find that the loss in performance when running less than that is worth using dymanic RAM (i.e. when you have to much RAM that's not in use on a VM, you can have performance issues on that VM).

                                          This is an educational question for me.

                                          The point of the Dynamic RAM allocation is because he'll have peaks and valleys of users using the RDS system. Keeping the memory as static on any host is almost wasteful as other hosts could likely use the memory as well when they have to process reports or whatever else.

                                          1 Reply Last reply Reply Quote 1
                                          • Mike DavisM
                                            Mike Davis
                                            last edited by Mike Davis

                                            @Dashrender said in pagefile size on Windows Server with dynamic RAM?:

                                            OK I'm totally new to dynamic RAM assignment.

                                            @Mike-Davis what do you gain by using Dymanic RAM assignment in this case, unless you're overallocating on the server? You mention that your RDS server can spike to 80 GB of RAM, do you find that the loss in performance when running less than that is worth using dymanic RAM (i.e. when you have to much RAM that's not in use on a VM, you can have performance issues on that VM).

                                            This is an educational question for me.

                                            @Dashrender That's a good question. Basically I have two RDS servers. A primary and then one that can be put in to service by just setting the IP address. The host doesn't have enough RAM for me to allocate them both the most RAM they would ever use, but by assigning dynamic RAM to them both, they can both be online and I can keep them patched up to date, etc. It was the fastest way I could think of to be able to put the second RDS server in to service should the primary one have an issue.

                                            I'm open to suggestions if anyone has any other ideas.

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