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

Re: Memory vs CPU requirements



> > Now, I would like to change the build system such that the .cc files are
> > concatenated and only about 10 object files are built. On my current
> > system, this halves the build time. The problem is that memory
> > requirements go through the roof (I think you need more than 500 MB
> > Ram).
> >
> > So, the question is simple: would this change help you or actually make
> > things worse for smaller buildds?
>
> IMHO it will make things worse. Time is infinite, RAM is finite (it can be
> traded off by swap, i.e. time again, though).

With the speed of swap lower by several orders of magnitude, this is not a
tradeoff we want to make.

Max. RAM on the fastest m68k is 512 MB (unless someone has found 1GB SIMMs
lately). You do the math.

> BTW, can't you speed up builds on machines with lots of memory by using
> `make -j N'?

Should work if the make system isn't too weird.

	Michael




Reply to: