I don't think -O -O1 and -O2 impliciet -fomit-fram-pointer 
not sure about -O3

Ming-Wei

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Behalf
> Of Eelco van Beek - IC&S
> Sent: Tuesday, October 28, 2003 9:37 AM
> To: [email protected]
> Subject: Re: [Dbmail] 100% cpu usage with dbmail-pop3d -- 
> SOLVED, for me
> at least
> 
> 
> I thought the stable version was compiled with -O which automatically 
> enables the omission of frame pointer usage?
> 
> Best regards,
> 
> Eelco
> 
> On 27-okt-03, at 23:08, Bret Baptist wrote:
> 
> > On Friday 24 October 2003 5:35 am, Shih Ming-Wei wrote:
> >> hi,
> >>
> >> I have solve the 99% CPU usage on Linux/sparc systems that
> >> we are using, apparently changing CFLAGS from "-O2 -pipe" to
> >> "-march=v8 -mtune=v9 -O2 -pipe -fomit-frame-pointer" cahnges
> >> the CPU usage from 99% to max 1.8% (avg 0.4 %). So my
> >> conclusion is this is not a dbmail bug but dbmail must trigger
> >> some bug in platform/compiler/glibc,
> >>
> >> Just my 2 cents
> >>
> >>
> >> Hope this might help someone else
> >>
> >> Ming-Wei
> >
> > After more testing I have found that the important bit here is the
> > -fomit-frame-pointer.  If I define that I don't get the 
> excessive CPU 
> > usage.
> > Is there any reason for not making this a standard compile flag?
> >
> > I am running debian testing (sarge):
> >
> > Which has:
> >
> > gcc-3.3.1-2
> > kernel: 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686 GNU/Linux
> > libc6-2.3.2-7
> > mysql-client-4.0.13-3
> >
> > Anything else relevant?
> >
> > -- 
> > Bret Baptist
> > Systems and Technical Support Specialist
> > [EMAIL PROTECTED]
> > Internet Exposure, Inc.
> > http://www.iexposure.com
> >
> > (612)676-1946 x17
> > Web Development-Web Marketing-ISP Services
> > ------------------------------------------
> >
> >
> > Today is the tomorrow you worried about yesterday.
> >
> > _______________________________________________
> > Dbmail mailing list
> > [email protected]
> > https://mailman.fastxs.nl/mailman/listinfo/dbmail
> >
> _________________________
> E.J.A. van Beek
> ICT Manager
> IC&S
> T: +31 30 2322878
> F: +31 30 2322305
> 
> PGP-key:
> www.ic-s.nl/keys/eelco.txt
> 
> _______________________________________________
> Dbmail mailing list
> [email protected]
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
> 

Reply via email to