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

since everone seems to CC: lkml in the reply...

Athlon-500, AMD-751 Irongate, PC800-222 ECC SDRAM

> ./a.out
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 9998 cycles per page
copy_page function '2.4 non MMX' took 15269 cycles per page
copy_page function '2.4 MMX fallback' took 15192 cycles per page
copy_page function '2.4 MMX version' took 10152 cycles per page
copy_page function 'faster_copy' took 10264 cycles per page
copy_page function 'even_faster' took 10013 cycles per page
copy_page function 'no_prefetch' took 11527 cycles per page
> ./a.out
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 9975 cycles per page
copy_page function '2.4 non MMX' took 15513 cycles per page
copy_page function '2.4 MMX fallback' took 15219 cycles per page
copy_page function '2.4 MMX version' took 10009 cycles per page
copy_page function 'faster_copy' took 10186 cycles per page
copy_page function 'even_faster' took 10088 cycles per page
copy_page function 'no_prefetch' took 11583 cycles per page
> ./a.out
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 9967 cycles per page
copy_page function '2.4 non MMX' took 15178 cycles per page
copy_page function '2.4 MMX fallback' took 15178 cycles per page
copy_page function '2.4 MMX version' took 10086 cycles per page
copy_page function 'faster_copy' took 10124 cycles per page
copy_page function 'even_faster' took 10025 cycles per page
copy_page function 'no_prefetch' took 11524 cycles per page
> lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate]
System Controller (rev 23)
00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] AGP
Bridge (rev 01)
00:04.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone]
(rev 64)
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South]
(rev 14)
00:07.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06)
00:07.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 06)
00:07.3 USB Controller: VIA Technologies, Inc. UHCI USB (rev 06)
00:07.4 SMBus: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev
10)
01:05.0 VGA compatible controller: S3 Inc. 86c368 [Trio 3D/2X] (rev 02)
> cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 1
model name : AMD-K7(tm) Processor
stepping : 2
cpu MHz : 499.051
cache size : 512 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 mmx syscall mmxext 3dnowext 3dnow
bogomips : 992.87


Tim

-
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