0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · 9 个月前Gentoo users be likesh.itjust.worksimagemessage-square23fedilinkarrow-up1248arrow-down18
arrow-up1240arrow-down1imageGentoo users be likesh.itjust.works0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · 9 个月前message-square23fedilink
minus-squarehenfredemars@infosec.publinkfedilinkEnglisharrow-up34·9 个月前Why does this option without specifying a number of threads even exist? It might as well be footgun mode.
minus-squareseaQueue@lemmy.worldlinkfedilinkarrow-up22·9 个月前I’m pretty sure it’s “run as many threads as there are cores” mode, though if you’re running it in a terminal I always find it best to use nproc-1 or -2 so the machine actually stays usable.
minus-squarehenfredemars@infosec.publinkfedilinkEnglisharrow-up25·9 个月前My man pages specify it’s as many as possible limited only to the number of jobs.
minus-squareseaQueue@lemmy.worldlinkfedilinkarrow-up21·9 个月前Oof, that might as well be a fork bomb then
minus-squareArtyom@lemm.eelinkfedilinkarrow-up9arrow-down1·9 个月前I don’t think I’ve ever used -j without specifying as many cores as I have, so it sounds completely reasonable.
Why does this option without specifying a number of threads even exist? It might as well be footgun mode.
I’m pretty sure it’s “run as many threads as there are cores” mode, though if you’re running it in a terminal I always find it best to use nproc-1 or -2 so the machine actually stays usable.
My man pages specify it’s as many as possible limited only to the number of jobs.
Oof, that might as well be a fork bomb then
I don’t think I’ve ever used
-j
without specifying as many cores as I have, so it sounds completely reasonable.