• @fourstepper@lemmy.ml
    link
    fedilink
    43 years ago

    Some of the commands mentioned could use something like a simple check for the amount of cores and use the result as a variable for the number if iterations in a for loop :)

    Cool article though

  • @Valso@lemmy.ml
    link
    fedilink
    3
    edit-2
    3 years ago

    It’s not hard, I’ve done it several times - especially when packing a large archive at maximum compression with p7zip (and the flags -mx --mmt=8; -mx means maximum compression level and mmt=8 means “use 8 threads”) - 30GB or larger. RAM goes 15-18 GB, the CPU goes at 100%. What’s interesing is that if I do the same in Windows, my PC will literally die and become useless whereas 100% CPU in Linux and I’m still able to use my PC normally as if I’m not doing anything. :D Which is why Linux is my main OS.