Files
third_party_mesa3d/docs/relnotes
Dmitry Osipenko 32211788d0 util/disk_cache: Add new mesa-db cache type
Introduce new cache type, the Mesa-DB. This is a single-file read/write
cache that is based on the read-only Fossilize DB cache. Mesa-DB supports
cache size capping. It's a much more efficient cache than the multi-file
cache because Mesa-DB doesn't have the inode overhead. The plan is to make
Mesa-DB the default cache implementation once it will be deemed as stable
and well tested. For now users have to set the new MESA_DISK_CACHE_DATABASE
environment variable in order to active the Mesa-DB cache.

Mesa-DB cache is resilient to corrupted cache files and doesn't require
maintenance from users and developers. The size capping is implemented
by evicting least recently used cache items and compacting the cache
database files with the evicted entries. In order to prevent frequent
compaction of the cache, at minimum a half of cache is evicted when cache
is full.

Acked-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16888>
2022-08-04 17:52:49 +00:00
..
2020-06-13 10:42:00 +00:00
2020-06-25 01:49:46 +02:00
2020-07-09 09:11:37 +00:00
2020-07-22 23:05:33 +02:00
2020-08-05 21:20:25 +00:00
2020-08-19 21:49:38 +00:00
2020-09-02 20:43:58 +00:00
2020-09-28 07:43:28 +00:00
2020-09-30 20:20:40 +00:00
2020-10-12 22:10:38 +00:00
2020-10-14 17:51:00 +00:00
2020-11-06 20:50:04 -08:00
2020-12-16 21:59:48 +00:00
2020-12-30 20:19:44 -08:00
2021-01-13 20:25:25 +00:00
2021-01-29 20:13:14 -08:00
2021-04-01 19:36:05 +00:00
2021-03-25 00:18:57 +00:00
2021-04-07 17:51:27 +00:00
2021-07-15 17:40:42 +00:00
2021-05-19 23:55:19 +00:00
2021-05-19 23:55:19 +00:00
2021-06-03 02:56:12 +00:00
2021-06-18 18:07:11 +00:00
2021-06-30 19:38:00 +01:00
2021-07-14 21:28:56 +01:00
2021-07-30 23:10:09 +00:00
2021-08-11 21:16:24 +00:00
2021-09-08 22:37:44 +01:00
2021-08-04 12:09:11 -07:00
2021-10-28 17:46:35 +00:00
2021-11-18 19:00:02 +00:00
2021-12-01 19:32:36 +00:00
2021-12-17 23:41:49 +00:00
2021-12-29 21:51:05 +00:00
2022-01-13 02:55:35 +00:00
2022-01-26 20:43:36 +00:00
2022-02-10 00:28:37 +00:00
2022-02-23 21:20:34 +00:00
2022-03-18 21:07:14 +00:00
2022-06-08 22:04:43 +00:00
2022-03-09 22:47:56 +00:00
2022-04-21 21:33:05 -07:00
2022-05-04 15:55:22 -07:00
2022-05-19 22:38:46 +00:00
2022-06-01 16:55:22 -07:00
2022-06-01 16:55:11 -07:00
2022-06-16 18:55:46 +00:00
2022-06-30 19:11:44 +00:00