Announcement

Collapse
No announcement yet.

Linux 6.8 To Drop SLAB While Delivering A SLUB Optimization: 34% Micro-Benchmark Win

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

  • Linux 6.8 To Drop SLAB While Delivering A SLUB Optimization: 34% Micro-Benchmark Win

    Phoronix: Linux 6.8 To Drop SLAB While Delivering A SLUB Optimization: 34% Micro-Benchmark Win

    Ahead of the Linux 6.7 stable kernel release expected on Sunday, some early pull requests have already begun trickling in for the Linux 6.8 merge window to follow. The SLAB updates were sent to Linus Torvalds on Friday in preparing for this next kernel cycle...

    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
    Micro optimizations are awesome.

    It makes me wonder though, does Windows ever recieve such tweaks given its closed source?

    From my experience, package- and kernel updates in the Linux ecosystem usually improve my system and it'a noticeable, unlike Windows where it gets slower or breaks.
    Last edited by Kjell; 05 January 2024, 08:21 AM.

    Comment


    • #3
      phoronix s/Linux 6.8 is dropping SLUB/Linux 6.8 is dropping SLAB/

      Comment


      • #4
        fun names, SLUB SLAB and SLOB. I have no idea what this is though. But fun names still.

        Comment


        • #5
          Originally posted by rabcor View Post
          fun names, SLUB SLAB and SLOB. I have no idea what this is though. But fun names still.
          Makes you wonder whether SLEB and SLIB are already deprecated or just upcoming.

          Comment


          • #6
            Originally posted by bug77 View Post

            Makes you wonder whether SLEB and SLIB are already deprecated or just upcoming.
            They're deprecated in favor of SLYB.

            Comment


            • #7
              Originally posted by jacob View Post

              They're deprecated in favor of SLYB.
              Only sometimes. And don't forget the other sometime, SLWB.

              Comment


              • #8
                Originally posted by rabcor View Post
                fun names, SLUB SLAB and SLOB. I have no idea what this is though. But fun names still.
                SLAB=slab (no idea why it started to be capitalized, original (?) allocator), SLOB=simple list of blocks (a bit like common userspace allocators, already removed), SLUB=unqueued slab (a simplification of slab).

                Comment


                • #9
                  I am far from any expert on this and take this with a grain of salt but as far as I know the various allocators works something like this in case someone is interested.

                  SLOB (simple list of blocks):
                  A linked list of free memory locations.
                  scans the list for a suitable sized memory location and allocates that for the program requesting it.

                  SLAB (sequential linked allocation buffer):
                  ​​​​​Preallocate big slices (slabs) of memory. Returns part of a suitable sized slab to the program requesting it.

                  SLUB (unqueed SLAB):
                  maintains several linked lists of variously sized memory slabs. e.g. makes it easy to find a suitable sized slab

                  Its A shame that there is no SLUT allocator.... (Uuuuh... Huh.. huh... ) Because that would be a breath of fresh air and easier to remember than all these slab/slob/slub variants I think 😉



                  ​​​


                  http://www.dirtcellar.net

                  Comment


                  • #10
                    Originally posted by waxhead View Post
                    Its A shame that there is no SLUT allocator...​​
                    Yeah, bc that will give exactly the results you want when trying to search for info..

                    Comment

                    Working...
                    X