|
|
Subscribe / Log in / New account

Interactive versus batch processes

Interactive versus batch processes

Posted Dec 10, 2010 14:51 UTC (Fri) by nix (subscriber, #2304)
In reply to: Interactive versus batch processes by walters
Parent article: Group scheduling and alternatives

-j 64 seems likely to slow your compiles down due to cache thrashing and/or simple swapping. -j (num of cores + a few) is generally recommended.


to post comments

Interactive versus batch processes

Posted Dec 10, 2010 15:18 UTC (Fri) by walters (subscriber, #7396) [Link]

Right; actually, what I use is a little build tool "metabuild" here:

http://fedorapeople.org/gitweb?p=walters/public_git/homeg...

I picked a high number to emphasize the point basically, but yes, one needs to pick a good -j value.

make -j level

Posted Dec 10, 2010 20:59 UTC (Fri) by giraffedata (guest, #1954) [Link]

And if you have an exceptionally slow filesystem, also multiply by the expansion factor (single thread total time / CPU time). One one system I use, with a single CPU, I found -j6 gave minimum elapsed time.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds