[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A clever make -j

From: Michael Menegakis
Subject: A clever make -j
Date: Fri, 6 Nov 2009 17:13:16 +0200

make -j "smart" can work like this:

- "See the number of new instances of gcc in 2 seconds"
- "Set that number as -j number dynamically every 4 seconds"

Better algorithms may be devised but this may be sufficient for a nice boost.

The reason for this is that regardless of cpu number, some programs
are simply made of very small files or others with very large files,
or computational needs may differ, making such algorithms potentially

reply via email to

[Prev in Thread] Current Thread [Next in Thread]