中大學術數位典藏-NCU Institutional Repository-提供博碩士論文、考古題、期刊論文、研究計畫等下載:Item 987654321/98259
English  |  正體中文  |  简体中文  |  全文笔数/总笔数 : 83776/83776 (100%)
造访人次 : 62105973      在线人数 : 1011
RC Version 7.0 © Powered By DSPACE, MIT. Enhanced by NTU Library IR team.
搜寻范围 查询小技巧:
  • 您可在西文检索词汇前后加上"双引号",以获取较精准的检索结果
  • 若欲以作者姓名搜寻,建议至进阶搜寻限定作者字段,可获得较完整数据
  • 进阶搜寻


    jsp.display-item.identifier=請使用永久網址來引用或連結此文件: 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.html0KbHTML28检视/开启


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