• ctr1@fl0w.cc
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    1 year ago

    With a decent CPU the kernel compiles pretty fast. I’m using a default configuration with modules disabled (compiled in) and various settings enabled/optimized for my hardware, and this is what I get:

    make -j24
    
    real 2m16.357s
    user 38m36.133s
    sys  4m26.449s
    
    • Last@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      1 year ago

      Try it with ‘make clean’ first ;)

      Edit: but backup your .config file, because it will be deleted

      • ctr1@fl0w.cc
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 year ago

        Yep that was after make clean :). Running a 12-core Ryzen 9 that’s a few years old and 64GB RAM; using 24 threads does speed it up quite a lot.

        Edit: to be sure, I completely removed the source directory and re-emerged gentoo-sources and got similar results