progress on l2cr
Benjamin Herrenschmidt
bh40 at calva.net
Tue Aug 1 04:42:28 EST 2000
>> >Is there any reason to keep the L2 cache data-only ?
>>
>> There are some rare cases where it can be useful, yes. Like when flushing
>> it, to avoid the flush code to pollute it.
>
>A few bytes inside a 1MB cache are't a problem IMHO. Anyway I enabled it and
>performance compiling programs is 15% lower.
You have no reason to enable "data only" in normal use. It's used during
the flush cycle of the cache to avoid polluting it while the flush code
runs, but it's set and unset automatically, so you don't need to care.
My latest rsync tree also contains an improved l2cr set routine which
should no longer require Michel's trick to manually disable&flush it
before setting it. It also work around some CPU bugs when DPM (dynamic
power management) is enabled why flushing the L2 cache.
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list