Hacker News new | ask | show | jobs
by Animats 1688 days ago
There's a whole series of annoying problems which come from this mix of fast and slow CPUs. I want to put the refresh thread on a fast CPU, the asset loading threads on slow CPUs, and the network update thread on something in between. How do I tell the OS that?

A problem right now is asking how much memory the GPU has. The NVidia driver for Linux will spill data out to main memory if the GPU memory fills up, but you take about a 50% performance hit when this happens. It's better to cut down distant detail and stay in fast GPU memory. But it's hard to find out how much GPU memory is available and how much a spill costs. With "onboard graphics", as in laptops, there may not be any dedicated GPU memory, so this isn't even a meaningful question.