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


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


    題名: 網路虛擬環境多重伺服器動態負載平衡;Multi-Server Dynamic Load Balancing for Networked Virtual Environments
    作者: 張富翔;Fu-Hsiang Chang
    貢獻者: 資訊工程學系碩士在職專班
    關鍵詞: 多人線上遊戲;網路虛擬環境;Hotspot;動態負載平衡;Massively Multi-player Online Game;Hotspot;Network Virtual Environment;Dynamic Load Balance
    日期: 2010-05-13
    上傳時間: 2010-12-09 13:48:57 (UTC+8)
    出版者: 國立中央大學
    摘要: 在網路虛擬環境(Networked Virtual Environment, NVE) 中,使用者透過網路連線在電腦產生的虛擬世界中互動,其概念被廣泛地運用在多種領域,像是軍事模擬、教育訓練和網路遊戲。例如,具有上兆美元商機的巨量多人線上遊戲(Massively Multi-player Online Game, MMOG)就是網路虛擬環境的一個例子。每天有數百萬名使用者呼朋引伴連上遊戲伺服器一起互動,為了能夠在虛擬世界中同時容納如此大量的使用者,遊戲公司必須提供足夠的伺服器才能確保遊戲進行的品質。而且日益精緻的聲光效果與更複雜的遊戲邏輯設計使得伺服器的計算負載更為沈重,而使用者高度變化的行為,讓伺服器之間的負載有極大的差異而影響系統整體效能。因此,如何考慮伺服器的容量(capacity),動態地調整伺服器的計算量以達到負載平衡而增進系統的效能也就成為一個重要的問題。 傳統的網路虛擬環境系統將虛擬世界劃分為數個固定大小的區域(region),每個區域都由一個伺服器管理,而一般由5~10個區域伺服器(region server, RS)共同管理著整個世界。當使用者聚集在一些像是市集或是演唱會場所等稱為Hotspot的特定地區時,會造成管理Hotspot所在區域的伺服器負載激增而引發負載不平衡。因為Hotspot大多數是暫時性且難以預測的,所以難以由傳統的固定式區域劃分來達成負載平衡。 在本篇論文中,我們進一步將區域劃分為許多稱為Cell的六角形小區域,提出稱為DLD (Directed Load Diffusion) 的動態負載平衡演算法,讓不同的伺服器間以移轉相鄰邊界Cell管理權的方式來達成負載的移轉。各個伺服器根據具有相鄰管理區域之伺服器的負載狀況,計算地區負載比率(Local Load Ratio, LLR)以挑選擁有最小使用率或最大剩餘容量的伺服器來進行負載轉移。如此可以讓不同容量上限的伺服器,都能維持在安全負載量(safety load ratio)以下。另外,當一個伺服器Sx超出負載上限且管理區域直接相鄰的伺服器無法完全分擔其負載時,Sx將發出強迫負載平衡請求(Forced Load Balance Request, FLB-Req),迫使管理區域直接相鄰伺服器將負載轉移至管理區域與Sx不直接相鄰的伺服器以騰出計算容量而達成負載平衡。在負載移轉時,各個伺服器會盡力維持本身管理區域形狀的連續性,以減少跨伺服器通訊的成本。 我們針對DLD演算法進行模擬實驗,以驗證其執行效能。我們並將模擬結果與相關的ProGReGA負載平衡方法的模擬結果進行比較,我們發現DLD演算法具有不錯的負載平衡特性,而且具有較低的負載移轉成本與跨伺服器通訊成本。In a networked virtual environment (NVE), users interact with each other in the computer-generated virtual world through networked links. NVEs are widely applied to a variety of areas like military simulation, education, training and network games. The massively multi-player online game (MMOG), which is nowadays a billion-dollar business, is a typical example of NVEs. Millions of users log on game servers, navigate the virtual world, and interact with each other concurrently. A good enough number of servers are provided to ensure so many concurrent users to go smoothly. However, the dynamic actions of users may lead to load unbalance among servers, so some servers may be overwhelmed and the overall system performance is degraded. Therefore how to dynamically adjust server loads with consideration of server capacities to reach load balance becomes an important issue. A traditional NVE system divides the virtual world into several fixed-sized regions, each of which is statically managed by a server. When users gather around a hotspot, the load of the server managing the region of the hotspot increases sharply. Since the occurrence of some hotspots is transient and unpredictable, it is hard to reach load balance among servers with traditional fixed-region partitioning. In this thesis, we further divide a region into many hexagonal subregions called “cells” and propose a dynamic load balancing algorithm, namely “Directed Load Diffusion (DLD), to transfer the management responsibilities of boundary cells among servers to reach server load balance. A overloaded server SX computes the local load ratio (LLR) according to loads of neighbor servers (i.e., the servers managing regions adjacent to those managed by SX) to select the neighbor server with the least utilization or maximum available capacity to transfer the load. In this way, every server keeps its load under the safety load threshold ratio (SLT). When all SX’s neighbor server is overloaded, SX will send a Forced Load Balance Request (FLB-Req) to force its neighbors to distribute their loads to their neighbors not adjacent with Sx for possible load transfer. Furthermore, a server tries to keep the property that its associated region consists of continuous cells to reduce avatar migrations and costs of inter-server communications. We have performed extensive simulation experiments to demonstrate the performance of DLD algorithm and compared the simulation results with those of the related ProGReGA algorithm. As shown in the thesis, DLD can reach relatively good load balance and has lower costs of load transfer and inter-server communications.
    顯示於類別:[資訊工程學系碩士在職專班 ] 博碩士論文

    文件中的檔案:

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


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