1.3.3x weirdness - /proc/cpuinfo

1.3.3x weirdness - /proc/cpuinfo

Post by Marc A. Volov » Mon, 13 Nov 1995 04:00:00



Hi,

  I have been using 1.3.25 for quite a while now, cross compiling it
for a number of friends who have 2940 (regular ones, all work fine).
Most machines were P5-100/90 and ran perfectly with reasonalble
meaningless BogoMIPS of 39.94 or thereabouts. The same BogoMIPS number
came up on 1.2.3, 1.2.8 and 1.2.13 for tests. /proc/cpuinfo report
Pentium 90/100 as CPU type.

  Then, as a test I switched to 1.3.30 (and then to .37 and .38). For
some reason, completely unclear to me, the BogoMIPS fell to 39.73 and
/proc/cpuinfo changed to Pentium 75+. Has anyone seen this? And, of
so, where does it come from?

--
---MAV


 
 
 

1.3.3x weirdness - /proc/cpuinfo

Post by Julian Thompso » Fri, 17 Nov 1995 04:00:00



: Hi,

:   I have been using 1.3.25 for quite a while now, cross compiling it
: for a number of friends who have 2940 (regular ones, all work fine).
: Most machines were P5-100/90 and ran perfectly with reasonalble
: meaningless BogoMIPS of 39.94 or thereabouts. The same BogoMIPS number
: came up on 1.2.3, 1.2.8 and 1.2.13 for tests. /proc/cpuinfo report
: Pentium 90/100 as CPU type.

:   Then, as a test I switched to 1.3.30 (and then to .37 and .38). For
: some reason, completely unclear to me, the BogoMIPS fell to 39.73 and
: /proc/cpuinfo changed to Pentium 75+. Has anyone seen this? And, of
: so, where does it come from?

More recent kernels use a binary approximation to determine the BogoMIPS
value (check out init/main.c). This has the advantage of speeding up the
boot process (by a few seconds :-), but it does lose slightly in accuracy
(my P90 value dropped from 36.08 to 36.04). I guess that the slight
deviation is acceptable to those routines that use it...

As for your /proc/cpuinfo question, have a look at
arch/i386/kernel/setup.c; I would guess that the CPU mask only contains
sufficient information to differentiate between either 60/66 Pentiums or
others (75+).

Hope this has helped.

Julian.
--


 
 
 

1. docs for SVR4 form(3x), menu(3x), and panel(3x)

Hi all!

As mentioned in the subject line, I'm looking for documentation on
the three curses add-on packages under SVR4 called forms(3x),
menus(3x), and panels(3x).  Under AmigaUnix I've got a minimal set of
man pages that describe the prototypes for the functions but no
examples or overall conceptual guideline.

I'd prefer some form of on-line docs, but I'm not against going into
BookStop and looking for hardcopy (in fact, I'll do that later today).

Thanks for the help.
--
Frank "Crash" Edwards            King Marine Electronics, Inc.
Home: 813/786-3675               Work: 813/530-3411

2. 5th Annual Linux Showcase and Conference

3. kerneld and 1.3.3x?

4. Viirtual Machine.

5. 1.3.3X and ELF modules

6. UserDir option question

7. ext2 trouble in 1.3.3x kernels

8. HOW TOO??? How do I set up my ISP account through my external modem???

9. SIOCADDRT errors when running route under 1.3.3x kernels

10. Volume problem with xmcd 1.3 / PAS16 SCSI / NEC CDR-500 (3x) cdrom

11. Solved: SIOCADDRT errors when running route under 1.3.3x

12. BogoMips /proc/cpuinfo incorrect?!

13. Request for /proc/cpuinfo