Fresh Take On Linux Uncached Buffered I/O "RWF_UNCACHED" Nets 65~75% Improvement

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

    Fresh Take On Linux Uncached Buffered I/O "RWF_UNCACHED" Nets 65~75% Improvement

    Phoronix: Fresh Take On Linux Uncached Buffered I/O "RWF_UNCACHED" Nets 65~75% Improvement

    Linux I/O expert and block/IO_uring maintainer Jens Axboe of Meta has recently revisited his patches around uncached buffered I/O. Back in 2019 the "RWF_UNCACHED" effort was started by Axboe to address a throughput cliff in performance once the page cache fills up. That work faded away but Axboe recently took to crafting a set of fresh patches for implementing uncached buffered I/O and they are showing extremely promising results...

    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
  • Danny3
    Senior Member
    • Apr 2012
    • 2311

    #2
    xhustler
    You had to mention Axboe!
    Phoronix: Linus Torvalds Lands A 2.6% Performance Improvement With Minor Linux Kernel Patch Linus Torvalds merged a patch on Wednesday that he authored that with reworking a few lines of code is able to score a 2.6% improvement within Intel's well-exercise "will it scale" per-thread-ops benchmark test case...

    Comment

    • jeisom
      Senior Member
      • Mar 2013
      • 265

      #3
      158GB/s! I am curious about his drive setup for that. Need at least 12 PCIe5x4s nvme drives for that and saturated, unless ram disks.

      Comment

      • F.Ultra
        Senior Member
        • Feb 2010
        • 2030

        #4
        Originally posted by jeisom View Post
        158GB/s! I am curious about his drive setup for that. Need at least 12 PCIe5x4s nvme drives for that and saturated, unless ram disks.
        He wrote that it was 32 drives

        Comment

        • enigmaxg2
          Junior Member
          • Mar 2019
          • 33

          #5
          Originally posted by F.Ultra View Post

          He wrote that it was 32 drives
          So, probably marginal and negligible gains for the average user.

          Comment

          • F.Ultra
            Senior Member
            • Feb 2010
            • 2030

            #6
            Originally posted by enigmaxg2 View Post

            So, probably marginal and negligible gains for the average user.
            this is just to show how well it scales. Being hit by the problems he is trying to solve is possible on a single drive.

            Comment

            • Soul_keeper
              Senior Member
              • Aug 2011
              • 265

              #7
              It would be interesting to see a phoronix benchmark comparison with these patches.

              Comment

              • erniv2
                Senior Member
                • Apr 2022
                • 266

                #8
                Originally posted by enigmaxg2 View Post

                So, probably marginal and negligible gains for the average user.
                This is work for Hyperscalers like Meta, where they have hundredes over hundrededs of harddrives and ssds in crasy raid setups, and if 15 lines of code can improve your read troughput by about 65% you will be crowned employee of the month and can go on vacation ....

                And yes it will benifit the average user it will probably be in the range from 3-5% improvement but it helps.

                In days where your average user has ssd that can give you 500 mbits even if you use a sata ssd you will see an increase of 25 mbits as conservative estimation, not to mention nvmes that run with 3gbits or pcie4 that run at 5 gbits, at 5gbits it already means a gain of 250mbits ~~.

                Ah thats a general asumption ofc you cant exeed the bus speeds sata 600mbit pci3x4 4gbits pcix4x4 8gbits.
                Last edited by erniv2; 06 November 2024, 11:50 PM.

                Comment

                • User29
                  Senior Member
                  • Dec 2023
                  • 241

                  #9
                  Originally posted by enigmaxg2 View Post

                  So, probably marginal and negligible gains for the average user.
                  You mean desktop user? Probably yes.
                  But if you are a customer using some services, you'd be happy to see it's speed boosted up.

                  Comment

                  • ptrwis
                    Junior Member
                    • Mar 2015
                    • 45

                    #10
                    I can imagine Postgres as the first client for it

                    Comment

                    Working...
                    X