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

    http://www.phoronix.com/scan.php?pag...nable-tunables

  • #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.

        https://www.gnu.org/software/libc/ma...-Tunables.html
        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

            Working...
            X