NEWS LAB 薛智文 嵌入式系統暨無線網路實驗室 cwhsueh@csie.ntu.edu.tw (Embedded Systems and Wireless Networking Laboratory) Real-Time System Software Group 薛智文 cwhsueh@csie.ntu.edu.tw http://www.csie.ntu.edu.tw/~chsueh/ 99 專題 April 29th
Virtualization Software Architecture - Hypervisor in BIOS Booting example DomF0 Dom0 DomU Windows Android … Linux 2 payload 3 3 hypervisor 1 BIOS hardware /12
A Fake Domain 0 An example of device architecture … hypervisor BIOS DomF0 Dom0 DomU Windows Android … Linux Real Driver Back-End Driver Front-End Driver payload hypervisor pass-through BIOS hardware eth0 /12
Application Scenario - Instant On VM #2 VM #1 VM #3 Windows Android … Linux 2 3 3 hypervisor 1 BIOS hardware /12
Application Scenario - Local Remote Task Background Linux Android μC/OS-II VM #1 VM #2 VM #3 … AP execute AP execute AP execute Shared Storage virtual binary loader Main VM Windows AP display AP display AP display /12
Local Remote Task /12
Task Migration - Between Linux Two ways to implement in different spaces user space VM #1, Linux VM #2, Linux AP AP migrate proc kernel space kernel module kernel module kernel kernel /12
OS Migration Through the hypervisor, virtual machines (or guest OSes) can be migrated. Xen already supports. We want to make it more smooth and fast. VM#1 VM#2 VM#1 VM#2 … … migrate hypervisor hypervisor hardware hardware /12
Task Migration Application - A Portable Task USB disk If we support task migration, storing the task state and data to a USB disk is possible. We can build an ELF binary or a PE binary which contains these data. Just double click this binary! Then, a task can be resumed on another machine. VM #1, Linux ELF Header AP … Migrate … /12
Task Migration Application - Energy Consumption Reduction For example, when users leave their office or lab, but they still want some tasks alive, e.g. email client, file downloader. Through task migration, the tasks on original machines can be migrated to server, and these machines can be shut down to reduce energy consumption. Machine in Office Server 2 1 AP AP migrate shutdown /12
Task Migration Application - A Peer to Peer Download Task migration between different OSes Windows Network Andriod … P2P Client P2P Client Your Machine P2P Client migrate Linux Remote Host P2P Client Linux P2P Client /12
AUTONOMOUS unique ID transparent portable social network open source b2b small business transaction cloud b2b small business transaction /12
便當訂送系統目標 P2P :自主,少剝削 客戶即時訂附近最新菜色最低價格 店家即時更新最新菜色最低價格 訂1個+0-5元, 2個+0-3, 3個+0, 10個-Y 自動轉帳 遞送者可送不同店家便當到同一地點 程式維護人員對店家抽成 /12
What do you/we need to do? At least, regular meeting and discussion. It is autonomous, anyone share the result. Send me email if you are interested. /12