1hr+ for a general update* (following the guide. Pre-kernel)

On a more serious note, gentoo is fun… On competent hardware. This is a 4 core Celeron N2940 with 4gb of RAM.

*emerge --ask --verbose --update --deep --changed-use @world is too long to type…

  • HailHydra@infosec.pub
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    3 hours ago

    When trying to run gentoo, if you’re emerging with fewer than a few dozen cores (either in a single machine with something like a threadripper, or in a cluster with distcc), then I highly recommend using the binary versions of certain packages. This can be done either with -bin versions of packages, or something like the Gentoo Binary Host Project.

    Packages that particularly benifit from using binary versions would primarily web browser or web browser adjacent packages such as Firefox, Chrome, QTWebEngine, but really any particularly large compile that doesn’t benifit from compiling locally (eg: not that many use flags, not likely to use any additional CPU features you might have such as avx512). In fact, bin versions of Web browsers often will perform much better than locally compiled versions since they are compiled with additional optimisations that either make the compile time even longer (O3 and LTO), or require additional manual steps (such as PGO where the unoptomised browser is compiled and ran through real-world workloads with a profiler attached to identify code hotpaths so the compiler can optimise more efficiently during a second complete compile run).

    • MidsizedSedan@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      3 hours ago

      All I have emerged was vim (because nano hurts my muscle memory) and fastfetch (because style points). That took 20 minutes+, but I just hoped its because i didnt select closer mirrors then.

      Oh yeah. OpenRC, Desktop profile, multilib, so whatever packages included in there.

      If i remember, use flags were : -kde, -gnome, -systemd, wifi… Not TOO crazy

      • HailHydra@infosec.pub
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        2 hours ago

        If you’re doing an @world emerge, then you’ll be recompiling all installed packages with updates, including dependencies.

        One of the heavier packages that’s included in almost every desktop profile as a dependency somewhere is dev-qt/qtcore (full list of packages in the standard desktop profile here, though each package listed here will have its own dependencies which may have their own dependencies, etc. So it is not an exhaustive list), qtcore also appears to be what was compiling when the photo in your post was taken so is likely the primary cause of that specific long build time.