My computer is slow at compiling, esp. LLVM. If I were to buy a new computer, what components would I focus on to improve this?

  • TehPers@beehaw.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    12 hours ago

    Very few things need 64GB memory to compile, but some do. If you think you’ll be compiling web browsers or clang or something, then 64GB would be the right call.

    Also, higher speeds of DDR5 can be unstable at higher capacities. If you’re going with 64GB or more of DDR5, I’d stick to speeds around 6000 (or less) and not focus too much on overclocking it. If you get a kit of 2x32GB (which you should rather than getting the sticks independently), then you’ll be fine. You won’t benefit as much from RAM speed anyway as opposed to capacity.

      • TehPers@beehaw.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        9 hours ago

        It’s less of an issue now, but there were stability issues in the early days of DDR5. Memory instability can lead to a number of issues including being unable to boot the PC (failing to post), the PC crashing suddenly during use, applications crashing or behaving strangely, etc. Usually it’s a sign of memory going bad, but for DDR5 since it’s still relatively young it can also be a sign that the memory is just too fast.

        Always check and verify that the RAM manufacturer has validated their RAM against your CPU.

      • sip@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        48 minutes ago

        2x32 is good and fairly cheap. get a mobo with 4 slots and you can add another 2x32 if needed.

      • TehPers@beehaw.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 hours ago

        DDR5-6000/CL28 should be fine. Make sure to enable the XMP/EXPO profile in your BIOS after installing it.

        You can follow hardware reviewers like GamersNexus, LTT, HardwareUnboxed, etc if you want to stay up to date (which is what I do), or look at their content if you just want a review for a product you’re looking at.