> -----Original Message-----
> From: Chuck Swiger [mailto:[EMAIL PROTECTED]
> Sent: 21 June 2005 19:25
> To: Roland Smith
> Cc: Harrison Peter CSA BIRKENHEAD; freebsd-questions@freebsd.org
> Subject: Re: -DNOPROFILE with make buildworld...

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


Most of the apps I'm running have been compiled from ports against the stock 
5.3-RELEASE libraries. Are the stock libraries profiling or not? Would I have 
had to explicitly set an option to compile ports to link against profiling 
libraries? Is it therefore a reasonable assumption that if I didn't 
specifically make any binaries profiling, then they'll be not-profiling?


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


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


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


Indeed. Once I've successfully upgraded my Athlon XP 1800+ desktop to 5.4 I'm 
intending to set up NFS shares and upgrade my Thinkpad 600e which is also on 
5.3 (and I don't fancy building world on it's P2 366).


> -- 
> -Chuck


Thanks for the advice.


Peter Harrison


> 
> 
> PLEASE NOTE: THE ABOVE MESSAGE WAS RECEIVED FROM THE INTERNET.
>  
> On entering the GSi, this email was scanned for viruses by 
> the Government Secure Intranet (GSi) virus scanning service 
> supplied exclusively by Energis in partnership with MessageLabs.
>  
> Please see 
http://www.gsi.gov.uk/main/notices/information/gsi-003-2002.pdf for further 
details.

In case of problems, please call your organisational IT helpdesk


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

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

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

On leaving the GSi this email was certified virus-free
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to