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

From: Harm Verhagen (h.verhagen@chello.nl)
Date: Thu Oct 24 2002 - 17:01:09 EST


Athlon XP 1800+, VIA KT333, 256MB DDR2100

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 16180 cycles per page
copy_page function '2.4 non MMX' took 17913 cycles per page
copy_page function '2.4 MMX fallback' took 18610 cycles per page
copy_page function '2.4 MMX version' took 16200 cycles per page
copy_page function 'faster_copy' took 9908 cycles per page
copy_page function 'even_faster' took 10117 cycles per page
copy_page function 'no_prefetch' took 6993 cycles per page
[harm@pchome memcpy2]$ ./memcpy
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 16293 cycles per page
copy_page function '2.4 non MMX' took 17929 cycles per page
copy_page function '2.4 MMX fallback' took 18637 cycles per page
copy_page function '2.4 MMX version' took 16209 cycles per page
copy_page function 'faster_copy' took 9907 cycles per page
copy_page function 'even_faster' took 10122 cycles per page
copy_page function 'no_prefetch' took 6964 cycles per page

harm@pchome memcpy2]$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 6
model name : AMD Athlon(TM) XP 1800+
stepping : 2
cpu MHz : 1532.941
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 tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat
pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips : 3060.53

-
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:25 EST