3 ms·
You can, at least in Linux. But in general the OS will do a better scheduling job than you will.
by davelnewton 9y ago
You can, at least in Linux. But in general the OS will do a better scheduling job than you will.
- kpil 9y agoMaybe more efficient, but the default settings put my actions in the same queue as everything else. This can be rather annoying, especially if the machine is low on memory or swapping to death. As a matter of design principle for a desktop machine, it should prioritize everything that I do. That includes not stealing the keyboard focus when I'm typing, up to the point of rolling back any popups that opened just before I started to type.
- jldugger 9y agoWell, lets just say that there's a variety of levels a desktop environment, and not all of them are immediately obvious to the OS or hardware layers. The linux kernel is designed to be generic enough to work on wifi routers, phones, laptops, and massive compute clusters. There's some thing you can do, but there's going to be a class of optimizations any general purpose OS must give up on. For example, Windows NT runs a lot of window manager stuff in kernel space (https://en.wikipedia.org/wiki/Architecture_of_Windows_NT https://en.wikipedia.org/wiki/Architecture_of_Windows_NT). Once you pull that in, the scheduler will have a richer dataset work with. But it kinda makes 32MB routers and headless servers less viable. Even Server Core still has a window manager!
- davelnewton 9y ago> not stealing the keyboard focus when I'm typing, up to the point of rolling back any popups that opened just before I started to type That's a wholly separate issue. On Linux, at least, this is configurable to an extent, although I haven't used it recently enough to be helpful. Dedicated cores are irrelevant, though.