• Max-P@lemmy.max-p.me
    link
    fedilink
    arrow-up
    6
    ·
    4 months ago

    I think it can also get weird when you call other makefiles, like if you go make -j64 at the top level and that thing goes on to call make on subprojects, that can be a looooot of threads of that -j gets passed down. So even on that 64 core machine, now you have possibly 4096 jobs going, and it surfaces bugs that might not have been a problem when we had 2-4 cores (oh no, make is running 16 jobs at once, the horror).

    • 0x4E4FOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 months ago

      There could also be other problems, like not being able to assign jobs correctly with that many threads. I’ve encountered this when assigning more jobs than there are threads on the rig. A lot more, like 2x, 4x the threads available.