Date: Sun, 27 Feb 2005 22:48:32 +0530 From: "Subhro" <subhro.kar@gmail.com> To: "'Richard Danter'" <richard.danter@ntlworld.com>, <freebsd-questions@freebsd.org> Subject: RE: Optimising FreeBSD Message-ID: <42220101.4962813b.3031.00a0@smtp.gmail.com> In-Reply-To: <4221F632.4060301@ntlworld.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-
> questions@freebsd.org] On Behalf Of Richard Danter
> Sent: Sunday, February 27, 2005 22:03
> To: freebsd-questions@freebsd.org
> Subject: Optimising FreeBSD
>
> First, I think I need to edit the /etc/make.conf file. This is what I
> think I should have in place:
>
> CPUTYPE ?= p2 # or p3 on my workstation
> CFLAGS = -O -pipe # O2 and above not recommended?
> COPTFLAGS= -O -pipe
Make that CPUTYPE=p2 instead of CPUTYPE?=p2. The later is used if you build
for p2 on a different platform. CFLAGS and COPTFLAGS look ok. You can try
-O2 for COPTFLAGS but expect some instabilities.
>
> I am not sure I understand the difference between CFLAGS and COPTFLAGS.
> Am I right in saying that COPTFLAGS is used for kernel builds and CFLAGS
> is used for everything else?
That's correct
>
> Is there anything else I need to set?
Go through /usr/local/sys/i386/conf/NOTES. Read through the different
processor flags.
>
> Assuming the settings above are right, now I guess I can rebuild my
> kernel again without changing the configuration but I should now have p2
> specific code? Is there anything in the kernel config file I need to
> check? Do I even need to rebuild since I had the I686_CPU setting?
Just rebuilding the kernel after modifying make.conf should be enough.
>
> Next I guess I need to re-build the rest of the userland apps. Is it
> simply a case of building world, or do I have to go through the whole
> upgrade procedure as described in the Handbook?
Yeh a rebuild of world is necessary. Well, not necessary but definitely
recommended.
>
> I want to stick to -RELEASE, does this change (bug/security fixes)? If
> so, how do I update? I can see CVSup config files for -CURRENT and
> -STABLE, but not for -RELEASE.
RELENG_X means FreeBSD X-STABLE, RELENG_X_Y means FreeBSD X.Y-RELEASE.
Read through the "make world" section of the handbook again.
>
> I guess the last step is to recompile the ports I have installed. Is
> there a quick way to rebuild just the ports I have installed or do I
> need to go through them all one by one and 'make install clean' them?
>
> Anything else I have missed?
The simplest way I would do is pkg_delete -ad. This would delete *all* the
installed ports. Then selectively rebuild the ports as required.
> Sorry for so many questions in one go!
You don't learn something unless you have the guts to ask, so be proud about
it. :-)
Regards,
S.
Indian Institute of Information Technology
Subhro Sankha Kar
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India
[-- Attachment #2 --]
0 *H
010 + 0 *H
0=0 ͺVT"rU0
*H
0_10 UUS10U
VeriSign, Inc.1705U.Class 1 Public Primary Certification Authority0
960129000000Z
280801235959Z0_10 UUS10U
VeriSign, Inc.1705U.Class 1 Public Primary Certification Authority00
*H
0 mVa-Hqg뷞
8%Fs$]
enVsߴX9knը?144g NEVixG)6c\-{2{0*/1g 0
*H
L?hC3]Mz36ؕ"6hl|B.?OvJ͠
)"]݁#{%F0yK@<_SH䆴{5{%ӎ?8 4 q0f0Ϡ
O[uj)0
*H
0_10 UUS10U
VeriSign, Inc.1705U.Class 1 Public Primary Certification Authority0
980512000000Z
080512235959Z010U
VeriSign, Inc.10UVeriSign Trust Network1F0DU=www.verisign.com/repository/RPA Incorp. By Ref.,LIAB.LTD(c)981H0FU?VeriSign Class 1 CA Individual Subscriber-Persona Not Validated00
*H
0 ZDUz-Ox6
JoTw*h1ApzKHV-BD\B/;'
]6B3nTOJƚj$e~7jJ 00 `HB05U.0,0*(&$http://crl.verisign.com/pca1.1.1.crl0GU @0>0<`HE0-0++www.verisign.com/repository/RPA0U0 0U0
*H
B|ߌyLMU/P^N.^2yeJRը1!l4x BZъު"!e3 3
>5d$[h|7d
Ž33>>s020:N4fr40
*H
010U
VeriSign, Inc.10UVeriSign Trust Network1F0DU=www.verisign.com/repository/RPA Incorp. By Ref.,LIAB.LTD(c)981H0FU?VeriSign Class 1 CA Individual Subscriber-Persona Not Validated0
041111000000Z
050718235959Z010U
VeriSign, Inc.10UVeriSign Trust Network1F0DU=www.verisign.com/repository/RPA Incorp. by Ref.,LIAB.LTD(c)9810UPersona Not Validated1402U+Digital ID Class 1 - Microsoft Full Service10U
Subhro Kar1#0! *H
subhro.kar@gmail.com00
*H
0 )Fp["
,9Uڵ87(v0r1C.\4VP@h!"r(
⎅?-"2K 00 U0 0DU =0;09`HE0*0(+https://www.verisign.com/rpa0U0U%0++0
`HENone03U,0*0(&$"http://crl.verisign.com/class1.crl0
*H
]5羧n-A$NyiIk{}Y(DKTHE@&mZK#TEWO.bqƼsE $raEsh{Os{[=zz_,v߈QԊ>1>0:0010U
VeriSign, Inc.10UVeriSign Trust Network1F0DU=www.verisign.com/repository/RPA Incorp. By Ref.,LIAB.LTD(c)981H0FU?VeriSign Class 1 CA Individual Subscriber-Persona Not Validated:N4fr40 + 0 *H
1 *H
0 *H
1
050227171830Z0# *H
1裨)(ŖJ0g *H
1Z0X0
*H
0*H
0
*H
@0+0
*H
(0+0
*H
0 +710010U
VeriSign, Inc.10UVeriSign Trust Network1F0DU=www.verisign.com/repository/RPA Incorp. By Ref.,LIAB.LTD(c)981H0FU?VeriSign Class 1 CA Individual Subscriber-Persona Not Validated:N4fr40*H
1䠁010U
VeriSign, Inc.10UVeriSign Trust Network1F0DU=www.verisign.com/repository/RPA Incorp. By Ref.,LIAB.LTD(c)981H0FU?VeriSign Class 1 CA Individual Subscriber-Persona Not Validated:N4fr40
*H
I-0N )$Ahyr a"ipo>C0~jGFcPcZe/WLQr,H1;35js(FxԷK.7o}
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42220101.4962813b.3031.00a0>
