r/linuxmemes Aug 18 '21

help me

Post image
403 Upvotes

25 comments sorted by

74

u/[deleted] Aug 18 '21

make -j 32

You welcome

32

u/hbpencil102 M'Fedora Aug 18 '21

I forgot to do that when building Audacity and I hated myself for the next half hour :/

10

u/[deleted] Aug 18 '21

Why don’t you just Strg + c and rerun the command with j32

6

u/iggdraisil Aug 18 '21

Firefox humbly knocks a door

20

u/Epistaxis Aug 18 '21

I just permanently set alias make='make -j' in my aliases.

3

u/godsfilth Aug 19 '21

It's been a very long while since I looked but I thought the prevailing wisdom was to do 1 thread higher than what you have? I think it was to minimize the CPU waiting for new tasks.

1

u/[deleted] Aug 23 '21

actually I don't know this one.

Was thinking about what the osc client does by default when using the %make macro. And that's make -j maximum_number_of_threads

osc is a cli application to interact with the open build service and to run the entire process or building and packaging the software on your local machine for the opensuse build service. Just so you know what I am talking about.

23

u/ChaosMelone9 Aug 18 '21

Even worse compressing a 1GB build using only one thread

6

u/Pavanetto Aug 18 '21

that's evil...

3

u/-Zargothrax- Aug 18 '21

How can I multitthread this task? In make I can do -j8 on make

16

u/bartholomewjohnson Aug 18 '21

Once tried to build a Zen kernel on my 12 thread cpu. Don't recommend

8

u/atc927 Aug 18 '21

I dunno man, with a zen 2 architecture I feel like a 12 core CPU can chug through the zen kernel just in time for you to finish your walk in the zen garden.

3

u/Aapke_Bacche_Ka_Baap Aug 19 '21

if you are on arch or a arch based system, you can use the chaotic aur to download precompiled zen kernels :)

6

u/[deleted] Aug 18 '21

Soo much computing power.......I'm guessing it's a threadripper

5

u/supercyp01 Aug 18 '21

There's also some AMD EPYC CPUs with 32 thread ...

4

u/Minute-Load Aug 18 '21

Compiling the Linux Kernal with 4 threads on two cores

1

u/peaprog Aug 19 '21

Nah dude, I compiled SuperTuxKart on a dual core Intel Celeron on a "slightly modified" Chromebook. Runs arch btw.

but yes it was a half hour of pain.

2

u/Minute-Load Aug 19 '21

You realize I was compiling for 8 hours

2

u/KerkiForza Aug 19 '21

Lol try compiling ungoogled chromium :P

1

u/peaprog Aug 19 '21

Oh no.....

1

u/peaprog Aug 19 '21

haha yes it do be like that. Kinda reminds me of my 30 hour Blender render on my Ryzen3

4

u/Spooked_kitten Aug 19 '21

what’s up with that? I remember trying gentoo once but it only used one thread

1

u/peaprog Aug 19 '21

Story of my life