3 ms·
I think the more interesting question here is why don't Stadia games use isocpu and sched_setaffinity to ensure their games have the best CPU cache performance
by CoolGuySteve 7y ago
I think the more interesting question here is why don't Stadia games use isocpu and sched_setaffinity to ensure their games have the best CPU cache performance and lowest latencies possible.
They control the whole box, it should be more like a console than a regular PC.
- oliwarner 7y agoI'd guess they stack more than one game instance on a single server. The instances need to play fair for resources.
- angry_octet 7y agoThere are fairly standard real time scheduling techniques to give whatever time slice you want to each process. Usually you architect it to have a small hard real time and another process for soft real time (e.g. paging data) and you use a priority queue for world updates (intersection tests, gun/missile flyout, updating other player positions). The update thread gets a minimum time quantum and then yields, round robin sharing.