中大學術數位典藏-NCU Institutional Repository-提供博碩士論文、考古題、期刊論文、研究計畫等下載:Item 987654321/98259
English  |  正體中文  |  简体中文  |  Items with full text/Total items : 83776/83776 (100%)
Visitors : 62105949      Online Users : 1016
RC Version 7.0 © Powered By DSPACE, MIT. Enhanced by NTU Library IR team.
Scope Tips:
  • please add "double quotation mark" for query phrases to get precise results
  • please goto advance search for comprehansive author search
  • Adv. Search
    HomeLoginUploadHelpAboutAdminister Goto mobile version


    Please use this identifier to cite or link to this item: https://ir.lib.ncu.edu.tw/handle/987654321/98259


    Title: 利用 KVM Dirty Ring 加速記憶體同步以改善 NCU MFTVM 停機時間;Utilizing KVM Dirty Ring to Accelerate Memory Synchronization and Improve Downtime in the NCU MFTVM Fault-Tolerant System
    Authors: 蔡景丞;Tsai, Ching-Cheng
    Contributors: 資訊工程學系
    Keywords: QEMU/KVM;虛擬機器;容錯系統;記憶體同步;KVM Dirty Ring;持續同步;QEMU/KVM;Virtual Machine;Fault Tolerance;Memory Sync;KVM Dirty Ring;Continuous Checkpointing
    Date: 2025-07-17
    Issue Date: 2025-10-17 12:33:30 (UTC+8)
    Publisher: 國立中央大學
    Abstract: 隨著雲端運算與虛擬化技術的普及,資料中心大量依賴虛擬機器以提升資源彈性與服務可用性,但也因集中化而提高單點失效風險,使虛擬機容錯機制成為確保零停機不可或缺的關鍵。其中,記憶體同步機制是維持主要與備援虛擬機器一致性的核心技術,也是系統效能之瓶頸來源之一。本研究延續中央大學所提出的 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.
    Appears in Collections:[Graduate Institute of Computer Science and Information Engineering] Electronic Thesis & Dissertation

    Files in This Item:

    File Description SizeFormat
    index.html0KbHTML28View/Open


    All items in NCUIR are protected by copyright, with all rights reserved.

    社群 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 ©   - 隱私權政策聲明