Repository logo

Infoscience

  • English
  • French
Log In
Logo EPFL, École polytechnique fédérale de Lausanne

Infoscience

  • English
  • French
Log In
  1. Home
  2. Academic and Research Output
  3. Conferences, Workshops, Symposiums, and Seminars
  4. NrOS: Effective Replication and Sharing in an Operating System
 
conference paper

NrOS: Effective Replication and Sharing in an Operating System

Bhardwaj, Ankit
•
Kulkarni, Chinmay
•
Achermann, Reto
Show more
January 1, 2021
Proceedings Of The 15Th Usenix Symposium On Operating Systems Design And Implementation (Osdi '21)
USENIX Annual Technical Conference / 15th USENIX Symposium on Operating Systems Design and Implementation (OSDI)

Writing a correct operating system kernel is notoriously hard. Kernel code requires manual memory management and type-unsafe code and must efficiently handle complex, asynchronous events. In addition, increasing CPU core counts further complicate kernel development. Typically, monolithic kernels share state across cores and rely on one-off synchronization patterns that are specialized for each kernel structure or subsystem. Hence, kernel developers are constantly refining synchronization within OS kernels to improve scalability at the risk of introducing subtle bugs.

We present NrOS, a new OS kernel with a safer approach to synchronization that runs many POSIX programs. NrOS is primarily constructed as a simple, sequential kernel with no concurrency, making it easier to develop and reason about its correctness. This kernel is scaled across NUMA nodes using node replication, a scheme inspired by state machine replication in distributed systems. NrOS replicates kernel state on each NUMA node and uses operation logs to maintain strong consistency between replicas. Cores can safely and concurrently read from their local kernel replica, eliminating remote NUMA accesses.

Our evaluation shows that NrOS scales to 96 cores with performance that nearly always dominates Linux at scale, in some cases by orders of magnitude, while retaining much of the simplicity of a sequential kernel.

  • Details
  • Metrics
Type
conference paper
Web of Science ID

WOS:000696710000017

Author(s)
Bhardwaj, Ankit
Kulkarni, Chinmay
Achermann, Reto
Calciu, Irina
Kashyap, Sanidhya  
Stutsman, Ryan
Tai, Amy
Zellweger, Gerd
Date Issued

2021-01-01

Publisher

USENIX ASSOC

Publisher place

Berkeley

Published in
Proceedings Of The 15Th Usenix Symposium On Operating Systems Design And Implementation (Osdi '21)
ISBN of the book

978-1-939133-22-9

Start page

295

End page

312

Editorial or Peer reviewed

REVIEWED

Written at

EPFL

EPFL units
RS3LAB  
Event nameEvent placeEvent date
USENIX Annual Technical Conference / 15th USENIX Symposium on Operating Systems Design and Implementation (OSDI)

ELECTR NETWORK

Jul 14-16, 2021

Available on Infoscience
October 9, 2021
Use this identifier to reference this record
https://infoscience.epfl.ch/handle/20.500.14299/182046
Logo EPFL, École polytechnique fédérale de Lausanne
  • Contact
  • infoscience@epfl.ch

  • Follow us on Facebook
  • Follow us on Instagram
  • Follow us on LinkedIn
  • Follow us on X
  • Follow us on Youtube
AccessibilityLegal noticePrivacy policyCookie settingsEnd User AgreementGet helpFeedback

Infoscience is a service managed and provided by the Library and IT Services of EPFL. © EPFL, tous droits réservés