Skip to main content
QUICK REVIEW

[Paper Review] Let the Cloud Watch Over Your IoT File Systems

Liwei Guo, Yiying Zhang|arXiv (Cornell University)|Feb 17, 2019
Security and Verification in ComputingComputer Science58 references3 citations
TL;DR

This paper proposes offloading OS suspend/resume operations to a low-power PM core using a software-only virtual executor that dynamically translates and executes the main CPU's unmodified kernel binary. By specializing the translation and pruning unnecessary OS functions, the approach reduces suspend/resume energy consumption by up to 70% and extends battery life by 30%, with a prototype implementation of 50.5K SLoC including 4.5K new lines.

ABSTRACT

Smart devices produce security-sensitive data and keep them in on-device storage for persistence. The current storage stack on smart devices, however, offers weak security guarantees: not only because the stack depends on a vulnerable commodity OS, but also because smart device deployment is known weak on security measures. To safeguard such data on smart devices, we present a novel storage stack architecture that i) protects file data in a trusted execution environment (TEE); ii) outsources file system logic and metadata out of TEE; iii) running a metadata-only file system replica in the cloud for continuously verifying the on-device file system behaviors. To realize the architecture, we build Overwatch, aTrustZone-based storage stack. Overwatch addresses unique challenges including discerning metadata at fine grains, hiding network delays, and coping with cloud disconnection. On a suite of three real-world applications, Overwatch shows moderate security overheads.

Motivation & Objective

  • To identify and quantify the energy inefficiencies in Linux suspend/resume on modern mobile SoCs.
  • To address the high energy cost and latency of suspend/resume caused by IO device state transitions.
  • To enable low-power execution of OS suspend/resume by offloading it to a miniature, dedicated PM core.
  • To design a software-based virtual executor that executes unmodified kernel binaries on the PM core with minimal overhead.
  • To achieve high efficiency on constrained PM cores through ISA specialization and function pruning.

Proposed method

  • Design a virtual executor that runs on a low-power PM core and directly executes the main CPU's unmodified kernel binary.
  • Implement a binary translator that performs cross-ISA translation between the main CPU and PM core, optimized for similarity between heterogeneous ISAs (e.g., ARM A-series and M-series).
  • Apply key optimizations to reduce translation overhead by 5× compared to the state of the art.
  • Introduce a function pruner that replaces generic, expensive OS functions with lightweight, specialized versions tailored to the suspend/resume path.
  • Specialize the entire system for the suspend/resume execution path rather than general-purpose kernel execution.
  • Evaluate the prototype on real mobile SoCs to measure energy savings and performance overhead.

Experimental results

Research questions

  • RQ1What are the primary sources of energy overhead in the Linux suspend/resume process on modern mobile SoCs?
  • RQ2To what extent can offloading suspend/resume to a dedicated PM core reduce overall system energy consumption?
  • RQ3Can a purely software-based virtual executor on a weak PM core achieve low enough overhead to be practical for suspend/resume workloads?
  • RQ4How effective are ISA similarity-based optimizations in reducing cross-architecture translation overhead?
  • RQ5What is the achievable energy reduction and battery life extension when replacing traditional OS suspend/resume with the proposed virtual executor?

Key findings

  • Suspend/resume operations consume up to 10× more energy than the user code they execute, primarily due to IO device state transition delays.
  • The main bottleneck in suspend/resume is IO device coordination, which is constrained by physical factors and interface standards.
  • The proposed virtual executor reduces suspend/resume energy consumption by up to 70% through offloading to a PM core.
  • The system achieves a 5× reduction in translation overhead compared to the state of the art via ISA similarity-based optimizations.
  • The prototype implementation is 50.5K SLoC, with 4.5K new lines, demonstrating practical feasibility.
  • Battery life is extended by up to 30% due to reduced suspend/resume energy costs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.