[Pixman] 0.18.0 schedule

Soeren Sandmann sandmann at daimi.au.dk
Tue Mar 2 04:58:12 PST 2010


Koen Kooi <k.kooi at student.utwente.nl> writes:

> > * The fast path cache:
> > 
> >         http://cgit.freedesktop.org/~sandmann/pixman/log/?h=fast-path-cache
> 
> I had a quick look at it and I noticed this:
> 
> #define N_CACHED_FAST_PATHS 8
> 
> How was that number established and what is the impact of
> increasing/decreasing it? 

The impact of increasing the size is that cache misses will take
somewhat longer, and that the per-thread memory overhead will be
larger. Decreasing it means the probability of a cache hit goes down.

There is no deep reasoning behind the number 8 - it may well be that
it should be larger (or smaller, though I'd be surprised). I'd be
interested in experimental results.


Soren


More information about the Pixman mailing list