TY - GEN
T1 - Bash on ubuntu on macOS
AU - Saeki, Takaya
AU - Nishiwaki, Yuichi
AU - Shinagawa, Takahiro
AU - Honiden, Shinichi
PY - 2017/9/2
Y1 - 2017/9/2
N2 - Linux is a popular operating system (OS) as a production environment, while many developers prefer to use macOS for their daily development. One way to deal with this situation is running Linux in a virtual machine and the other is porting development environments from Linux to macOS. However, using a virtual machine has a resource sharing problem, and porting environments is costly and often incomplete. A promising approach to low-cost and seamless resource sharing is to develop a Linux compatibility layer for macOS. Unfortunately, existing methods of implementing OS compatibility layers lack robustness or flexibility. In this paper, we propose a new architecture of OS-compatibility layers. It allows user-space implementation of the core emulation layer in the host OS to improve robustness while maintaining the flexible and powerful emulation ability without heavily depending on the host OS kernel by exploiting virtualization technology. We implemented our approach and confirmed that Ubuntu's userland runs on macOS. Our experimental results show that our approach has reasonable performance for real world applications.
AB - Linux is a popular operating system (OS) as a production environment, while many developers prefer to use macOS for their daily development. One way to deal with this situation is running Linux in a virtual machine and the other is porting development environments from Linux to macOS. However, using a virtual machine has a resource sharing problem, and porting environments is costly and often incomplete. A promising approach to low-cost and seamless resource sharing is to develop a Linux compatibility layer for macOS. Unfortunately, existing methods of implementing OS compatibility layers lack robustness or flexibility. In this paper, we propose a new architecture of OS-compatibility layers. It allows user-space implementation of the core emulation layer in the host OS to improve robustness while maintaining the flexible and powerful emulation ability without heavily depending on the host OS kernel by exploiting virtualization technology. We implemented our approach and confirmed that Ubuntu's userland runs on macOS. Our experimental results show that our approach has reasonable performance for real world applications.
KW - Operating system compatibility
KW - Virtualization
UR - http://www.scopus.com/inward/record.url?scp=85030560484&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85030560484&partnerID=8YFLogxK
U2 - 10.1145/3124680.3124733
DO - 10.1145/3124680.3124733
M3 - Conference contribution
AN - SCOPUS:85030560484
T3 - Proceedings of the 8th Asia-Pacific Workshop on Systems, APSys 2017
BT - Proceedings of the 8th Asia-Pacific Workshop on Systems, APSys 2017
PB - Association for Computing Machinery, Inc
T2 - 8th ACM Asia Pacific Conference on Systems, APSys 2017
Y2 - 2 September 2017
ER -