Re: [CFT] faster athlon/duron memory copy implementation

From: Ken Witherow (ken@krwtech.com)
Date: Thu Oct 24 2002 - 14:43:28 EST


[ken@death ken]$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 6
model name : AMD Athlon(tm) MP 1800+
stepping : 2
cpu MHz : 1533.408
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips : 3060.53

processor : 1
vendor_id : AuthenticAMD
cpu family : 6
model : 6
model name : AMD Athlon(tm) Processor
stepping : 2
cpu MHz : 1533.408
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips : 3060.53

Running on a Tyan S2460 (760MP chipset)

[ken@death ken]$ ./athlon
Athlon test program $Id: fast.c,v 1.6 2000/09/23 09:05:45 arjan Exp $

copy_page() tests
copy_page function 'warm up run' took 16742 cycles per page
copy_page function '2.4 non MMX' took 18632 cycles per page
copy_page function '2.4 MMX fallback' took 18948 cycles per page
copy_page function '2.4 MMX version' took 16772 cycles per page
copy_page function 'faster_copy' took 10157 cycles per page
copy_page function 'even_faster' took 10406 cycles per page
copy_page function 'no_prefetch' took 8865 cycles per page
[ken@death ken]$ ./athlon
Athlon test program $Id: fast.c,v 1.6 2000/09/23 09:05:45 arjan Exp $

copy_page() tests
copy_page function 'warm up run' took 16804 cycles per page
copy_page function '2.4 non MMX' took 18712 cycles per page
copy_page function '2.4 MMX fallback' took 18630 cycles per page
copy_page function '2.4 MMX version' took 16810 cycles per page
copy_page function 'faster_copy' took 10211 cycles per page
copy_page function 'even_faster' took 10462 cycles per page
copy_page function 'no_prefetch' took 8858 cycles per page
[ken@death ken]$ ./athlon
Athlon test program $Id: fast.c,v 1.6 2000/09/23 09:05:45 arjan Exp $

copy_page() tests
copy_page function 'warm up run' took 16877 cycles per page
copy_page function '2.4 non MMX' took 18692 cycles per page
copy_page function '2.4 MMX fallback' took 18557 cycles per page
copy_page function '2.4 MMX version' took 16763 cycles per page
copy_page function 'faster_copy' took 10206 cycles per page
copy_page function 'even_faster' took 10325 cycles per page
copy_page function 'no_prefetch' took 8892 cycles per page

-- 
       Ken Witherow <phantoml AT rochester.rr.com>
           ICQ: 21840670  AIM: phantomlordken
               http://www.krwtech.com/ken

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



This archive was generated by hypermail 2b29 : Thu Oct 31 2002 - 22:00:24 EST