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, 2002-10-24 at 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
    > ----
    >

    [phuse@buffy:~/files]$ cat /proc/cpuinfo
    processor : 0
    vendor_id : AuthenticAMD
    cpu family : 6
    model : 6
    model name : AMD Athlon(tm) XP 1900+
    stepping : 2
    cpu MHz : 1601.986
    cache size : 256 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 tsc msr pae mce cx8 sep mtrr pge mca cmov
    pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
    bogomips : 3198.15

    [phuse@buffy:~/files]$ gcc athlon.c -o athlon-mem ; ./athlon-mem ;
    ../athlon-mem ; ./athlon-mem
    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 21174 cycles per page
    copy_page function '2.4 non MMX' took 23369 cycles per page
    copy_page function '2.4 MMX fallback' took 23134 cycles per page
    copy_page function '2.4 MMX version' took 20586 cycles per page
    copy_page function 'faster_copy' took 12297 cycles per page
    copy_page function 'even_faster' took 11697 cycles per page
    copy_page function 'no_prefetch' took 8664 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 20611 cycles per page
    copy_page function '2.4 non MMX' took 23508 cycles per page
    copy_page function '2.4 MMX fallback' took 23396 cycles per page
    copy_page function '2.4 MMX version' took 20350 cycles per page
    copy_page function 'faster_copy' took 12199 cycles per page
    copy_page function 'even_faster' took 11443 cycles per page
    copy_page function 'no_prefetch' took 8739 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 20362 cycles per page
    copy_page function '2.4 non MMX' took 24304 cycles per page
    copy_page function '2.4 MMX fallback' took 23258 cycles per page
    copy_page function '2.4 MMX version' took 20307 cycles per page
    copy_page function 'faster_copy' took 11379 cycles per page
    copy_page function 'even_faster' took 11388 cycles per page
    copy_page function 'no_prefetch' took 8800 cycles per page


    --
    Regards / Med vänlig hälsning:
    Marcus Libäck <marcus@fofso.net>
    -
    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.028 / U:0.828 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site