Skip to content

anv: Set shader_spilling_rate=11

Matt Turner requested to merge mattst88/mesa:shader_spilling_rate-11 into main
anv: Set shader_spilling_rate=11

This has the best fossil-db results across in a sweep from 0..15.

fossil-db results on Alderlake:

Instructions in all programs: 152849904 -> 152824116 (-0.0%)
SENDs in all programs: 7677830 -> 7677830 (+0.0%)
Loops in all programs: 48470 -> 48470 (+0.0%)
Cycles in all programs: 11988670382 -> 11987530942 (-0.0%)
Spills in all programs: 42863 -> 41777 (-2.5%)
Fills in all programs: 77114 -> 73044 (-5.3%)

As I found there are diminishing returns for shader_spilling_rate values above 10.

I ran a sweep fossil-db with values of shader_spilling_rate from 0 (disabled) to 15 (the current default) and found that shader_spilling_rate=11 produced the fewest spills and the fewest fills. Let's go with that.

Edited by Matt Turner

Merge request reports

Loading