Clang AutoFDO + Propeller Optimization Support Merged For Linux 6.13

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

    Clang AutoFDO + Propeller Optimization Support Merged For Linux 6.13

    Phoronix: Clang AutoFDO + Propeller Optimization Support Merged For Linux 6.13

    Last night when writing about the Clang AutoFDO and Propeller optimization patches sent in for Linux 6.13 I had wondered whether Linus Torvalds would go through with the pull request given some of his past commentary around aggressive compiler optimizations... But to much delight, this evening Linus Torvalds has merged the Kbuild pull request that introduces Clang-based AutoFDO and Propeller compiler optimization support for allowing greater kernel performance out of tailored (profiled) workloads...

    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
  • Kjell
    Senior Member
    • Apr 2019
    • 645

    #2
    Excited to try this in Gentoo once a USE flag is added

    Comment

    • SofS
      Phoronix Member
      • Jan 2016
      • 88

      #3
      What is the tooling necessary for "collecting an accurate profile of the intended workloads"?

      Comment

      • ms178
        Senior Member
        • Sep 2018
        • 1704

        #4
        I hope there will be enthusiasts collecting and merging profiles and uploading these somewhere for other people to use. Or it will be very time consuming for each individual to enjoy these benefits if your distribution won't ship AutoFDO'ed Kernels.

        Comment

        • dev_null
          Phoronix Member
          • Apr 2020
          • 66

          #5
          Originally posted by Kjell View Post
          Excited to try this in Gentoo once a USE flag is added
          I tried it yesterday, I took the patch from CachyOS github and applied it to 6.12.1 kernel. The problem I found immediately is that perf didn't recognize BR_INST_RETIRED.NEAR_TAKEN event, nevertheless I have Intel Arrow Lake (Core Ultra 285K). The solution is to use pmu-tools and ocperf instead. The rest worked as per description in the kernel documentation https://docs.kernel.org/next/dev-tools/autofdo.html
          I tried only fdo, not propeller for the moment.

          Comment

          Working...
          X