计算机科学 ›› 2014, Vol. 41 ›› Issue (10): 7-11.doi: 10.11896/j.issn.1002-137X.2014.10.002

• 2013’和谐人机环境联合学术会议 • 上一篇    下一篇

ARM-MuxOS:一台手机,多个世界

余宽隆,陈渝,茅俊杰,张磊   

  1. 清华大学计算机科学与技术系 北京100088;清华大学计算机科学与技术系 北京100088;清华大学计算机科学与技术系 北京100088;清华大学计算机科学与技术系 北京100088
  • 出版日期:2018-11-14 发布日期:2018-11-14
  • 基金资助:
    本文受国家自然科学基金项目(61170050),核高基项目(2012ZX01039-004)资助

ARM-MuxOS:A System Architecture to Support Multiple Operating Systems on Single Mobile Device

YU Kuan-long,CHEN Yu,MAO Jun-jie and ZHANG Lei   

  • Online:2018-11-14 Published:2018-11-14

摘要: 在移动设备上并发运行多个操作系统,可拓宽和多样化其使用模式,但目前采用的移动虚拟化管理系统技术会带来性能开销和多余的内存消耗。通过分析在单一移动设备上支持多个操作系统所带来的多OS内存管理和外设分配等方面挑战,研究并设计了物理内存在线分配和分时复用外设等新技术,本设计在Galaxy Nexus智能手机上最终实现了ARM-MuxOS原型系统。这一系统不仅可在单一移动设备上支持多个操作系统,而且可在内存较少的环境下管理多个OS的内存分配,避免了传统虚拟化技术的性能开销与工程量。实验结果表明,ARM-MuxOS原型系统不仅能支持Android与FireFox OS的快速并发执行,而且其性能和内存消耗优于现有的移动虚拟化管理系统。

关键词: 操作系统,移动设备,内存管理,虚拟化

Abstract: Enabling concurrent execution of multiple operating systems on mobile devices greatly extends their usage model.Mobile virtualization provides such functionality,but has poor performance.We first analyzed the challenges of allocating physical memory and sharing hardware devices among multiple general purpose operating systems on a single mobile device,designed new methods to answer these problems,and implemented a prototype of ARM-MuxOS on a Ga-laxy Nexus smartphone,which can support multiple operating systems running concurrently on it,cleverly manage its limited memory across many operating systems,and avoid the performance overhead of mobile virtualization and its required high engineering effort.Our test results show that ARM-MuxOS supports Android and Firefox OS and with an almost native performance,and it is better than current paravirtualization-based methods.

Key words: Operating systems,Mobile device,Memory management,Virtualization

[1] Labs B.CodeZero hypervisor[CP/OL].http://dev.b-labs.com/
[2] Andrus J,Dall C,Hof A V,et al.Cells:A virtual mobile smartphone architecture[C]∥Proceedings of the 23rd ACM Sympo-sium on Operating Systems Principles.2011:173-187
[3] Barr K,Bungale P,Deasy S,et al.The VMware Mobile Virtuali-zation Platform:is that a hypervisor in your pocket?[J].ACM SIGOPS Operating Systems Review,2010,44(4):124-135
[4] Dall C,Nieh J.KVM for ARM[C]∥Proceedings of the Linux Symposium.2010:47-56
[5] Xu Y,Bruns F,Gonzalez E,et al.Performance evaluation ofPara-virtualization on modern mobile phone platform[J].International Conference on Computer,Electrical,and Systems Sciences,and Engineering,2010(48):272-279
[6] Heiser G.Virtualizing embedded systems-why bother?[C]∥48th Design Automation Conference.2011:901-905
[7] Heiser G,Leslie B.The OKL4 microvisor:convergence point of microkernels and hypervisors[C]∥Proceedings of the 1st ACM Asia-Pacific Workshop on Systems.2010:19-24
[8] Sun J,Zhou D,Longerbeam S.Supporting multiple OSes with OS switching[C]∥Proceedings of the USENIX Annual Technical Conference.2007:357-362
[9] Keller E,Szefer J,Rexford J,et al.NoHype:Virtualized cloudinfrastructure without the virtualization[C]∥37th Annual International Symposium on Computer Architecture.2010:350-361
[10] Nomura Y,Senzaki R,Nakahara D,et al.Mint:Booting multiple Linux kernels on a multicore processor[C]∥Broadband and Wireless Computing,Communication and Applications (BWCCA).2011:555-560

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!