> > bogomips : 5.17
> bogomips : 7.93
I remember having had this last rate on my Am386DX/40 too, when the cache
was enabled on the mainboard. If I disabled it, it dropped to about 5.2,
which might explain differences noticed here. So check if you have some
cache on your motherboard, and if it's enabled in your bios setup. And
don't trust these boards with fake plastic chips labelled "write back"
with no other vendor name, and for which the bios reported "Write Back
cache ON" instead of a size.
> > Is there any harm in Linux not identifying stuff like the manufacturer.
> > I dont know if the i386 supports any extensions that would show up in
> > the flags field. Think the bogomips is right?!?
>
> The flags field is stuff deduced from doing cpuid calls, so nothing there.
> The vendor might be a little difficult and might require depending on
> quirks of specific cpu models (i'm not 100% sure) therefore it would be a
> waste of memory to do.
CPUID was introduced in latest Intel's 486, when there was a lot of relabelling
of cheaper AMDs to Intel equivalents with higher frequencies (eg: Amd486-50 ->
i486-66). AMD took the step too at the time they were sending their new
DX4/write-back core, IIRC. But I've never seen a 386 with a CPUID instruction,
and trust me, I've searched for many ways to differenciate Intel's from AMD's.
Even the register values after reset were the same as intel's. And they were
very hard to catch because you had to reset the CPU and bypass the bios to
get the values, then restore all its context. The only noticeable difference
I found was that they didn't prefetch instructions the same way, and when you
disabled the external cache, you could notice a different pipeline stall depending
on instruction alignment.
So no reliable means to do what you want without opening the case, IMHO.
Cheers,
Willy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/