lkml.org 
[lkml]   [2002]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [CFT] faster athlon/duron memory copy implementation
From
On approximately Thu, Oct 24, 2002 at 07:15:43PM +0200, Manfred Spraul wrote:

> Could you run it and report the results to me, together with cpu,
> chipset and memory type?
>

processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 6
model name : AMD Athlon(tm) XP 1800+
stepping : 2
cpu MHz : 1529.541
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 sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips : 3053.97

RAM is PC2100 DDR, Mobo/Chipset Soyo K7V Dragon+ VIA KT266A

$ gcc-3.2 -o athlon-memcpy -O3 -march=athlon-xp athlon.c

$ ./athlon-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 16159 cycles per page
copy_page function '2.4 non MMX' took 16867 cycles per page
copy_page function '2.4 MMX fallback' took 16486 cycles per page
copy_page function '2.4 MMX version' took 16116 cycles per page
copy_page function 'faster_copy' took 9679 cycles per page
copy_page function 'even_faster' took 9708 cycles per page
copy_page function 'no_prefetch' took 6879 cycles per page

$ ./athlon-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 18627 cycles per page
copy_page function '2.4 non MMX' took 21079 cycles per page
copy_page function '2.4 MMX fallback' took 21081 cycles per page
copy_page function '2.4 MMX version' took 18658 cycles per page
copy_page function 'faster_copy' took 11334 cycles per page
copy_page function 'even_faster' took 11606 cycles per page
copy_page function 'no_prefetch' took 6925 cycles per page

$ ./athlon-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 18631 cycles per page
copy_page function '2.4 non MMX' took 21015 cycles per page
copy_page function '2.4 MMX fallback' took 21085 cycles per page
copy_page function '2.4 MMX version' took 18619 cycles per page
copy_page function 'faster_copy' took 11388 cycles per page
copy_page function 'even_faster' took 11478 cycles per page
copy_page function 'no_prefetch' took 6961 cycles per page

$ ./athlon-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 17246 cycles per page
copy_page function '2.4 non MMX' took 18617 cycles per page
copy_page function '2.4 MMX fallback' took 18319 cycles per page
copy_page function '2.4 MMX version' took 17235 cycles per page
copy_page function 'faster_copy' took 10356 cycles per page
copy_page function 'even_faster' took 10462 cycles per page
copy_page function 'no_prefetch' took 6889 cycles per page


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

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.102 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site