Re: compile speed
Am Sonntag, 15. Juni 2008 schrieb Lennart Sorensen:
> On Sun, Jun 15, 2008 at 02:01:18PM +0200, Hans-J. Ullrich wrote:
> > I would like to increase compiling speed of my system (AMD64, dual-core,
> > 2GB RAM).
> >
> > I suppose, there are some settings in /etc/apt/apt-build.conf, I can use
> > with gcc or make (such like NICE=something) or let it run more processes
> > at a time.
> >
> > Are there any experiences, somebody made at ? If yes, just let me know.
>
> if the makefiles are proper (that is they list all dependancies for each
> file correctly), then make -j 4 tends to work well for me (that is run 4
> things at once, which is 2 per core).
>
> --
> Len Sorensen
Hi Len,
yes, that is the point, I wanted to know. I suppose, higher than "-j 4" will
let the system make too slow.
Just another last: Are the entries in /etc/apt/apt-build.conf used by any(!)
compiler applications, which are debian based ? I am thinking especially of
commands like "make-kpkg", ncurses tools like "module-assistant" and dpkg
related things, which are executed during upgrading of packages.
Cheers
Hans
Reply to: