Abstract
dc:description.abstractSafe languages have been used to avoid memory safety violations in Operating Systems (OS). Software isolation techniques have been presented as a way to eschew the high cost of hardware isolation. Single Address Space/ Single Privilege Level (SAS/SPL) OSes use type and memory-safe languages to avoid system calls and changing address spaces. This thesis extends the use of safe languages in OSes to provide benefits beyond memory safety and avoiding the overhead of hardware isolation. We demonstrate that intralingual OS design, using language-level mechanisms to ensure OS correctness, allows us to build systems that can provide isolation without specialized hardware. Intralingual system design also allows us to transfer responsibilities that were previously the OS developer's to the compiler, such as memory and power management. We use Rust, a safe systems programming language with a runtime similar to C, to apply intralingual design to 4 areas: the heap, Inter-Task Communication (ITC), networking, and power management. We present a SAS heap shared by multiple processes that can decrease fragmentation by up to 30% over per-task heaps. We implement a shared-memory ITC channel that is 20% faster than the fastpath IPC of a leading microkernel. We use type safety and Rust’s ownership feature to safely share a Network Interface Card’s (NIC) resources among applications while ensuring direct access to hardware. Lastly, we demonstrate that a whole class of power management bugs can be eliminated when shifting reference counting to the compiler.
Degree
thesis:*- Name thesis:degree_name
- Master of Science
- Level thesis:degree_level
- Masters
- Discipline thesis:degree_discipline
- Engineering
- Department thesis:degree_department
- Electrical and Computer Engineering
- Grantor
- Rice University
- Year dc:date.issued
- 2020
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Ijaz, Ramla
- Advisor dc:contributor.advisor
-
- Zhong, Lin
Subjects
dc:subject × 7Rights
dc:rights- Statement dc:rights
-
- Copyright is held by the author, unless otherwise indicated. Permission to reuse, publish, or reproduce the work beyond the bounds of fair use or other exemptions to copyright law must be obtained from the copyright holder.
- Language dc:language.iso
- eng
Identifiers
dc:identifier.*- Dc Identifier Citation
- Ijaz, Ramla. "Exploring Intralingual Design in Operating Systems." (2020) Master’s Thesis, Rice University. <a href="https://hdl.handle.net/1911/109609">https://hdl.handle.net/1911/109609</a>.