English  |  正體中文  |  简体中文  |  全文筆數/總筆數 : 83776/83776 (100%)
造訪人次 : 59282251      線上人數 : 803
RC Version 7.0 © Powered By DSPACE, MIT. Enhanced by NTU Library IR team.
搜尋範圍 查詢小技巧:
  • 您可在西文檢索詞彙前後加上"雙引號",以獲取較精準的檢索結果
  • 若欲以作者姓名搜尋,建議至進階搜尋限定作者欄位,可獲得較完整資料
  • 進階搜尋


    請使用永久網址來引用或連結此文件: https://ir.lib.ncu.edu.tw/handle/987654321/98259


    題名: 利用 KVM Dirty Ring 加速記憶體同步以改善 NCU MFTVM 停機時間;Utilizing KVM Dirty Ring to Accelerate Memory Synchronization and Improve Downtime in the NCU MFTVM Fault-Tolerant System
    作者: 蔡景丞;Tsai, Ching-Cheng
    貢獻者: 資訊工程學系
    關鍵詞: QEMU/KVM;虛擬機器;容錯系統;記憶體同步;KVM Dirty Ring;持續同步;QEMU/KVM;Virtual Machine;Fault Tolerance;Memory Sync;KVM Dirty Ring;Continuous Checkpointing
    日期: 2025-07-17
    上傳時間: 2025-10-17 12:33:30 (UTC+8)
    出版者: 國立中央大學
    摘要: 隨著雲端運算與虛擬化技術的普及,資料中心大量依賴虛擬機器以提升資源彈性與服務可用性,但也因集中化而提高單點失效風險,使虛擬機容錯機制成為確保零停機不可或缺的關鍵。其中,記憶體同步機制是維持主要與備援虛擬機器一致性的核心技術,也是系統效能之瓶頸來源之一。本研究延續中央大學所提出的 NCU MFTVM 容錯系統進行改良,於 Ubuntu 24.04.1 LTS 與 Linux kernel v6.7.0 環境中,透過導入 KVM Dirty Ring 同步機制,取代傳統 KVM Dirty Logging 依賴的 bitmap 架構,並分析其原始實作的效能限制,進一步提出延後清除策略與同步互斥鎖擺放的優化,透過平行化與多執行緒設計,優化同步流程並減少鎖競爭對同步效能的負面影響。實驗結果顯示,優化後的 KVM Dirty Ring 在低到中高的記憶體變動頻率下,可較原系統最多減少約 12.88% 的停機時間,並提升約 5.89% 的整體系統效能;而在高記憶體變動頻率下,也可減少約 7.24% 的停機時間,並維持相當的系統效能。;With the widespread adoption of cloud computing and virtualization technologies, data centers heavily rely on virtual machines to enhance resource flexibility and service availability. However, such centralization also increases the risk of single points of failure, making virtual machine fault-tolerance mechanisms essential for ensuring zero downtime. Among these mechanisms, memory synchronization is a core technology for maintaining consistency between primary and backup virtual machines, and is also a major source of system performance bottlenecks. This study builds upon the NCU MFTVM fault-tolerant system, implementing improvements in an Ubuntu 24.04.1 LTS and Linux kernel v6.7.0 environment. By introducing the KVM Dirty Ring synchronization mechanism to replace the traditional bitmap-based KVM Dirty Logging, this research analyzes the performance limitations of the original implementation. Further, a deferred clearing strategy and optimizations in the placement of synchronization mutex locks are proposed. Through parallelization and multi-threaded design, the synchronization process is optimized and the negative impact of lock contention on synchronization performance is reduced. Experimental results show that the optimized KVM Dirty Ring can reduce downtime by up to 12.88\% and improve overall system performance by approximately 5.89\% under low to moderately high dirty rates, compared to the original system. Even under high memory dirty rates, downtime can still be reduced by about 7.24\%, while maintaining comparable system performance.
    顯示於類別:[資訊工程研究所] 博碩士論文

    文件中的檔案:

    檔案 描述 大小格式瀏覽次數
    index.html0KbHTML7檢視/開啟


    在NCUIR中所有的資料項目都受到原著作權保護.

    社群 sharing

    ::: Copyright National Central University. | 國立中央大學圖書館版權所有 | 收藏本站 | 設為首頁 | 最佳瀏覽畫面: 1024*768 | 建站日期:8-24-2009 :::
    DSpace Software Copyright © 2002-2004  MIT &  Hewlett-Packard  /   Enhanced by   NTU Library IR team Copyright ©   - 隱私權政策聲明