Tuning make.conf

2008-03-13 Thread Luca Presotto
Hi everyone! I was starting to think to recompile everything for my pc to speed up everything. I started googling and I found almost nothing about how to change make.conf on bsd. Almost everything was about Gentoo, somehow not unsurprisingly. The first thing I noticed is that for linux

Re: Tuning make.conf

2008-03-13 Thread Julius Huang
On Mar 13, 2008, at 17:32 , Luca Presotto wrote: Hi everyone! I was starting to think to recompile everything for my pc to speed up everything. I started googling and I found almost nothing about how to change make.conf on bsd. Almost everything was about Gentoo, somehow not

Re: Tuning make.conf

2008-03-13 Thread Marcin Koziuk
Luca Presotto wrote: Hi everyone! I was starting to think to recompile everything for my pc to speed up everything. I started googling and I found almost nothing about how to change make.conf on bsd. Almost everything was about Gentoo, somehow not unsurprisingly. The first thing I noticed is

RE: Tuning make.conf

2008-03-13 Thread Luca Presotto
You're *really* wasting your time. I supposed that! Your system is doing no cpu cycles at all for most of the time anyway. [cut]Also, makeopts and -pipe just make _compiling_ faster, not the applications themselves!!!. I agree with everything. In any case I think that a faster compiling

Re: Tuning make.conf

2008-03-13 Thread Julius Huang
Hi, On Mar 13, 2008, at 18:58 , Luca Presotto wrote: You're *really* wasting your time. I supposed that! Your system is doing no cpu cycles at all for most of the time anyway. [cut]Also, makeopts and -pipe just make _compiling_ faster, not the applications themselves!!!. I agree with

Re: Tuning make.conf

2008-03-13 Thread Reko Turja
Should my make.conf be like: MAKEOPTS==-j3 CPUTYPE=core2 CFLAGS= --O2 -pipe -fno-strict-aliasing or just: MAKEOPTS==-j3 CPUTYPE=core2 or maybe: MAKEOPTS==-j3 CPUTYPE=core2 CFLAGS+= --O2 -pipe -fno-strict-aliasing Setting CFLAGS can cause errors while compiling and other undesirable

RE: Tuning make.conf

2008-03-13 Thread Luca Presotto
Isn't -j depend on how many cpu/core and a faster harddisk / raid? Yes, it is. But with j1 you have only one job running at a time. On a dual core you can really easily running at least two jobs at the same time. Then I've read a number of ideas about which is the relation between the number of

Re: Tuning make.conf

2008-03-13 Thread RW
On Thu, 13 Mar 2008 14:05:27 +0200 Reko Turja [EMAIL PROTECTED] wrote: MAKEOPTS==-j3 CPUTYPE=core2 CFLAGS+= --O2 -pipe -fno-strict-aliasing Setting CFLAGS can cause errors while compiling and other undesirable effects, so I recommend leaving CFLAGS undefined. If you want to optimise

Re: Tuning make.conf

2008-03-13 Thread RW
On Thu, 13 Mar 2008 13:30:05 +0100 Luca Presotto [EMAIL PROTECTED] wrote: Maybe it's possible that when building the kernel it gives some problem, but I'm thinking about compiling ports. You need to understand that make.conf affects FreeBSD make, which is used for building the base system,

Re: Tuning make.conf

2008-03-13 Thread RW
On Thu, 13 Mar 2008 13:01:47 + RW [EMAIL PROTECTED] wrote: Just set CPUTYPE unless you know what you are doing. I forgot to mention, you can set core2 if you want to. At present, it will be automatically translated into either nocona (64-bit) or prescott (32-bit). See

Re: Tuning make.conf

2008-03-13 Thread RW
On Thu, 13 Mar 2008 14:20:14 + RW [EMAIL PROTECTED] wrote: prescott (32-bit). See /usr/src/share/mk/bsd.cpu.mk. That should be /usr/share/mk/bsd.cpu.mk ___ freebsd-questions@freebsd.org mailing list

RE: Tuning make.conf

2008-03-13 Thread Luca Presotto
Thank you for your answers, you have been very clear! I'm still not into recompiling the kernel for the moment! I will have a look at the way to speed up the various ports building with the gmake. ___ freebsd-questions@freebsd.org mailing list