zlacker

[parent] [thread] 3 comments
1. dmitry+(OP)[view] [source] 2025-03-26 20:32:08
We are about as far from it as we were when we lived in caves and banged rocks together.
replies(1): >>mrtksn+Y
2. mrtksn+Y[view] [source] 2025-03-26 20:37:10
>>dmitry+(OP)
I'm not so sure about that anymore
replies(1): >>dmitry+K2
◧◩
3. dmitry+K2[view] [source] [discussion] 2025-03-26 20:46:51
>>mrtksn+Y
Tell your A"I" to generate you an SMP-capable scheduler, aware that each core cluster can be of a different perf and power consumption class. Not a vague explanation of one. Real code, please. Let me know how that goes for you. That is one of 1e9 problems that need to be solved to make a modern OS, not even one of the harder ones.
replies(1): >>alexvi+Rl9
◧◩◪
4. alexvi+Rl9[view] [source] [discussion] 2025-03-30 10:02:40
>>dmitry+K2
You don't have to replicate all the insanity that goes on in a modern OS.

Lock threads to a particular core on creation, every core does a Round-robin over all threads. You're 50% there.

Have the core detect congestion, and move yeet threads to another random core when it's congested. You're 75% there.

Use three lists for priorities instead of one. You're 90% there.

Make up for the other 10% with sane design in other subsystems.

[go to top]