this post was submitted on 19 May 2024
240 points (96.9% liked)

linuxmemes

20771 readers
1910 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 34 points 4 months ago (2 children)

Why does this option without specifying a number of threads even exist? It might as well be footgun mode.

[–] [email protected] 22 points 4 months ago (1 children)

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.

[–] [email protected] 25 points 4 months ago (1 children)

My man pages specify it’s as many as possible limited only to the number of jobs.

[–] [email protected] 21 points 4 months ago

Oof, that might as well be a fork bomb then

[–] [email protected] 8 points 4 months ago

I don't think I've ever used -j without specifying as many cores as I have, so it sounds completely reasonable.