Re: [Mesa-dev] [PATCH] util/disk_cache: fix stored_keys index

2017-03-19 Thread Timothy Arceri
On 19/03/17 09:46, Grazvydas Ignotas wrote: It seems there is a bug because: - 20 bytes are compared, but only 1 byte stored_keys step is used - entries can overlap each other by 19 bytes - index_mmap is ~1.3M in size, but only first 64K is used With this fix for Deus Ex: - startup time (from la

[Mesa-dev] [PATCH] util/disk_cache: fix stored_keys index

2017-03-18 Thread Grazvydas Ignotas
It seems there is a bug because: - 20 bytes are compared, but only 1 byte stored_keys step is used - entries can overlap each other by 19 bytes - index_mmap is ~1.3M in size, but only first 64K is used With this fix for Deus Ex: - startup time (from launch to Feral logo): ~38s -> ~16s - disk_cache