Swap-before-hibernate: a time efficient method to suspend an OS to a flash drive

  • Authors:
  • Shi-wu Lo;Wei-shiuan Tsai;Jeng-gang Lin;Guan-shiung Cheng

  • Affiliations:
  • National Chung-Cheng University, Taiwan, R.O.C.;National Chung-Cheng University, Taiwan, R.O.C.;National Chung-Cheng University, Taiwan, R.O.C.;National Chung-Cheng University, Taiwan, R.O.C.

  • Venue:
  • Proceedings of the 2010 ACM Symposium on Applied Computing
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

Unlike a magnetic disk, a flash drive needs no seek time when performing random access. In addition, the read speed of a flash drive is faster than the write speed, and the write speed depends on the I/O request size: the bigger the request size, the faster the write speed. System hibernation stores the machine status completely in non-volatile memory. When the system reboots, the data will be reloaded to the machine, and the system status will be recovered completely. The user can continue immediately where they stopped the last time. We use the characteristic that the flash drives requires no seek time when performing random access to write the data in the memory to swap space or a hibernation file, or simply discard it without any I/O. The write process will try to combine random small writes into continuous large writes, if possible, to optimize the write speed. When the system resumes, it only reloads the data that the user needs, and the resume technique is based on paging on demand. Paging on demand is actually a kind of random access; however, since the flash drive requires no seek time, it does not drag down the system response time due to reducing the number of I/O.