在虛擬化環境中允許用戶在一台實體主機上運行多個作業系統,以達到整合資源、節省成本、簡化管理的優點。虛擬機器的資源管理因此成為重要的議題,在服務虛擬化技術中,CPU的調度是關鍵,虛擬機器如何對應實體機器的工作排程會直接影響到整體系統效能表現。 Xen所使用的Credit scheduler,排程器將虛擬CPU非同步的分配給實體CPU,但是對於並行工作而言,會造成龐大的CPU時間浪費,加入TURBO後改善了程式間同步的問題但對於平行程式而言反而使效能降低。本論文提出動態調整其排程演算法,達到在不影響平行程式之執行效能下,同時也能提升在並行程式之執行效能。
In virtualization environment, it allows the user to run multiple operating systems on a single physical machine. To achieve the advantages of integrating resources, it is important to reduce costs and simplify management. Virtual Machine management has become a very important issue. In Virtualization technology the CPU scheduling is crucial. How to adjust the virtual machine corresponding to the physical machine will affect the overall system performance. According to the Xen Credit Scheduler, each virtual CPU is asynchronously assigned to a physical CPU, but in the concurrent program it will result in considerable waste of CPU time. After using TURBO bit, it improves the problem of synchronous in each task, but it causes bad performance in parallel tasks. This paper is used a Dynamic-Adjust-Scheduler Algorithm. It can get better not only in concurrent program but also in parallel program’s performance.