On Fri, 4 May 2001, Seth Goldberg wrote:

> Hi,
> 
>   Before I go any further with this investigation, I'd like to get an
> idea
> of how much of a performance improvement the K7 fast_page_copy will give
> me.
> Can someone suggest the best benchmark to test the speed of this
> routine?

Arjan van de Ven did the code, and he wrote a little test harness.
I've hacked it a bit (http://brain.mcmaster.ca/~hahn/athlon.c);
on my duron/600, kt133, pc133 cas2, it looks like this:

clear_page by 'normal_clear_page'        took 7221 cycles (324.6 MB/s)
clear_page by 'slow_zero_page'           took 7232 cycles (324.1 MB/s)
clear_page by 'fast_clear_page'          took 6110 cycles (383.6 MB/s)
clear_page by 'faster_clear_page'        took 2574 cycles (910.6 MB/s)

copy_page by 'normal_copy_page'  took 7224 cycles (324.4 MB/s)
copy_page by 'slow_copy_page'    took 7223 cycles (324.5 MB/s)
copy_page by 'fast_copy_page'    took 4662 cycles (502.7 MB/s)
copy_page by 'faster_copy'       took 2746 cycles (853.5 MB/s)
copy_page by 'even_faster'       took 2802 cycles (836.5 MB/s)

70% faster!

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to