Announcement

Collapse
No announcement yet.

Google Posts Patches So The Linux Kernel Can Be LTO-Optimized By Clang

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

  • FPScholten
    replied
    Yes, but there is an actual and measurable performance and efficiency effect using the matching architecture for your processor. LTO might help even more but unfortunately does not build.

    Leave a comment:


  • CochainComplex
    replied
    Originally posted by FPScholten View Post

    No, I have a Haswell based system so I optimise my kernels for that.
    I have seen LTO builds break more easily with march other then generic.

    Leave a comment:


  • freedonuts
    replied
    Originally posted by oleid View Post
    Execution speed is usually not really improving with lto, but size reduction is often measurable.
    Wouldn't that size reduction possibly imply less cache misses and thus greater performance?

    Leave a comment:


  • FPScholten
    replied
    Originally posted by CochainComplex View Post
    Yes LTO or even PGO with the Kernel is seriously not so easy. DId you use march=generic in config?
    No, I have a Haswell based system so I optimise my kernels for that.

    Leave a comment:


  • Hans Bull
    replied
    Originally posted by oleid View Post
    Execution speed is usually not really improving with lto, but size reduction is often measurable.
    Reducing kernel obesity would be more than welcome.

    Leave a comment:


  • Aryma
    replied
    i have a dream to see linux without GNU

    Leave a comment:


  • CochainComplex
    replied
    Yes LTO or even PGO with the Kernel is seriously not so easy. DId you use march=generic in config?

    Leave a comment:


  • FPScholten
    replied
    Originally posted by CochainComplex View Post
    imagine a ltoed xanmod
    Last time I tried this, building failed... (with GCC10)
    This is the case with more software, for example ffmpeg also fails to build with lto enabled

    Leave a comment:


  • carewolf
    replied
    Gonna wait that out. Expect data losses.

    Leave a comment:


  • caligula
    replied
    Originally posted by oleid View Post
    Execution speed is usually not really improving with lto, but size reduction is often measurable.
    IIRC, LTO also detects some type signature changes across modules.

    Leave a comment:

Working...
X