Exploring the data locality of On-board disk cache

5 downloads 0 Views 615KB Size Report
Disk drives has long been a performance bottleneck with computer systems due to the mechanical characteristics. ▫ Disk cache is an effective way to improve.
ICITIS会议资料

Exploring the data locality of On-board disk cache Prof. Yuhui Deng (邓玉辉) Department of Computer Science Jinan University 灵创国际交流中心(www.leaderstudio.net.)下载

ICITIS会议资料

Agenda „ „ „ „ „ „ „ „

Hard disk drives Motivation Roles of the on-board disk cache Locality Experimental evaluation Impact of prefetching Impact of write cache Discussion 灵创国际交流中心(www.leaderstudio.net.)下载

ICITIS会议资料

Hard Disk Driver

(1) Serial Advanced Technology Attachment (SATA) (2) Enhanced Integrated Drive Electronics (EIDE) 灵创国际交流中心(www.leaderstudio.net.)下载

(3) Small Computer System Interface (SCSI)

(4) Fiber Channel (FC),

ICITIS会议资料

Motivation „

„

„

Disk drives has long been a performance bottleneck with computer systems due to the mechanical characteristics. Disk cache is an effective way to improve the performance by avoiding the mechanical latency. Almost all modern disk drives employ a small amount of on-board cache (SRAM) (usually less than 32MB) as a staging area to improve the performance of disk drives. 灵创国际交流中心(www.leaderstudio.net.)下载

ICITIS会议资料

Roles of the on-board disk cache „ „

„ „

A working memory for disk firmware; A speed matching buffer between the disk media and the disk interface; A prefetch buffer; A read/write cache.

The prefetch and read/write cache take advantage of the spatial locality and temporal locality to improve performance, respectively. 灵创国际交流中心(www.leaderstudio.net.)下载

ICITIS会议资料

Locality „

„

Spatial locality: It implies that if a block is referenced, then nearby blocks will also soon be accessed. Temporal locality: It implies that a referenced block will tend to be referenced again in the near future. 灵创国际交流中心(www.leaderstudio.net.)下载

ICITIS会议资料

Experimental evaluation

灵创国际交流中心(www.leaderstudio.net.)下载

ICITIS会议资料

Impact of prefetching

灵创国际交流中心(www.leaderstudio.net.)下载

ICITIS会议资料

Impact of write cache

灵创国际交流中心(www.leaderstudio.net.)下载

ICITIS会议资料

Discussion Static write cache has negligible impacts. „ The write requests do not have too much interference with the read streams. „ The impact of write cache size has negligible performance variation. „

灵创国际交流中心(www.leaderstudio.net.)下载

Why? „

„ „ „

ICITIS会议资料

Modern computers normally employ a few GB host memory. Any data rewritten will be rewritten in the host memory rather than the small on-board disk cache. EMC 8830 storage array adopts 64GB memory, HP rp7400 server employs 32GB memory. Even a high-performance laptop normally uses a few GB memory. 灵创国际交流中心(www.leaderstudio.net.)下载

ICITIS会议资料

Conclusion „

„

The I/O traffic at the disk level does not demonstrate strong temporal locality. We believe it is better to leave the disk cache shared by both the write and read streams.

灵创国际交流中心(www.leaderstudio.net.)下载

ICITIS会议资料

References „ „

„ „ „ „

„

A. J. Smith. Disk cache-miss ratio analysis and design considerations. ACM Transactions on Computer Systems, 3(3):161–203, 1985. E. V. Carrera and R. Bianchini. Improving Disk Throughput in DataIntensive Servers. In Proceedings of the 10th International Symposium on High-Performance Computer Architecture. 2004. Chris Ruemmler and John Wilkes. An introduction to disk drive modeling. Computer.Vol.27, No.3, 1994, pp.17-28. Alma Riska, Erik Riedel. Idle Read After Write-IRAW. In proceedings of USENIX 2008 Annual Technical Conference.2008. pp.43-56. Y. Deng, F. Wang, and N. Helian, EED: energy efficient disk drive architecture, Information Sciences, 178(22) (2008) 4403-4417. Y. Deng, B. Pung. Conserving Disk Energy in Virtual Machine Based Environments by Amplifying Bursts. Computing. Springer Science. (DOI: 10.1007/s00607-010-0083-2). Y.Deng .What is the future of disk drives, death or rebirth? ACM Computing Surveys. (Accepted) 灵创国际交流中心(www.leaderstudio.net.)下载

ICITIS会议资料

Thanks and Questions!

灵创国际交流中心(www.leaderstudio.net.)下载

Suggest Documents