[Mesa-dev] [PATCH 2/4] util/disk_cache: compress individual cache entries

Eero Tamminen eero.t.tamminen at intel.com
Thu Mar 2 12:58:50 UTC 2017


Hi,

On 02.03.2017 00:19, Timothy Arceri wrote:
...
> 2) Do were care about compression ratio?
>
> Yes. We currently have a default 1GB limit for the cache (users can
> override this). As well as games like Deus Ex having a large footprint,
> the Dolphin devs have reported reaching multiple GBs (uncompressed) in a
> few hours of running.
>
> Initial testing also seems to point to smaller file sizes increasing
> performance due to reduced I/O. More thorough testing is probably needed
> to confirm this.

When speaking about disk I/O vs. CPU performance compromises, please 
indicate whether you're doing testing on SSD or spinning rust (even 
better, tell which disk & CPU model you used).

When numbers are provided for potential future compression method 
change, it would be good to provide numbers also for setup where shader 
cache is on ram disk.


	- Eero



More information about the mesa-dev mailing list