On Friday 05 May 2006 13:17, Farhan Ahmed wrote: > > > > > > MAKEOPTS="" > > > > > > > > > > MAKEOPTS="-j2" > > > > > > > > -j1 is a good one for singlecore/single cpu computer, where the > > > > compiling is running in the background. > > > > > > No for singlecore/single cpu computer, -j2 is recommended.. Read > > > MAKEOPTS section in: > > > > really? with -j2 my box crawls when compiling, sometimes even oom. With > > -j1 I can use it, as if nothing happens and I don't get oom. Plus - it is > > not slower. > > I have read the sections, I suffered from -j2 and I stopped using it. All > > better now. > > Btw, since switching between tasks and threads is something CPUs really > > hate, I can't even imagine how increasing the amount of needed switches > > should help. > > Al least Gentoo Handbook is a official Gentoo project and they recommend > it.. :)
that is true, but still, for me it works a lot better, if I use -j1. The difference is: with -j2 box is slow. A lot of packages do not compile because of ooms. with -j1 box is normal. No ooms. Compiling does not take longer as with -j2. -- gentoo-user@gentoo.org mailing list