BogoMIPS problem

Riley Williams (rhw@MemAlpha.CX)
Sun, 18 Jul 1999 19:53:21 +0100 (GMT)


This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.

--1421910094-542923693-932324001=:28869
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hi there.

Some time back, there was a thread on the subject of BogoMIPS accuracy
and resolution, and I commented that I would look into the situation
and explore it on the various systems available to me. I forget who I
made this comment to, and the relevant emails are no longer to be
found here, but here's the results anyway. All relate to ix86 class
systems as I have no others available.

1. The current calculation yields a result with a resolution of
8 bits, for an accuracy claimed to be slightly better than 1%
but which experiment has generally shown to be between 1.3%
and 1.5% of the best result. In this context, "best result" is
defined as being the result at the highest resolution that
remains stable.

2. On 386 class systems, the resulting figure remains stable when
the resolution is increased to 11 bits, and is stable on 21 of
the 23 systems in this class available to me when increased to
12 bits, but increasing it beyond that point only results in
random bits being added to the result.

3. On 486 class systems, the resulting figure remains rock stable
when the resolution is increased to 12 bits, but increasing it
beyond that point only results in random bits being added.

4. On the Pentium and P2 based systems available to me, the figure
remains stable when the resolution is increased to 14 bits in
every case, and to 15 bits on one of the Pentium class systems
available to me, but additional resoultion just adds random bits
to the result.

5. On the sole K6-2 based system available to me, the figure remains
stable when the resolution is increased to 16 bits, with random
bits added beyond that point.

I would therefore suggest that the enclosed patch be applied, which
increases the resolution to 12 bits, thus providing the best available
accuracy on all classes of ix86 system.

Best wishes from Riley.

+----------------------------------------------------------------------+
| There is something frustrating about the quality and speed of Linux |
| development, ie., the quality is too high and the speed is too high, |
| in other words, I can implement this XXXX feature, but I bet someone |
| else has already done so and is just about to release their patch. |
+----------------------------------------------------------------------+
* ftp://ftp.MemAlpha.cx/pub/rhw/Linux
* http://www.MemAlpha.cx/kernel.versions.html

--1421910094-542923693-932324001=:28869
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="bogomips.diff"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.10.9907181953210.28869@ps.cus.umist.ac.uk>
Content-Description:
Content-Disposition: attachment; filename="bogomips.diff"

LS0tIGxpbnV4LTIuMi4xMC9pbml0L21haW4uY34JVHVlIE1heSAxMSAxNzo1
NzoxNCAxOTk5DQorKysgbGludXgtMi4yLjEwL2luaXQvbWFpbi5jCVN1biBK
dWwgMTggMTk6NDg6MTEgMTk5OQ0KQEAgLTk1NCwxMyArOTU0LDE0IEBADQog
LyogdGhpcyBzaG91bGQgYmUgYXBwcm94IDIgQm8qb01pcHMgdG8gc3RhcnQg
KG5vdGUgaW5pdGlhbCBzaGlmdCksIGFuZCB3aWxsDQogICAgc3RpbGwgd29y
ayBldmVuIGlmIGluaXRpYWxseSB0b28gbGFyZ2UsIGl0IHdpbGwganVzdCB0
YWtlIHNsaWdodGx5IGxvbmdlciAqLw0KIHVuc2lnbmVkIGxvbmcgbG9vcHNf
cGVyX3NlYyA9ICgxPDwxMik7DQogDQogLyogVGhpcyBpcyB0aGUgbnVtYmVy
IG9mIGJpdHMgb2YgcHJlY2lzaW9uIGZvciB0aGUgbG9vcHNfcGVyX3NlY29u
ZC4gIEVhY2gNCi0gICBiaXQgdGFrZXMgb24gYXZlcmFnZSAxLjUvSFogc2Vj
b25kcy4gIFRoaXMgKGxpa2UgdGhlIG9yaWdpbmFsKSBpcyBhIGxpdHRsZQ0K
KyAgIGJpdCB0YWtlcyBvbiBhdmVyYWdlIDEuNS9IWiBzZWNvbmRzLiAgVGhp
cyBnaXZlcyBhIHJlc29sdXRpb24gb24gdGhlIG9yZGVyDQotICAgYmV0dGVy
IHRoYW4gMSUgKi8NCisgICBvZiAwLjA1JSwgYW5kIGlzIGFib3V0IGFzIGZh
ciBhcyBvbmUgY2FuIGdvIGFuZCBzdGlsbCByZXRhaW4gYSBzdGFibGUNCisg
ICByZXN1bHQgdG8gdGhpcyBjYWxjdWxhdGlvbiBvbiB0aGUgbG93ZXItZW5k
IHN5c3RlbXMgKi8NCi0jZGVmaW5lIExQU19QUkVDIDgNCisjZGVmaW5lIExQ
U19QUkVDIDEyDQogDQogdm9pZCBfX2luaXQgY2FsaWJyYXRlX2RlbGF5KHZv
aWQpDQogew0KIAl1bnNpZ25lZCBsb25nIHRpY2tzLCBsb29wYml0Ow0KIAlp
bnQgbHBzX3ByZWNpc2lvbiA9IExQU19QUkVDOw0K
--1421910094-542923693-932324001=:28869--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/