https://discord.com/channels/489222168727519232/1229522160364683305/1232438969606606972
A simple job chain where job B depends on job A exposes a serious performance problem when scheduled as a batch. Many jobs will execute and start calling job complete which causes the job index to be freed. However, the job allocator itself is not contention free and we end up hitting the same cache line and serializing all execution which leads to significant execution overhead.
Steps to reproduce:
1.
2.
3.
Actual results:
Expected results:
Reproducible with versions:
Not reproducible with versions:
Can’t test with versions:
Tested on (OS):
Notes: