Improved copy_page() function, about 30% speed up for mpc860!

2003-03-04 Thread Paul Mackerras
Dan Malek writes: > And don't forgetmany applications aren't heavily 'copy-centric' and it > may be beneficial to not blow away the caches in those cases. That is, if Using dcbz on the destination won't blow away the caches any more than doing the copy without dcbz would anyway. The thing

Improved copy_page() function, about 30% speed up for mpc860!

2003-03-04 Thread Joakim Tjernlund
> Joakim Tjernlund wrote: > > > I have been playing with the copy_page() function in arch/ppc/kernel/misc.S > > and gained about 30% speed up for my mpc860, rev D4 MHz. > > Have you found the discussion in linuxppc-dev about the work Paul has done > on this in general for PowerPC? It may help avo

Improved copy_page() function, about 30% speed up for mpc860!

2003-03-03 Thread Dan Malek
Joakim Tjernlund wrote: > I have been playing with the copy_page() function in arch/ppc/kernel/misc.S > and gained about 30% speed up for my mpc860, rev D4 MHz. Have you found the discussion in linuxppc-dev about the work Paul has done on this in general for PowerPC? It may help avoid repeating

Improved copy_page() function, about 30% speed up for mpc860!

2003-02-28 Thread Joakim Tjernlund
Forget the copy_page below. I used a non cache aligned buffer :-( However if I enable the use of "dcbz" and remove "dcbt" in the orginal copy_page() and use a cache aligned test buffer, I still get a speedup of 30% or more on my mpc860 board. I think a new CONFIG option is apropiate where one ca

Improved copy_page() function, about 30% speed up for mpc860!

2003-02-27 Thread Joakim Tjernlund
> Hi all > > I have been playing with the copy_page() function in arch/ppc/kernel/misc.S > and gained about 30% speed up for my mpc860, rev D4 MHz. > > This is what i did: > - Use dcbz on 8xx but clear ahead one cache line(performance is really crappy > if I don't clear ahead). This is the bigge

Improved copy_page() function, about 30% speed up for mpc860!

2003-02-27 Thread Joakim Tjernlund
Hi all I have been playing with the copy_page() function in arch/ppc/kernel/misc.S and gained about 30% speed up for my mpc860, rev D4 MHz. This is what i did: - Use dcbz on 8xx but clear ahead one cache line(performance is really crappy if I don't clear ahead). This is the biggest improvement