lkml.org 
[lkml]   [2002]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [CFT] faster athlon/duron memory copy implementation
From
Date
On Thu, 24 Oct 2002 19:20:13 +0200, you wrote in linux.kernel:
> Attached is a test app that compares several memory copy implementations.
> Could you run it and report the results to me, together with cpu,
> chipset and memory type?

CPU: AMD Duron Spitfire 1 GHz
Chipset: ALi 1647 (Magik 1)
Memory: 2x 256 MB DDR-SDRAM at 200 MHz

> Please run 2 or 3 times.

CFLAGS="-march=athlon" make athlon

[pharao90@neptune (ttyp2) ~]$ ./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 20604 cycles per page
copy_page function '2.4 non MMX' took 26798 cycles per page
copy_page function '2.4 MMX fallback' took 27143 cycles per page
copy_page function '2.4 MMX version' took 20835 cycles per page
copy_page function 'faster_copy' took 12324 cycles per page
copy_page function 'even_faster' took 12615 cycles per page
copy_page function 'no_prefetch' took 10842 cycles per page
[pharao90@neptune (ttyp2) ~]$ ./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 25284 cycles per page
copy_page function '2.4 non MMX' took 31419 cycles per page
copy_page function '2.4 MMX fallback' took 30724 cycles per page
copy_page function '2.4 MMX version' took 25246 cycles per page
copy_page function 'faster_copy' took 15462 cycles per page
copy_page function 'even_faster' took 16504 cycles per page
copy_page function 'no_prefetch' took 10179 cycles per page
[pharao90@neptune (ttyp2) ~]$ ./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 22943 cycles per page
copy_page function '2.4 non MMX' took 30414 cycles per page
copy_page function '2.4 MMX fallback' took 30703 cycles per page
copy_page function '2.4 MMX version' took 23345 cycles per page
copy_page function 'faster_copy' took 14878 cycles per page
copy_page function 'even_faster' took 14902 cycles per page
copy_page function 'no_prefetch' took 10872 cycles per page

Note that even_faster is always slower than faster_copy. ;)

--
Ciao,
Pascal
-
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.125 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site