Re: Re: PPC cflags

David Bélanger <[email protected]>
Newsgroups gmane.linux.gentoo.ppc
Message-ID <[email protected]>
On Sun, Feb 20, 2005 at 10:19:07PM +0100, hjk wrote:
> [dom 20/02/2005, ore 16:25] => David Bélanger scriveva:
> 
> > On Sun, Feb 20, 2005 at 03:55:58PM -0500, Nick Smith wrote:
> > > 
> > > i am getting 696.32 on my G3 350Mhz off the boot cd during the
> > > install. (whatever Bogomips are?)
> > > 
> > 
> > It's only a value computed by the kernel that has some purposes in the
> > kernel.  It gets print for "fun" but should not be regarded as a
> > performance measure.
> > 
> 
> yes, i don't regard it as a performance measure, yet i am curious about the 
> reason why i get so few bogomips :)
> 
> i'm using a 2.6 kernel with sysfs, i have the "performance" governor enabled in 
> /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor and my cpu is running 
> at 998.400 Mhz as stated in /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
> 

It's for timing purposes:
http://www.tldp.org/HOWTO/BogoMips/x78.html#AEN81

G3 = 750   - clock cycle * 2.0.  Is your CPU clocked as 350MHz or
1000MHz...  If at 350MHz, 696 is pretty close to the 700 BogoMIPS should
have.

David

---

David Bélanger
Web page:   http://www.cs.mcgill.ca/~dbelan2/
Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt


--
[email protected] mailing list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.