Browse > Article

Eliminating Request Starvation due to Expectation Discrepancy between NCQ and I/O Scheduler  

Yu, Young-Jin (서울대학교 전기컴퓨터공학)
Shin, Dong-In (서울대학교 전기컴퓨터공학)
Jung, Im-Young (서울대학교 전기컴퓨터공학)
Yeom, Heon-Young (서울대학교 전기컴퓨터공학)
Abstract
Native Command Queueing is a technology to maximize throughput of disk system by reordering requests in its command queue. Recent S-ATA 2 standard specifies a protocol for the purpose of dealing with NCQ feature, making most vendors implementing it in their disk devices. However, the new feature, NCQ, may lead to information gap between OS and disk drive. 05 considers that disk will service I/O requests in the order as OS has dispatched. Unfortunately, it isn't true any more since NCQ would simply ignore the policy of OS and reorder the sequence OS has expected. Let us define the term as expectation-discord. Due to the discord, serious performance anomalies or starvation of requests may occur in I/O subsystem. In this paper, we confirm that the expectation-discord actually brings about starvation of requests. We propose a solution to settle it. Our solution is very simple, effective, cheap(not requiring any hardware modification) and portable across various OS. Experimental results show that our solution can balance throughput and response time very well.
Keywords
I/O scheduler; NCQ; expection-discord; starvation;
Citations & Related Records
연도 인용수 순위
  • Reference
1 Gregory R. Ganger, “Blurring the Line Between Oses and Storage Devices,” Technical Report CMU-CS-01-166, 2001
2 Dong In Shin and Young Jin Yu and Heon Young Yeom, “Shedding Light in the Black Box: Struc-tural Modeling of Modern Disk Drives,” 15th An-nual Meeting of the IEEE International Sympo-sium on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems, 2007   DOI
3 L. Huang and T. Chiueh, “Implementation of a rotation latency sensitive disk scheduler,” SUNY, Stony Brook Technical Report ECSL-TR81, 2000
4 Knut Grimsrud, “SATA-lO: Features Moves SATA Into Smaller Form Factors,” Intel Developer Forum (IDF) Techinical Talk, 2007
5 Christopher Lumb and Jiri Schindler and Gregory R. Ganger and Erik Riedel and David F. Nagle, “Towards Higher Disk Head Utilization: Extrac-ting “Free” Bandwidth From Busy Disk Drives,” Proc. of the 4th Symposium on Operating Systems Design and Implementation, 2000
6 G. Sivathanu and S. Sundararaman and E. Zadok, “Type-Safe Disks,” Proceedings of the 7th Sympo-sium on Operating Systems Design and Imple-mentation (OSDI'06), 2006
7 Erik Riedel and Garth A. Gibson and Christos Faloutsos, “Active Storage for Large-Scale Data Mining and Multimedia,” Proceedings of the 24th international Conference on Very Large Databases(VLDB’98), 1998
8 Mike Mesnier and Gregory R. Ganger and Erik Riedel, “Object-Based Storage,” IEEE communi-cations Magazine, Vol.41, No.8, pp. 84-90, 2003   DOI   ScienceOn
9 Muthian Sivathanu and Vijayan Prabhakaran and Florentina I. Popovici and Timothy E. Denehy and Andrea C. Arpaci-Dussseau and Remzi H. Arpaci-Dusscau, “Semantically-Smart Disk Systems,” 2nd USENIX Conference on File and Storage Techno-logies(FAST), 2003
10 S. Chen and J. A. Stankovic and J. F. Kurose and D. Towsley, “Performance Evaluation of Two New Disk Scheduling Algorithms for Real-Time Systems,” Journal of Real-Time Systems, Vol.3, pp. 307-336, 1991   DOI