diff options
author | Timothy Arceri <[email protected]> | 2019-09-03 14:13:05 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2019-09-19 15:03:27 +1000 |
commit | a2ee29c3daad8fcfe98204f9d8927b0b1a637713 (patch) | |
tree | def62d717831ced0a2506f2cf45da5a38f59ea2c /src/util/tests/vma/meson.build | |
parent | 8e614c7a29a8926b20f5c18ef447ff82cafb7f1c (diff) |
util/disk_cache: bump thread count assigned to disk cache queue
Since we set the UTIL_QUEUE_INIT_USE_MINIMUM_PRIORITY flag this should
have little impact on low core systems. However just about all modern
CPUs currently available that run Mesa have *at least* 4 cores. For
these CPUs allowing more threads can result in the queue being
processed faster and avoid excessive memory use due to a backlog of
cache entrys building up in the queue.
This change helps avoid a huge build up of cache entrys in the queue
due to using both the UTIL_QUEUE_INIT_USE_MINIMUM_PRIORITY and
UTIL_QUEUE_INIT_RESIZE_IF_FULL flags.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/util/tests/vma/meson.build')
0 files changed, 0 insertions, 0 deletions