Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jun 2005 09:46:11 +0100
From:      "Harrison Peter CSA BIRKENHEAD" <peter.harrison@dwp.gsi.gov.uk>
To:        "Chuck Swiger" <cswiger@mac.com>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: -DNOPROFILE with make buildworld...    
Message-ID:  <D8E3EB52364A0842A853E0944FD390D93176DE@DMM00022.link2.gpn.gov.uk>

next in thread | raw e-mail | index | archive | help
>=20-----Original=20Message-----
>=20From:=20Chuck=20Swiger=20[mailto:cswiger@mac.com]
>=20Sent:=2021=20June=202005=2019:25
>=20To:=20Roland=20Smith
>=20Cc:=20Harrison=20Peter=20CSA=20BIRKENHEAD;=20freebsd-questions@freebsd=
.org
>=20Subject:=20Re:=20-DNOPROFILE=20with=20make=20buildworld...

[snip]
=20
>=20Normally,=20you=20don't=20use=20the=20profiled=20versions=20of=20libra=
ries=20
>=20unless=20you=20are=20
>=20running=20a=20binary=20which=20links=20against=20them.=20=20If=20you=20=
are=20
>=20running=20a=20binary=20which=20
>=20has=20not=20been=20compiled=20with=20profiling,=20the=20toolchain=20wi=
ll=20link=20
>=20it=20against=20normal=20
>=20versions=20of=20the=20libraries.


Most=20of=20the=20apps=20I'm=20running=20have=20been=20compiled=20from=20p=
orts=20against=20the=20stock=205.3-RELEASE=20libraries.=20Are=20the=20stoc=
k=20libraries=20profiling=20or=20not?=20Would=20I=20have=20had=20to=20expl=
icitly=20set=20an=20option=20to=20compile=20ports=20to=20link=20against=20=
profiling=20libraries?=20Is=20it=20therefore=20a=20reasonable=20assumption=
=20that=20if=20I=20didn't=20specifically=20make=20any=20binaries=20profili=
ng,=20then=20they'll=20be=20not-profiling?


>=20
>=20[=20...=20]
>=20>=20Programs=20that=20have=20been=20compiled=20with=20profiling=20enab=
led=20might=20run
>=20>=20fractionally=20slower=20that=20without.=20But=20I=20doubt=20the=20=
difference=20is
>=20>=20significant=20on=20a=20modern=20machine.=20
>=20
>=20The=20amount=20of=20overhead=20seems=20to=20vary=20by=20platform,=20bu=
t=20it's=20
>=20generally=20only=20a=20
>=20couple=20of=20percent.=20=20Not=20very=20significant,=20but=20maybe=20=
noticable.
>=20
>=20The=20major=20downsides=20to=20having=20profiled=20libraries=20around=20=
is=20
>=20that=20they=20use=20more=20
>=20disk=20space=20than=20normal=20versions,=20and=20it=20takes=20longer=20=
to=20do=20a=20
>=20buildworld,=20but=20
>=20the=20runtime=20performance=20of=20the=20system=20for=20normal=20binar=
ies=20
>=20will=20not=20be=20affected.


I=20can=20live=20with=20that=20kind=20of=20performance=20overhead,=20but=20=
disk=20space=20is=20more=20of=20an=20issue=20for=20me.


>=20
>=20>=20I'll=20be=20bold=20and=20say=20that=20modern=20machines=20are=20so=
=20fast=20that=20there=20is
>=20>=20seldom=20need=20to=20profile=20a=20program.
>=20
>=20Even=20people=20who=20write=20code=20on=20fast=20machines=20may=20run=20=
that=20code=20
>=20on=20slower=20boxes=20
>=20sometime.=20=20However,=20what=20you've=20said=20is=20still=20true:=20=
there=20is=20
>=20seldom=20need=20to=20
>=20profile=20a=20program.=20=20Get=20it=20working=20well=20enough=20that=20=
it=20
>=20doesn't=20leak=20memory,=20and=20
>=20then=20worry=20about=20profiling=20it.=20=20:-)
>


Indeed.=20Once=20I've=20successfully=20upgraded=20my=20Athlon=20XP=201800+=
=20desktop=20to=205.4=20I'm=20intending=20to=20set=20up=20NFS=20shares=20a=
nd=20upgrade=20my=20Thinkpad=20600e=20which=20is=20also=20on=205.3=20(and=20=
I=20don't=20fancy=20building=20world=20on=20it's=20P2=20366).


>=20--=20
>=20-Chuck


Thanks=20for=20the=20advice.


Peter=20Harrison


>=20
>=20
>=20PLEASE=20NOTE:=20THE=20ABOVE=20MESSAGE=20WAS=20RECEIVED=20FROM=20THE=20=
INTERNET.
>=20=20
>=20On=20entering=20the=20GSi,=20this=20email=20was=20scanned=20for=20viru=
ses=20by=20
>=20the=20Government=20Secure=20Intranet=20(GSi)=20virus=20scanning=20serv=
ice=20
>=20supplied=20exclusively=20by=20Energis=20in=20partnership=20with=20Mess=
ageLabs.
>=20=20
>=20Please=20see=20
http://www.gsi.gov.uk/main/notices/information/gsi-003-2002.pdf=20for=20fu=
rther=20details.

In=20case=20of=20problems,=20please=20call=20your=20organisational=20IT=20=
helpdesk


-----------------------------------------------------------------------

This=20document=20is=20strictly=20confidential=20and=20is=20intended=20onl=
y=20for=20use=20by=20the=20addressee.=20
If=20you=20are=20not=20the=20intended=20recipient,=20any=20disclosure,=20c=
opying,=20distribution=20or=20other=20
action=20taken=20in=20reliance=20of=20the=20information=20contained=20in=20=
this=20e-mail=20is=20strictly=20prohibited.
Any=20views=20expressed=20by=20the=20sender=20of=20this=20message=20are=20=
not=20necessarily=20those=20of=20the=20Department=20
for=20Work=20and=20Pensions.
If=20you=20have=20received=20this=20transmission=20in=20error,=20please=20=
use=20the=20reply=20function=20to=20tell=20us=20
and=20then=20permanently=20delete=20what=20you=20have=20received.
Please=20note:=20Incoming=20and=20outgoing=20e-mail=20messages=20are=20rou=
tinely=20monitored=20for=20compliance=20
with=20our=20policy=20on=20the=20use=20of=20electronic=20communications.=20=


The=20original=20of=20this=20email=20was=20scanned=20for=20viruses=20by=20=
the=20Government=20Secure=20Intranet=20(GSi)=20virus=20scanning=20service=20=
supplied=20exclusively=20by=20Energis=20in=20partnership=20with=20MessageL=
abs.

On=20leaving=20the=20GSi=20this=20email=20was=20certified=20virus-free



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D8E3EB52364A0842A853E0944FD390D93176DE>