Announcement

Collapse
No announcement yet.

Glibc Now Enables Tuning Framework By Default

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Glibc Now Enables Tuning Framework By Default

    Phoronix: Glibc Now Enables Tuning Framework By Default

    Since the end of last year Glibc has offered a tunables framework that could be exposed via the --enable-tunables switch at compile-time while now it's being enabled by default...

    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

  • #2
    I don't get the "framework" aspect of all this. I mean, every run time has it's switches and parameters, what's so special about this one?

    Comment


    • #3
      Originally posted by bug77 View Post
      I don't get the "framework" aspect of all this. I mean, every run time has it's switches and parameters, what's so special about this one?
      Not much, its just a hassle to have variables from different modules accessible from one place. if you dont want to maintain such an addtional global table by hand you need some buildtime and/or runtime helpers to collect them.

      Comment


      • #4
        As far as I understand it this feature can be useful in running broken programs with bad memory allocation.


        For example glibc.malloc.check can be set to:
        • 0 Ignore all errors. The default allocator continues to be in use, but all errors are silently ignored
        Some very old games released over 10 years ago in binary only format will never be fixed so having a workaround in glibc sounds useful.

        Comment


        • #5
          Originally posted by bug77 View Post
          I don't get the "framework" aspect of all this. I mean, every run time has it's switches and parameters, what's so special about this one?
          https://siddhesh.in/posts/the-story-of-tunables.html explains what glibc tunables are.

          Comment


          • #6
            Originally posted by jabl View Post

            https://siddhesh.in/posts/the-story-of-tunables.html explains what glibc tunables are.
            So basically it's taking all handling of environment variables and putting it in one place. A config. A cleanup task.

            Comment


            • #7
              I am shocked--shocked, I say!--to learn that this new misfeature somehow ended up being at the core of a major privilege escalation vulnerability in glibc. See the recent "Looney Tunables" exploit, mitigation of which requires major patching of glibc. Who could have possibly seen that coming? Fuck the GNU project, fuck glibc, and double fuck Ulrich Drepper and his butt buddy Linux Puttering.

              Comment

              Working...
              X