lkml.org 
[lkml]   [2002]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [CFT] faster athlon/duron memory copy implementation
On Thu, Oct 24, 2002 at 07:15:43PM +0200, 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?

processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 2
model name : AMD Athlon(tm) Processor
stepping : 1
cpu MHz : 800.034
cache size : 512 KB

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 12570 cycles per page
copy_page function '2.4 non MMX' took 18763 cycles per page
copy_page function '2.4 MMX fallback' took 18764 cycles per page
copy_page function '2.4 MMX version' took 12564 cycles per page
copy_page function 'faster_copy' took 8001 cycles per page
copy_page function 'even_faster' took 7362 cycles per page
copy_page function 'no_prefetch' took 7536 cycles per page

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 12583 cycles per page
copy_page function '2.4 non MMX' took 18768 cycles per page
copy_page function '2.4 MMX fallback' took 21556 cycles per page
copy_page function '2.4 MMX version' took 12636 cycles per page
copy_page function 'faster_copy' took 7375 cycles per page
copy_page function 'even_faster' took 7368 cycles per page
copy_page function 'no_prefetch' took 7552 cycles per page

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 12562 cycles per page
copy_page function '2.4 non MMX' took 18755 cycles per page
copy_page function '2.4 MMX fallback' took 21687 cycles per page
copy_page function '2.4 MMX version' took 12604 cycles per page
copy_page function 'faster_copy' took 7358 cycles per page
copy_page function 'even_faster' took 7356 cycles per page
copy_page function 'no_prefetch' took 7566 cycles per page


00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] (rev 02)
00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP]
00:04.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 22)
00:04.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 10)
00:04.2 USB Controller: VIA Technologies, Inc. USB (rev 10)
00:04.3 USB Controller: VIA Technologies, Inc. USB (rev 10)
00:04.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 30)

Memory type is unbranded PC133 SDRAM

Dave

--
| Dave Jones. http://www.codemonkey.org.uk
-
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.212 / U:1.840 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site