Linux Patches Allow Sharing PTEs Between Processes - Can Mean Significant RAM Savings

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • phoronix
    Administrator
    • Jan 2007
    • 67377

    Linux Patches Allow Sharing PTEs Between Processes - Can Mean Significant RAM Savings

    Phoronix: Linux Patches Allow Sharing PTEs Between Processes - Can Mean Significant RAM Savings

    A set of patches being worked on by Oracle engineers allow for optionally sharing page table entries (PTEs) between processes. For some workloads this can equate to very significant memory savings...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite
  • geerge
    Senior Member
    • Aug 2023
    • 362

    #2
    Potentially good for heavily skewed database stuff, maybe web servers with particularly hot pages? What would be a good benchmark to see this in action? Enables sharing on processes not threads which is already shared, how applicable is this to normal people?

    Comment

    • Jumbotron
      Senior Member
      • Jul 2015
      • 1266

      #3
      Originally posted by geerge View Post
      Potentially good for heavily skewed database stuff, maybe web servers with particularly hot pages? What would be a good benchmark to see this in action? Enables sharing on processes not threads which is already shared, how applicable is this to normal people?
      For most desktop users, probably means nothing. But every normal user eventually uses a service that is run on and / or taps into one of these giant servers / databases.

      Comment

      • cb88
        Senior Member
        • Jan 2009
        • 1347

        #4
        Originally posted by Jumbotron View Post

        For most desktop users, probably means nothing. But every normal user eventually uses a service that is run on and / or taps into one of these giant servers / databases.
        512GB is a pissant server these days. I mean the hardware can be had for under 2k even with recent CPUs.

        Comment

        • wtfrank
          Junior Member
          • Jan 2017
          • 3

          #5
          I would have thought people would be using huge pages once they were sharing hundreds of GB of memory...

          Comment

          • jochendemuth
            Phoronix Member
            • May 2020
            • 83

            #6
            Originally posted by geerge View Post
            Potentially good for heavily skewed database stuff, maybe web servers with particularly hot pages? What would be a good benchmark to see this in action? Enables sharing on processes not threads which is already shared, how applicable is this to normal people?
            Obviously, Oracle is solving and Oracle problem here. I wonder if this can help open-source dbms like PostgreSQL (which heavily uses shared memory) and/or MySQL (aehm, sorry MariaDB).

            Comment

            • rlkrlk
              Phoronix Member
              • Jun 2019
              • 52

              #7
              Originally posted by cb88 View Post

              512GB is a pissant server these days. I mean the hardware can be had for under 2k even with recent CPUs.
              Sure, but with a 4 TB server people will want a larger SGA (or multiple databases) and possibly even more clients.

              Comment

              • Daktyl198
                Senior Member
                • Jul 2013
                • 1584

                #8
                Originally posted by jochendemuth View Post

                Obviously, Oracle is solving and Oracle problem here. I wonder if this can help open-source dbms like PostgreSQL (which heavily uses shared memory) and/or MySQL (aehm, sorry MariaDB).
                Oh for sure. This is clearly aimed at a very specific issue with Oracle software, but I'm sure it'll help advanced homelab or small-medium business users as well. Basically any time multiple clients are connecting to multiple databases hosted on the same physical server, this is going to come in handy.

                Comment

                • dragorth
                  Senior Member
                  • Jan 2014
                  • 537

                  #9
                  Originally posted by geerge View Post
                  Potentially good for heavily skewed database stuff, maybe web servers with particularly hot pages? What would be a good benchmark to see this in action? Enables sharing on processes not threads which is already shared, how applicable is this to normal people?
                  I am guessing for someone like me with 200 tabs of web pages open, this may be helpful. I regularly use up 16 64GB or RAM with browsers.

                  Comment

                  • dundun
                    Junior Member
                    • Jan 2025
                    • 1

                    #10
                    Originally posted by dragorth View Post

                    I am guessing for someone like me with 200 tabs of web pages open, this may be helpful. I regularly use up 16 64GB or RAM with browsers.
                    You should try KSM

                    Comment

                    Working...
                    X