|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [XenPPC] copy_page speedup using dcbz on target
If you really want to explore mem/page copy for XenPPC then you have to understand that since we run without an MMU, profiling code with MMU on, _including_ RMA, is not helpful because the access is guarded (G=1, I=0). For more information see 970FX UM Sections: 6.3.8.4 Loads in Real Mode 6.3.9.4 Stores in Real ModeYou will probably find that grouping (as Hollis suggests) by cache line will be much better. but also prefetch the next line somehow. Please run your experiments _in_ Xen,and use timebase (ticks) or NOW () (nanosecs) to model it. On Dec 15, 2006, at 6:31 PM, Hollis Blanchard wrote: On Fri, 2006-12-15 at 17:50 -0500, poff wrote:3) Useful when PPC must do page copies in place of 'page flipping'.So you're saying we should worry about it later? Out current memcpy() comes from memcpy.S which is straight from linux, its not the best, but prolly good enuff. Perhaps we can borrow code from http://penguinppc.org/dev/glibc/glibc-powerpc-cpu-addon.html This tunes for usermode. I don't think its performance is relevant. -JX _______________________________________________ Xen-ppc-devel mailing list Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ppc-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |