Proposal: Accelerating Handling User-level Interrupts


Yifei Jiang
 

Hi all,

 

When we applied user-level interrupts in N extension to the Unix-like OS, there is no way to directly handle user-level interrupts in userspace bypassing the kernel. This makes little use of the user-level interrupt mechanism. In this proposal, we provide a hardware-assisted context switch mechanism to accelerate handling interrupts in the U-mode of Unix-like OS. Our proposal is implemented on the QEMU simulator and KVM virtualization architecture. Evaluation results show that our proposal improves the block performance by 2.63% to 7.56%. Also, more benefits can be gained by combining this proposal with some other optimizations.

 

The attachment is the detailed proposal. Any comments are welcome.

 

Regards,

Yifei

Join tech-privileged@lists.riscv.org to automatically receive all group messages.