lkml.org 
[lkml]   [2002]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [CFT] faster athlon/duron memory copy implementation
Date
On Thursday 24 October 2002 19:15, Manfred Spraul wrote:
> AMD recommends to perform memory copies with backward read operations
> instead of prefetch.
>
> http://208.15.46.63/events/gdc2002.htm
>
> 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?
>
> Please run 2 or 3 times.
>
> --
> Manfred

Running on an Athlon XP2000+, ASUS A7V333, 768MB 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 18132 cycles per page
copy_page function '2.4 non MMX' took 25200 cycles per page
copy_page function '2.4 MMX fallback' took 19369 cycles per page
copy_page function '2.4 MMX version' took 18078 cycles per page
copy_page function 'faster_copy' took 11343 cycles per page
copy_page function 'even_faster' took 11203 cycles per page
copy_page function 'no_prefetch' took 7814 cycles per page
1019 [maw] (buruk) /tmp/athlon # athlon_test
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 18081 cycles per page
copy_page function '2.4 non MMX' took 19487 cycles per page
copy_page function '2.4 MMX fallback' took 19403 cycles per page
copy_page function '2.4 MMX version' took 18086 cycles per page
copy_page function 'faster_copy' took 11372 cycles per page
copy_page function 'even_faster' took 11183 cycles per page
copy_page function 'no_prefetch' took 7815 cycles per page
1020 [maw] (buruk) /tmp/athlon # athlon_test
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 18081 cycles per page
copy_page function '2.4 non MMX' took 19487 cycles per page
copy_page function '2.4 MMX fallback' took 19453 cycles per page
copy_page function '2.4 MMX version' took 18063 cycles per page
copy_page function 'faster_copy' took 11335 cycles per page
copy_page function 'even_faster' took 11154 cycles per page
copy_page function 'no_prefetch' took 8332 cycles per page

Greeting, Matthias.
--
---------------------------------------------------------------
From: Matthias Welk office: +49-30-3463-7272
FhG-FOKUS mobile: +49-179- 1144752
Kaiserin-Augusta-Allee 31 fax : +49-30-3463-8672
10589 Berlin email : matthias.welk@fokus.fraunhofer.de
---------------------------------------------------------------

-
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    [from the cache]
©2003-2011 Jasper Spaans