{"id":{"repo_id":"rice","oai_identifier":"oai:repository.rice.edu:1911/113886"},"canonical_url":"https://search.ndltd.org/etd/rice/oai:repository.rice.edu:1911/113886","repository":{"repo_id":"rice","name":"Rice University","base_url":"https://repository.rice.edu/server/oai/request"},"display":{"title":"Fault Recovery in Theseus OS","abstract":"This work describes the implementation and evaluation of fault recovery in the Theseus Operating System (OS), a new OS developed from scratch. Theseus features a modular structure, a collection of tiny modules that minimize the states they hold for each other. Theseus is implemented using a safe programming language, Rust, and leverages the compiler to ensure type and memory safety to achieve isolation among tasks. Fault recovery is essential in Theseus as a faulty task can potentially corrupt any OS structure, in the absence of hardware provided isolation. We implement a series of fault recovery mechanisms on Theseus that take increasingly drastic measures to recover, if recovery was unsuccessful at the previous stage. At first we fully unwind and restart faulty tasks. If the fault is persistent, we replace potentially corrupted modules by loading fresh copies of those modules from the disk to a different location in memory. We evaluate Theseus’s ability to recover from faults by stress testing our fault recovery implementation in the presence of hardware faults. Furthermore, we show that Theseus can recover from faults occurring in core OS components, e.g., those that necessarily exist within a microkernel, which goes beyond the capabilities of existing works.","abstract_html":"This work describes the implementation and evaluation of fault recovery in the Theseus Operating System (OS), a new OS developed from scratch. Theseus features a modular structure, a collection of tiny modules that minimize the states they hold for each other. Theseus is implemented using a safe programming language, Rust, and leverages the compiler to ensure type and memory safety to achieve isolation among tasks. Fault recovery is essential in Theseus as a faulty task can potentially corrupt any OS structure, in the absence of hardware provided isolation. We implement a series of fault recovery mechanisms on Theseus that take increasingly drastic measures to recover, if recovery was unsuccessful at the previous stage. At first we fully unwind and restart faulty tasks. If the fault is persistent, we replace potentially corrupted modules by loading fresh copies of those modules from the disk to a different location in memory. We evaluate Theseus’s ability to recover from faults by stress testing our fault recovery implementation in the presence of hardware faults. Furthermore, we show that Theseus can recover from faults occurring in core OS components, e.g., those that necessarily exist within a microkernel, which goes beyond the capabilities of existing works.","abstract_has_math":false,"creators":["Godawatte Liyanage, Namitha"],"institution":"Rice University","degree_name":"Master of Science","degree_level":"Masters","degree_discipline":"Engineering","degree_department":"Electrical and Computer Engineering","school":null,"contributors":[],"advisors":["Zhong, Lin"],"committee_chairs":[],"committee_members":[],"year":2021,"date_issued":"2021-02-10","date_published":"2021-02-10","updated_at":"2026-11-19T09:23:21Z","subjects":["Theseus","fault recovery","Rust","OS"],"languages":["eng"],"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."],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Godawatte Liyanage, Namitha. \"Fault Recovery in Theseus OS.\" (2021) Master’s Thesis, Rice University. https://hdl.handle.net/1911/113886"],"render_values":[{"text":"Godawatte Liyanage, Namitha. \"Fault Recovery in Theseus OS.\" (2021) Master’s Thesis, Rice University. https://hdl.handle.net/1911/113886","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1911/113886","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1911/113886","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Arice%3Aoai%3Arepository.rice.edu%3A1911%2F113886","prefix":"oai_dc"},"source_record":{"url":"https://repository.rice.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Arepository.rice.edu%3A1911%2F113886","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Zhong, Lin"]},{"key":"dc:creator","label":"Author","values":["Godawatte Liyanage, Namitha"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2022-11-10T16:45:01Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2022-11-10T16:45:01Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2021-05"]},{"key":"dc:date.issued","label":"Date","values":["2021-02-10"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["May 2021"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2022-11-10T16:45:01Z"]},{"key":"dc:type","label":"Dc Type","values":["Thesis","Text"]},{"key":"thesis:degree_department","label":"Department","values":["Electrical and Computer Engineering"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Engineering"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Rice University"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Theseus","fault recovery","Rust","OS"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["eng"]},{"key":"dc:rights","label":"Dc Rights","values":["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."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Godawatte Liyanage, Namitha. \"Fault Recovery in Theseus OS.\" (2021) Master’s Thesis, Rice University. https://hdl.handle.net/1911/113886"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1911/113886"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["This work describes the implementation and evaluation of fault recovery in the Theseus Operating System (OS), a new OS developed from scratch. Theseus features a modular structure, a collection of tiny modules that minimize the states they hold for each other. Theseus is implemented using a safe programming language, Rust, and leverages the compiler to ensure type and memory safety to achieve isolation among tasks. Fault recovery is essential in Theseus as a faulty task can potentially corrupt any OS structure, in the absence of hardware provided isolation. We implement a series of fault recovery mechanisms on Theseus that take increasingly drastic measures to recover, if recovery was unsuccessful at the previous stage. At first we fully unwind and restart faulty tasks. If the fault is persistent, we replace potentially corrupted modules by loading fresh copies of those modules from the disk to a different location in memory. We evaluate Theseus’s ability to recover from faults by stress testing our fault recovery implementation in the presence of hardware faults. Furthermore, we show that Theseus can recover from faults occurring in core OS components, e.g., those that necessarily exist within a microkernel, which goes beyond the capabilities of existing works."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Fault Recovery in Theseus OS"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Zhong, Lin"],"dc:creator":["Godawatte Liyanage, Namitha"],"dc:date.accessioned":["2022-11-10T16:45:01Z"],"dc:date.available":["2022-11-10T16:45:01Z"],"dc:date.created":["2021-05"],"dc:date.issued":["2021-02-10"],"dc:date.submitted":["May 2021"],"dc:date.updated":["2022-11-10T16:45:01Z"],"dc:description.abstract":["This work describes the implementation and evaluation of fault recovery in the Theseus Operating System (OS), a new OS developed from scratch. Theseus features a modular structure, a collection of tiny modules that minimize the states they hold for each other. Theseus is implemented using a safe programming language, Rust, and leverages the compiler to ensure type and memory safety to achieve isolation among tasks. Fault recovery is essential in Theseus as a faulty task can potentially corrupt any OS structure, in the absence of hardware provided isolation. We implement a series of fault recovery mechanisms on Theseus that take increasingly drastic measures to recover, if recovery was unsuccessful at the previous stage. At first we fully unwind and restart faulty tasks. If the fault is persistent, we replace potentially corrupted modules by loading fresh copies of those modules from the disk to a different location in memory. We evaluate Theseus’s ability to recover from faults by stress testing our fault recovery implementation in the presence of hardware faults. Furthermore, we show that Theseus can recover from faults occurring in core OS components, e.g., those that necessarily exist within a microkernel, which goes beyond the capabilities of existing works."],"dc:format.mimetype":["application/pdf"],"dc:identifier.citation":["Godawatte Liyanage, Namitha. \"Fault Recovery in Theseus OS.\" (2021) Master’s Thesis, Rice University. https://hdl.handle.net/1911/113886"],"dc:identifier.uri":["https://hdl.handle.net/1911/113886"],"dc:language.iso":["eng"],"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."],"dc:subject":["Theseus","fault recovery","Rust","OS"],"dc:title":["Fault Recovery in Theseus OS"],"dc:type":["Thesis","Text"],"others:access_status":["open.access"],"thesis:degree_department":["Electrical and Computer Engineering"],"thesis:degree_discipline":["Engineering"],"thesis:degree_level":["Masters"],"thesis:degree_name":["Master of Science"],"thesis:institution_name":["Rice University"]},"updated_at":"2026-11-19T09:23:21Z"}