u/wuweei

MLFQ in modern systems

Modern systems using MLFQ what happens to interactive process(high I/O) in long run if it gets below CPU-bound process(es) in queue? Will user feel the freeze? I read that modern MLFQ follow fairness rule that every process will eventually get at the top and ones using allotment will go down, that means interactive process can get hidden below CPU-bound no?

reddit.com
u/wuweei — 4 days ago

What does hardware means in trap table

In the book Operating Systems: Three Easy Pieces author says this:

>The kernel does so by setting up a trap table at boot time. When the machine boots up, it does so in privileged (kernel) mode, and thus is free to configure machine hardware as need be. One of the first things the OS thus does is to tell the hardware what code to run when certain exceptional events occur.

By hardware does author mean CPU? Because if it means keyboard or disk as hardware, for example does keyboard know what code to run when certain exceptional events occur?

reddit.com
u/wuweei — 11 days ago