preventing performance degradation on operating system reboots

7
Preventing Performance Degradation on Operating System Reboots Kenichi Kourai Tokyo Institute of Technology

Upload: lainey

Post on 05-Jan-2016

31 views

Category:

Documents


2 download

DESCRIPTION

Preventing Performance Degradation on Operating System Reboots. Kenichi Kourai Tokyo Institute of Technology. Motivation. OS reboot is not avoidable Many bugs in OSes Simple method for software rejuvenation Performance degradation after OS reboot The file cache is lost - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Preventing  Performance Degradation on Operating System Reboots

Preventing Performance Degradation

on Operating System Reboots

Kenichi Kourai

Tokyo Institute of Technology

Page 2: Preventing  Performance Degradation on Operating System Reboots

Motivation

OS reboot is not avoidableMany bugs in OSesSimple method for software

rejuvenation

Performance degradation after OS rebootThe file cache is lostDisk access conflicts between

virtual machines (VMs)

VM VM

sharedphysical disk

Page 3: Preventing  Performance Degradation on Operating System Reboots

Warm-cache Reboot

A new reboot mechanism to prevent the performance degradationEnables an OS to reuse the file cachePreserves the integrity of the file cache

Our claimThe file cache does not need to be

discarded if its integrity is preservedThe purpose of OS reboot is to initialize its

internal state or to update its components

Page 4: Preventing  Performance Degradation on Operating System Reboots

The warm-cache reboot preserves cache pages on memory during OS rebootThe VMM allocates the same memory

to VMsThe OS maintains a cache-mapping

table

Preserving the File Cache

virtual machine monitor (VMM)

cache-mappingtable

OS

cache pageVM

Page 5: Preventing  Performance Degradation on Operating System Reboots

Protecting the File Cache

Cache pages are write-protectedThe VMM reads file blocks into a

protected cache pageThe VMM maintains a reuse flag

diskvirtual machine monitor (VMM)

OS

VM

write-protected

readset a reuse flag

Page 6: Preventing  Performance Degradation on Operating System Reboots

Experiment

Power test in DBT-3To examine the

performance just afterOS reboot

ResultsWarm-cache reboot

No performance degradation

Normal rebootDegraded by 67%

before after

VMM: Xen 3.0.0OS: Linux 2.6.12CPU: dual-core Opteron x2Memory:12 GBDisk: Ultra SCSI

Page 7: Preventing  Performance Degradation on Operating System Reboots

Conclusion

We proposed the warm-cache rebootPreserves the file cache during OS

rebootProtects cache pages using the VMM

Related workRio file cache [Chen et al.'96]

Preserves dirty file cache for reliability Warm-VM reboot [Kourai et al. '07]

Preserves VMs during VMM reboot