Skip to main navigation Skip to search Skip to main content

CSR: Core surprise removal in commodity operating systems

Noam Shalev, Eran Harpaz, Hagar Porat, Idit Keidar, Yaron Weinsberg

Research output: Contribution to journalArticlepeer-review

Abstract

One of the adverse effects of shrinking transistor sizes is that processors have become increasingly prone to hardware faults. At the same time, the number of cores per die rises. Consequently, core failures can no longer be ruled out, and future operating systems for many-core machines will have to incorporate fault tolerance mechanisms. We present CSR, a strategy for recovery from unexpected permanent processor faults in commodity operating systems. Our approach overcomes surprise removal of faulty cores, and also tolerates cascading core failures. When a core fails in user mode, CSR terminates the process executing on that core and migrates the remaining processes in its run-queue to other cores. We further show how hardware transactional memory may be used to overcome failures in critical kernel code. Our solution is scalable, incurs low overhead, and is designed to integrate into modern operating systems. We have implemented it in the Linux kernel, using Haswell's Transactional Synchronization Extension, and tested it on a real system.

Original languageEnglish
Pages (from-to)773-787
Number of pages15
JournalACM SIGPLAN Notices
Volume51
Issue number4
DOIs
StatePublished - Apr 2016

Keywords

  • CPU-hotplug
  • CSR
  • Core surprise removal
  • Fault-tolerant operating system
  • Hardware transactional memory in kernel
  • Hotplug
  • Htm in kernel
  • Kernel transactions
  • OS reliability

All Science Journal Classification (ASJC) codes

  • General Computer Science

Fingerprint

Dive into the research topics of 'CSR: Core surprise removal in commodity operating systems'. Together they form a unique fingerprint.

Cite this