Re: [CFT] faster athlon/duron memory copy implementation

From: Willy TARREAU (willy@w.ods.org)
Date: Thu Oct 24 2002 - 16:16:08 EST


On Thu, Oct 24, 2002 at 10:51:26PM +0200, Dieter N?tzel wrote:
> copy_page by 'even_faster' took 5616 cycles (1112.9 MB/s)

something bothers me here : with PC2100 RAM, you copy 1113 MB/s, that
is 1113 MB in + 1113 MB out !

I tried your code and code somewhat same results (dual xp1800+, pc2100, 760MPX).
but I pasted the no_prefetch_copy_page() function into it and now it says that I
copy 1455 MB/s ! I didn't look deep through the code, but I suspect that there's
some static work that is not accounted, or a subtract between two counters, or
something like that.

Cheers,
Willy

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



This archive was generated by hypermail 2b29 : Thu Oct 31 2002 - 22:00:25 EST