[Mesa-dev] [PATCH] util/disk_cache: remove percentage based max cache limit
Michel Dänzer
michel at daenzer.net
Fri Apr 28 03:34:17 UTC 2017
On 28/04/17 12:05 PM, Timothy Arceri wrote:
> The more I think about it the more this seems like a bad idea.
> When we were deleting old cache dirs this wasn't so bad as it
> was unlikely we would ever hit the actual limit before things
> were cleaned up. Now that we only start cleaning up old cache
> items once the limit is reached the a percentage based max
> cache limit is more risky.
>
> For the inital release of shader cache I think its better to
> stick to a more conservative cache limit, at least until we
> have some way of cleaning up the cache more aggressively.
>
> Cc: "17.1" <mesa-stable at lists.freedesktop.org>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the mesa-dev
mailing list