From: Knut Petersen <Knut_Petersen@t-online.de>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Dave Jones <davej@redhat.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@osdl.org>
Subject: Re: [BUG] wrong bogomips values with kernel 2.6.16
Date: Wed, 22 Mar 2006 06:19:16 +0100 [thread overview]
Message-ID: <4420DE54.1020004@t-online.de> (raw)
In-Reply-To: <Pine.LNX.4.64.0603211004250.3622@g5.osdl.org>
Linus Torvalds schrieb:
>That sounds correct. On x86, BogoMips these days is just a measure of how
>fast the timestamp counter goes (multiplied by two for totally bogus
>reasons), and a Pentium-M should have a fixed-frequency TSC that ticks at
>the highest possible frequency of the CPU, regardless of what the real
>frequency is.
>
>
>
Pentium 4 and Xeon model 3 and above increment the time stamp counter
at a constant rate independent of the current cpu frequency.
All Pentium M, Xeon up to model 2 and the P6 family increment with every
internal processor cycle.
This behaviour is documented in chapter 18.8 of IA-32 Intel® Architecture
Software Developer’s Manual, Volume 3B: System Programming Guide,
Part 2, Order Number: 253669-018, January 2006.
Because of your false assumption of a fixed-frequency TSC, your
conclusions are false too. Scaling of the bogomips values should
really happen, but the start value is wrong. For 800 MHz there
should be a bogomips value of about 1598, for 1867 MHz a value
of about 3730.
You asked for a full /proc/cpuinfo, here it is ...
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Pentium(R) M processor 1.86GHz
stepping : 8
cpu MHz : 800.000
cache size : 2048 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat clflush dts acpi mmx fxsr sse sse2 ss tmpbe nx est tm2
bogomips : 3730.27
cu,
Knut
next prev parent reply other threads:[~2006-03-22 5:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-21 13:10 [BUG] wrong bogomips values with kernel 2.6.16 Knut Petersen
2006-03-21 18:10 ` Linus Torvalds
2006-03-22 5:19 ` Knut Petersen [this message]
2006-03-22 15:30 ` Linus Torvalds
2006-03-22 17:35 ` Knut Petersen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4420DE54.1020004@t-online.de \
--to=knut_petersen@t-online.de \
--cc=akpm@osdl.org \
--cc=davej@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.