跳到主要內容

臺灣博碩士論文加值系統

(18.97.14.84) 您好!臺灣時間:2025/01/14 20:04
字體大小: 字級放大   字級縮小   預設字形  
回查詢結果 :::

詳目顯示

我願授權國圖
: 
twitterline
研究生:郭志謙
研究生(外文):Kuo, Chih-Chain
論文名稱:多處理機系統中之免鎖並行線性赫序
論文名稱(外文):Lock-Free Concurrent Linear Hashing in Multiprocessor Systems
指導教授:蔡志忠蔡志忠引用關係
指導教授(外文):Tsay, Jyh-Jong
學位類別:碩士
校院名稱:國立中正大學
系所名稱:資訊工程研究所
學門:工程學門
學類:電資工程學類
論文種類:學術論文
畢業學年度:81
語文別:英文
論文頁數:40
中文關鍵詞:並行並行線性赫序分散式計算法
外文關鍵詞:concurrencyconcurrent linear hashingdistributed algorithms
相關次數:
  • 被引用被引用:0
  • 點閱點閱:169
  • 評分評分:
  • 下載下載:0
  • 收藏至我的研究室書目清單書目收藏:0
對於需要大量使用者,而且容量變化大的資料庫系統而言,高度並行動態
的線性赫序是一重要設計方法。過去的並行線性赫序主要都是使用鎖的技
巧來達成行程的互斥,也就是,一個行程打算對赫序檔案讀或更改時,它
會先將赫序檔案相關的部份鎖住,再執行自己的讀寫。如此就可避免其它
行程對此部份的干擾。但無論如何,鎖的技巧是不適用於多處理機系統下
。因為鎖的一個嚴重缺點,就是當一個行程用了鎖之後,可能會使其它行
程的進行產生無法預估的延遲。這種無法預估的延遲會導至優先權的錯亂
,或造成死結,都將使整個系統的效能降低到不可忍受的程度。本論文提
出一個多處理機系統下的免鎖線性赫序的方法。這種方法的運算就不需要
行程的互斥,它保証任何活動力強的行程,能夠在任何時候對赫序檔案做
存取。如果有一行程在一個運算的中途被插斷,其它行程自己的運算不會
被耽延。在免鎖並行的資料結構上做並行運算,其行程間的協調是用
compare _and_swap,load_linked 及 store_conditional 這種同步的運
算子。在 MIPS-II 及 DEC Alpha 的結構有 load_linked 及
store_conditional運算子的提供。而這些結構已被許多的處理機系統所
使用。在系統中如果至少一個行程能夠在有限的步驟完成它的運算,我
們稱之為non- blocking。此免鎖的方法能達成高度的並行性,
nonblocking 和容錯的要求,而且更適用於多處理機系統。我們假設這多
處理機系統擁有一個共用的記憶體,且提供 load_linked,
store_conditional 及 check_valid這些同步的運算子。當然,如果能有
提供load_linked 及 store_ conditional 運算的結構,一定能容易地設
計出 check_valid的運算子。

Highly concurrent dynamic linear hashing is important for
databases designed to support a large number of users and
variability in the size of the databases. Previous concurrent
linear hashing relies typically on locking techniques to
achieve mutual exclusion: a process trying to read or modify
the hash- file will first lock relevant parts of that hashfile
to prevent interference from other processes. However, locking
is poorly suited for multiprocessor systems. A serious
disadvantage of locking is that a process holding a lock can
unexpectedly delay the progress of other processes. The
unexpected delay can result in priority inversion, convoying,
and deadlock which can degrade the performance of the system
down to an untolerated level. A lock-free implementation, on
the other hand, does not require mutual exclusion, and
guarantees that any process can access the hashfile at any time
to execute its operation. This paper presents a lock-free
implementation of dynamic linear hashing on multiprocessor
systems. We assume the multiprocessor system has a shared
memory that supports load_linked, store_conditional and
check_valid sychronization primitives. Concurrent operations
are coordinated via synchronization primitives. Our lock-free
implementation achieves high degree of concurrency, is non-
blocking and fault tolerant, and is suitable for multiprocessor
systems.

QRCODE
 
 
 
 
 
                                                                                                                                                                                                                                                                                                                                                                                                               
第一頁 上一頁 下一頁 最後一頁 top