External sorting on flash storage: reducing cell wearing and increasing efficiency by avoiding intermediate writes |
| |
Authors: | Yaron Kanza Hadas Yaari |
| |
Affiliation: | 1.Jacobs Institute,Cornell Tech,New York,USA;2.Computer Science Department,Haifa University,Haifa,Israel |
| |
Abstract: | This paper studies the problem of how to conduct external sorting on flash drives while avoiding intermediate writes to the disk. The focus is on sort in portable electronic devices, where relations are only larger than the main memory by a small factor, and on sort as part of distributed processes where relations are frequently partially sorted. In such cases, sort algorithms that refrain from writing intermediate results to the disk have three advantages over algorithms that perform intermediate writes. First, on devices in which read operations are much faster than writes, such methods are efficient and frequently outperform Merge Sort. Secondly, they reduce flash cell degradation caused by writes. Thirdly, they can be used in cases where there is not enough disk space for the intermediate results. Novel sort algorithms that avoid intermediate writes to the disk are presented. An experimental evaluation, on different flash storage devices, shows that in many cases the new algorithms can extend the lifespan of the devices by avoiding unnecessary writes to the disk, while maintaining efficiency, in comparison with Merge Sort. |
| |
Keywords: | |
本文献已被 SpringerLink 等数据库收录! |
|