[ODE] About "malloc" patch
Jon Watte
hplus-ode at mindcontrol.org
Mon Oct 4 13:50:06 MST 2004
> Of course ideally the dSetZeros all get elisminated but it's a solution
> which fixes the memory system and the dSetZero slowdowns.
There's a fair chance that the dSetZeros overhead will just move
elsewhere, because it has the nice property of gulping the data
you're going to overwrite into L2 cache (and L1, if it's a very
small piece of data). That cost would have to be paid anyway when
you want to write to the data. Doing it all at once may actually
be more efficient (if you don't want to include prefetching in
the inner loops).
Cheers,
/ h+
More information about the ODE
mailing list