Re: K7/Athlon optimizations and Sacrifices to the Great Ones.

Heinz Deinhart (heinz@auto.tuwien.ac.at)
Fri, 7 Sep 2001 19:03:43 +0200 (CEST)


On Thu, 6 Sep 2001, Dan Hollis wrote:

> Anyone yet verified if burnMMX2 causes the same failures the
> athlon-optimized kernel does?

several versions of Robert's burnMMX2 run on by problematic athlons
without failing for several hours.

I did some trial and error modifications to mmx.c and found out
that this one makes my athlons happy (but must admin i have
no clue why). it seems to run stable now.

--- linux-2.4.9/arch/i386/lib/mmx.c Tue May 22 19:23:16 2001
+++ linux-2.4.9-ac6-hack/arch/i386/lib/mmx.c Sat Sep 8 00:51:33 2001
@@ -194,6 +194,9 @@
: : "r" (from), "r" (to) : "memory");
from+=64;
to+=64;
+ __asm__ __volatile__ (
+ " sfence \n" : :
+ );
}
for(i=(4096-320)/64; i<4096/64; i++)
{

maybe someone with more knowledge can take a look..

ciao,
heinz

-- 
Heinz Deinhart <heinz@auto.tuwien.ac.at>
+43 1 58801-18321
Technische Universitaet Wien, Dept. E183/1

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