Yes; this is similar to what I described (not really relevant here, but I'm quite interested in the specific example you gave - can you give any pointers to more information?). I didn't say it is impossible to do, only that it is impossible for it to be reliable, ie to have any guarantee that the OS will choose the best-performing solution in all cases, which would remove the need for "manual tuning".quyxkh wrote: βMon Mar 27, 2023 8:34 pmI wouldn't go that far. Maybe nobody does it, but I'm not sure even about that - - AIX would notice when pairs of processes interfered with each other and schedule them into different cache domains, it's not hard to imagine an OS being taught to set up the performance counters so as to track cache-miss-per-retirement stats and schedule processes where they get the biggest wins.
To look at it the other way around: no matter the scheduler improvements that may be made, it remains possible that it won't be optimal for Factorio, or any other specific case. Perhaps it will get close enough, perhaps not.