Re:Can you game core allocation on Apple Silicon?
by winReInstall on Tuesday November 29, 2022 @07:51AM
(#33786957)
The easy part being the "get out of the way" for a full game core. Gamedevs almost always prefer "bare" metal, with free choice of librarys and structures. If there was no OS beyond the bootloop, cheerio..
Re:Can you game core allocation on Apple Silicon?
by twoodfin on Tuesday November 29, 2022 @08:11AM
(#33787135)
My understanding is that many OS kernels into the 1980’s didn’t even have a single lock: Because the only thing that could switch the sole—this is assumed to
be a uniprocessor—running kernel “thread” was a hardware interrupt, critical sections would be protected by simply disabling interrupts.
Re:Can you game core allocation on Apple Silicon?
by monocasa on Tuesday November 29, 2022 @09:56AM
(#33788341)
Uniprocessor kernels even to today will do that. Linux without CONFIG_SMP and CONFIG_PREEMPT simply disables interrupts when the code asks for a lock. https://www.kernel.org/doc/htmldocs/kernel-locking/uniproces...
Re:Can you game core allocation on Apple Silicon?
by danielvaughn on Tuesday November 29, 2022 @04:54PM
(#33793903)
If you like the sound of "gamecore", chiptune is probably right up your alley.
(4am thoughts are sometimes intrusive.)
Also if you’re interested in this kind of thing, “operating systems in three easy pieces” was surprisingly good. https://pages.cs.wisc.edu/~remzi/OSTEP/
It’ll teach you all the history behind the OS decisions we take for granted now. I was delighted to learn that early OS’s used to have only one global lock. Sounds silly, but it’s extremely effective — HN does the same.
It has a bunch of chapters presenting these kinds of “games” user programs can play to get an advantage against the schedulers.
Also it’s $10 for instant access to a pdf. I was amazed. Buying a book is always such a hassle, except this time it was 30 seconds.