strfry icon indicating copy to clipboard operation
strfry copied to clipboard

make -j4 vis make -j2

Open hashratez opened this issue 2 years ago • 3 comments

I have no idea if this is important...

On the home page of the project (https://github.com/hoytech/strfry) the instructions say to "make -j4"

On the deployment page (https://github.com/hoytech/strfry/blob/master/docs/DEPLOYMENT.md) it says "make -j2"

Since 4 is more than 2, I used 4 -- LOL.

Just a small typo in the setup instructions...

hashratez avatar Apr 23 '23 15:04 hashratez

Hi! Thanks for letting us know.

The parameter is the maximum number of concurrent processes to use when compiling. In most cases it shouldn't actually make a difference which value you use, except that higher numbers might go faster if you have many CPUs. In examples I usually put a smaller number so that people don't accidentally run out of memory or peg their CPUs.

You can actually just use -j by itself (no number) and it will use an unlimited number.

hoytech avatar Apr 24 '23 20:04 hoytech

As people do run out of memory #41 it might be good to run with just one process by default and hint at -j as a way to speed things up?

Giszmo avatar Jun 04 '23 05:06 Giszmo

Hehe yes, that's not a bad idea!

hoytech avatar Jun 10 '23 05:06 hoytech