summaryrefslogtreecommitdiff
path: root/src/modules/swarm/swarm.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-06-17 18:26:50 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-06-19 15:37:14 -0700
commita2f7397d289a21d1077c205e1d3c2beee7b39ac4 (patch)
tree10a8fe46f58e0862dbd0b343baf6e5a7127e7ffe /src/modules/swarm/swarm.c
parentf1d5b79982f02c62539da2505cb8a4cd402d4969 (diff)
til: use 16 * n_cpus in til_fragmenter_slice_per_cpu()
Slight improvement of CPU utilization for fragmenters using this strategy... I noticed tile64 would give better FPS in some scenarios where it seemed obvious slice_per_cpu() was the appropriate option. And that turned out to just be by virtue of being able to give idle threads something to do while busy ones finished what was on their plate. So just make the slices a bit more granular than n_cpus... this may have to be revisited in the future to find the sweet spot, and may need to be more sophisticated than just multiplying by a constant factor.
Diffstat (limited to 'src/modules/swarm/swarm.c')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved