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 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?
    >
    > Please run 2 or 3 times.
    >
    simon@caccini:~/hacking$ cat /proc/cpuinfo
    processor : 0
    vendor_id : AuthenticAMD
    cpu family : 6
    model : 1
    model name : AMD-K7(tm) Processor
    stepping : 2
    cpu MHz : 553.880
    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 : 1104.28

    simon@caccini:~/hacking$ ./athlon; ./athlon; ./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 12855 cycles per page
    copy_page function '2.4 non MMX' took 17267 cycles per page
    copy_page function '2.4 MMX fallback' took 14930 cycles per page
    copy_page function '2.4 MMX version' took 10642 cycles per page
    copy_page function 'faster_copy' took 10591 cycles per page
    copy_page function 'even_faster' took 13035 cycles per page
    copy_page function 'no_prefetch' took 11657 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 12871 cycles per page
    copy_page function '2.4 non MMX' took 18482 cycles per page
    copy_page function '2.4 MMX fallback' took 15013 cycles per page
    copy_page function '2.4 MMX version' took 10679 cycles per page
    copy_page function 'faster_copy' took 12268 cycles per page
    copy_page function 'even_faster' took 10789 cycles per page
    copy_page function 'no_prefetch' took 11691 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 13110 cycles per page
    copy_page function '2.4 non MMX' took 14958 cycles per page
    copy_page function '2.4 MMX fallback' took 14952 cycles per page
    copy_page function '2.4 MMX version' took 12864 cycles per page
    copy_page function 'faster_copy' took 10581 cycles per page
    copy_page function 'even_faster' took 10629 cycles per page
    copy_page function 'no_prefetch' took 11607 cycles per page

    Simon

    --
    PGP public key Id 0x144A991C, or http://himi.org/stuff/himi.asc
    (crappy) Homepage: http://himi.org
    doe #237 (see http://www.lemuria.org/DeCSS)
    My DeCSS mirror: ftp://himi.org/pub/mirrors/css/
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2005-03-22 13:30    [W:0.025 / U:60.060 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site