Re:Apple M1 foreshadows Rise of RISC-V
by setpatchaddress on Sunday December 20, 2020 @11:47AM
(#25487529)
What would your goal be? I think locking a modern, general-purpose OS to a small number of cores would artificially constrain performance, assuming a reasonable scheduler.
The OS don't need that much grunt, some drivers maybe - hence one or two cores, isolated away from user software and secure.
Scheduler wise it would become easier as no juggling cycles upon main core that the OS is running upon. Whilst not hitting real-time OS levels, it would be a nice middle ground in some area's as well.
Also for cores, the OS and user software don't need the same OS when the OS is just API calls passing parameters, so would be viable to have the OS upon one core type and the user-space cores a totally different architecture. That again would add another level of security.
You can already do this. There's a kernel boot parameter called isocpu or something and the kernel will only run on the logical cpus listed. Furthermore, you can isolate your user programs. The general benefit is latency, but there's a theoretical trade-off in scheduling bandwidth. The memory heirarchy will be utilized less efficiently too.
Re:Apple M1 foreshadows Rise of RISC-V
by africanboy on Sunday December 20, 2020 @10:00AM
(#25486616)
The project HydrOS aimed to build an Erlang operating system that way: one core for the OS, one scheduler per core other than the OS one.
Unfortunately it looks the project is now abandoned
Thank you, not heard of that, had a look https://www.youtube.com/watch?v=8OyRFbf6MDk
Seems the main/only dev moved onto other things and it stagnated.
Re:Apple M1 foreshadows Rise of RISC-V
by stoat_meniscus on Sunday December 20, 2020 @10:51AM
(#25487056)
The PS3 did something like this. One processing unit of the Cell processor was reserved for the OS while the rest could be used for games.
One area that I've always wished CPU's would take would be a dedicated core or two for the OS that is completely isolated from the other cores, which would be for the software/applications you run. Now if those ran about two different architectures - darn that would be the inner geek in me appeased.