[PATCH xserver 2/7] EXA: Use round robin instead of rand() for choosing eviction position.

Keith Packard keithp at keithp.com
Tue May 17 18:14:12 PDT 2011

On Tue, 17 May 2011 18:32:50 +0200, Michel Dänzer <michel at daenzer.net> wrote:

> I wrote this patch because rand() showed up in profiles, and it
> increased x11perf -aa10text numbers.

Then the cache is not big enough. Fix that instead, demonstrating what
size is necessary to hit credible workloads.

Missing the cache is the problem, rand() on your profiles is just a symptom.

keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110517/12822000/attachment.pgp>

More information about the xorg-devel mailing list