Microkernel system device driver design and optimization of the environment
|School||Shanghai Jiaotong University|
|Course||Circuits and Systems|
|Keywords||Microkernel Device driven environment MicroALSA|
Early kernel with respect to the integration of complex systems to L4 microkernel , represented only in the kernel address space reserved inter-process communication and scheduling mechanism, the generic device driver module system is relatively low. Microkernel system device driver modules running in user mode , the advantage of the module and the kernel and user space between the other modules have better isolation, its drawback is that the system micro-kernel device drivers are not unified, architecture confusion, poor portability ; microkernel system involving interactions between the various modules of the large number of system calls and data replication , so efficiency is relatively low ; device driver module loading and operational safety is also weak. This combined with the existing research results presented microkernel system versatility and reusability device driver architecture environment and to ensure the safety of loading and safety monitoring thread , and through micro-kernel system for inter-process communication to the rational design of improve the efficiency of device drivers , research has certain reference value. This paper first proposed microkernel system device drivers should be the basic elements of the environment and design programs and device drivers based L4/Fiasco in the optimization of the design environment , complete MicroALSA architecture design and implementation , so that L4/Fiasco with complete audio devices under driven architecture . MicroALSA environment using device driver architecture in Linux ALSA architecture enhance the reuse rate , call DLoader module monitoring device driver safety. Test results show that , MicroALSA architecture has higher security , the cost is in terms of performance and sound performance than the ALSA architecture reduces by 2% -7 % , relative to the security and scalability of the upgrade, this loss is acceptable. This paper presents a micro-kernel system device driver design and implementation of environmental optimization methods, and successfully achieved MicroALSA architecture. Driven environment in which the device has some innovative design , this article is designed more for the future of micro-kernel system device drivers built environment has a certain reference value.