Re: About exokernels...
Posted: Wed Feb 19, 2014 2:55 am
Hi,
Wrong. The end user only knows when they want load to be migrated (and don't know when load should be migrated); and typically can't "baby sit" the OS and make changes in real time anyway. Of course in theory it's possible for "what the user wants" and "what should happen" to coincide (in a "stopped clock is right twice a day" way); but in practice it's hard enough just finding a normal user that, when asked to point at their computer, doesn't point at their monitor.
Total score for this quiz: 0/5. Better luck next time...
Cheers,
Brendan
Wrong. The end user only starts tasks and never says when their actually given CPU time.Combuster wrote:Lets honour your request and make your life difficult in return:The end user. It chooses which tasks the computer should do and therefore what the computer must put time spending.Brendan wrote:No it's not that simple. Answer these questions:
[*]What actually determines who gets CPU time when (each individual process or the kernel)?
Wrong. "What" is always different to "when", "why" and "how". A process might say what to read, but doesn't determine when (or how, that's the driver's job).Combuster wrote:The user and the process. The kernel can't know what to read until it is explicitly told to. If there's no file loaded ever, the kernel has no clue what to prefetch either.[*]What actually determines when to read data, whether it be a high priority read or a prefetch, (each individual process or the kernel)?
Wrong. When the user is around, but there's 16 CPUs that are mostly doing nothing most of the time (waiting for the user to press a key) it makes sense for kernel to send 8 or more CPUs into a power saving state. Alternatively, when the user is not around the OS should be updating software, de-fragmenting disk and/or serving web pages. Mostly, power management depends on average CPU usage (and average CPU usage may or may not be effected by user presence), and only the kernel really knows about average CPU usage.Combuster wrote:When the user is around or not.[*]What actually determines when a CPU should enter a power management state (each individual process or the kernel)?
[/quote]Combuster wrote:The end user?[*]What actually determines when load should be migrated between CPUs (each individual process or the kernel)?
Wrong. The end user only knows when they want load to be migrated (and don't know when load should be migrated); and typically can't "baby sit" the OS and make changes in real time anyway. Of course in theory it's possible for "what the user wants" and "what should happen" to coincide (in a "stopped clock is right twice a day" way); but in practice it's hard enough just finding a normal user that, when asked to point at their computer, doesn't point at their monitor.
Total score for this quiz: 0/5. Better luck next time...
Cheers,
Brendan