Gentoo Archives: gentoo-dev

From: Meir Kriheli <mksoft@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] CPUs reported by /proc in SMP machines and different archs
Date: Sun, 28 Dec 2003 01:26:47
Message-Id: 200312280229.28304.mksoft@gentoo.org
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On Wednesday 24 December 2003 20:40, Kevyn Shortell wrote:
5 > On Wed, 2003-12-24 at 08:04, Meir Kriheli wrote:
6 > > -----BEGIN PGP SIGNED MESSAGE-----
7 > > Hash: SHA1
8 > >
9 > > Hi,
10 > >
11 > > While going over the output of /proc/cpuinfo (among the rest) you've sent
12 > > for - -stats (10x for that), it seems that the kernel reports multiple
13 > > cpus in a different way for each arch, so some revision of the code is
14 > > needed.
15 > >
16 > > Question: is it granted that on multiple cpu machines (and different
17 > > archs) each cpu will have the same properties (e.g: Clock Speed) ?
18 > >
19 > > - From the S in SMP one would guess it's true, but I still need to be
20 > > sure.
21 > >
22 > > For x86 archs it reports each processor, while on other archs (alpha,
23 > > sparc) it jusr reports total num cpus (andone know the status on Macs ?)
24 >
25 > processor : 0
26 > cpu : PPC970, altivec supported
27 > clock : 2000MHz
28 > revision : 2.2
29 >
30 > processor : 1
31 > cpu : PPC970, altivec supported
32 > clock : 2000MHz
33 > revision : 2.2
34 > machine : PowerMac7,2
35 > motherboard : PowerMac7,2 MacRISC4 Power Macintosh
36 > detected as : 336 (PowerMac G5)
37 > pmac flags : 00000000
38 > memory : 1024MB
39 > pmac-generation : NewWorld
40 >
41 >
42 > this is a much newer kernel so more closer to what you'd find out in the
43 > world.
44
45 10x for /proc/cpuinfo. Maybe I should rephrase the question:
46
47 Has anyone seen a multiple cpu machine with different properties for the cpus
48 inside (clock speed etc) ?
49
50 - --
51 Meir Kriheli
52 MKsoft systems
53 http://www.mksoft.co.il
54 -----BEGIN PGP SIGNATURE-----
55 Version: GnuPG v1.2.3 (GNU/Linux)
56
57 iD8DBQE/7kAFRkS5DWK1mZkRAqXAAKCcrYF+YCLYWNz14Zrbm8isu9KyRACfdTdb
58 9E7ow3Jgvlvq91N/RNwL15k=
59 =oDUf
60 -----END PGP SIGNATURE-----
61
62 --
63 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] CPUs reported by /proc in SMP machines and different archs Bob Miller <kbob@××××××××××.com>
Re: [gentoo-dev] CPUs reported by /proc in SMP machines and different archs "Philippe Lafoucrière" <lafou@×××××××.fr>