• Ell's avatar
    buffer: remove cloned tiles with lower probability when trimming cache · 10622d7a
    Ell authored
    A set of n cloned tiles is counted only once toward the total cache
    size, so each inidividual tile can be thought of as contributing
    only 1/n of its size to the total cache size.  On the other hand,
    the cost of stroing a tile is independent of the number of clones
    it has.
    
    When trimming the cache, remove an unstored tile with n cached
    clones with a probability of 1/n, instead of 1, to avoid saturating
    the swap queue with cloned tiles, causing stalls.
    10622d7a
Name
Last commit
Last update
bin Loading commit data...
build/buildbot Loading commit data...
docs Loading commit data...
examples Loading commit data...
gcut Loading commit data...
gegl Loading commit data...
libs Loading commit data...
m4 Loading commit data...
opencl Loading commit data...
operations Loading commit data...
perf Loading commit data...
po Loading commit data...
seamless-clone Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.kateconfig Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LESSER Loading commit data...
HACKING Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
gegl-uninstalled.pc.in Loading commit data...
gegl.doap Loading commit data...
gegl.pc.in Loading commit data...