Re: bogomips wierdness, 2.1.123-2

Richard B. Johnson (root@chaos.analogic.com)
Wed, 23 Sep 1998 08:20:53 -0400 (EDT)


On Tue, 22 Sep 1998, Frank Sweetser wrote:

>
> normally, (ie, every other kernel) my machine (a plain P150) gets about 60
> bogomips. with 2.1.123-2 (not -1, though) the bogomips are all over the
> place - two boots so far, one got 280, the other got 175! i know that
> bogomips don't mean that much, but this seems a little strange here... the
> full /proc/cpuinfo from 2.1.123-1
>
> processor : 0
> vendor_id : GenuineIntel
> cpu family : 5
> model : 2
> model name : Pentium 75+
> stepping : 12
> fdiv_bug : no
> hlt_bug : no
> sep_bug : no
> f00f_bug : yes
> fpu : yes
> fpu_exception : yes
> cpuid level : 1
> wp : yes
> flags : fpu vme de pse tsc msr mce cx8
> bogomips : 59.80
>
>
>

The problem is that my BogoMips patch never got into the kernel even
though I tried. It is very simple and can't possibly hurt anything.
Nevertheless, it was simply ignored. It was first submitted in May
of this year.

Linus. Can you __please__ get this into some release in the future?

Here is is again:

--- linux/arch/i386/lib/delay.c.orig Wed May 24 10:22:50 1998
+++ linux/arch/i386/lib/delay.c Wed May 24 10:18:52 1998
@@ -18,7 +18,11 @@
void __delay(unsigned long loops)
{
__asm__ __volatile__(
- "1:\tdecl %0\n\tjns 1b"
+ "jmp 1f\n"
+ ".align 16\n"
+ "1:\tjmp 2f\n"
+ ".align 16\n"
+ "2:\tdecl %0\n\tjns 2b"
:/* no outputs */
:"a" (loops)
:"ax");

Cheers,
Dick Johnson
***** FILE SYSTEM WAS MODIFIED *****
Penguin : Linux version 2.1.118 on an i586 machine (66.15 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.

-
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/