회복 가능한 상호 배제와 중단 가능성
Recoverable Mutual Exclusion with Abortability
Recoverable Mutual Exclusion with Abortability
@misc{jayanti2020recoverable,
title = {Recoverable Mutual Exclusion with Abortability},
author = {Prasad Jayanti and Anup Joshi},
year = {2020},
eprint = {2012.03140},
archivePrefix = {arXiv},
primaryClass = {cs.DC},
url = {https://arxiv.org/abs/2012.03140}
}
Jayanti, P., & Joshi, A. (2020). Recoverable Mutual Exclusion with Abortability [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2012.03140
JAYANTI P, JOSHI A. Recoverable Mutual Exclusion with Abortability[EB/OL]. (2020-12-05)[2026-11-29]. https://arxiv.org/abs/2012.03140.
초록
비휘발성 메인 메모리 (NVRAM) 기술의 최근 발전은 프로세스 충돌에 견고한 알고리즘 설계 연구에 이동을 촉발시켰다. 본 논문은 회귀 논문 citejayanti:rmeabort 의 확장판으로, abortability 를 지원하는 첫 번째 Recoverable Mutual Exclusion (RME) 알고리즘을 제시한다. 우리의 알고리즘은 다중 프로세서에서 일반적으로 지원되는 읽기, 쓰기, 그리고 CAS (Compare-and-Swap) 연산만을 사용한다. FCFS 와 기타 표준 속성을 만족하며, 또한 적응형 (adaptive) 이다. DSM 과 Relaxed-CC 다중 프로세서에서, 프로세스는 통과 (passage) 에서 O(min(k, log n)) RMRs 를, 시도 (attempt) 에서 O(f+ min(k, log n)) RMRs 를 발생시키며, 여기서 n 는 알고리즘이 설계된 프로세스의 수, k 는 통과나 시도의 contention point, f 는 시도 동안 p 이 충돌한 횟수이다. Strict CC 다중 프로세서에서는 통과와 시도 복잡성이 각각 O(n) 과 O(f+n) 이다. Attiya et al. 은, 읽기, 쓰기, CAS 연산만을 사용하는 어떤 mutual exclusion 알고리즘이라도 프로세스가 통과에서 최소 Omega(log n) RMRs 를 발생시킨다는 것을 증명했다 citeAttiya:lbound. 이 하한은 우리의 알고리즘이 DSM 과 Relaxed CC 다중 프로세서에 대해 최악의 경우 RMR 복잡성이 최적임을 함의한다.
Recent advances in non-volatile main memory (NVRAM) technology have spurred research on designing algorithms that are resilient to process crashes. This paper is a fuller version of our conference paper citejayanti:rmeabort, which presents the first Recoverable Mutual Exclusion (RME) algorithm that supports abortability. Our algorithm uses only the read, write, and CAS operations, which are commonly supported by multiprocessors. It satisfies FCFS and other standard properties. Our algorithm is also adaptive. On DSM and Relaxed-CC multiprocessors, a process incurs O(min(k, log n)) RMRs in a passage and O(f+ min(k, log n)) RMRs in an attempt, where n is the number of processes that the algorithm is designed for, k is the point contention of the passage or the attempt, and f is the number of times that p crashes during the attempt. On a Strict CC multiprocessor, the passage and attempt complexities are O(n) and O(f+n). Attiya et al. proved that, with any mutual exclusion algorithm, a process incurs at least Omega(log n) RMRs in a passage, if the algorithm uses only the read, write, and CAS operations citeAttiya:lbound. This lower bound implies that the worst-case RMR complexity of our algorithm is optimal for the DSM and Relaxed CC multiprocessors.