Rice University
Supporting multiple tradeoffs in interactive systems: speed, efficiency, and security
Abstract
dc:description.abstractThe input-to-display path is an important operating system (OS) service because it determines how and when data are processed on a system. A path can be designed to deliver data fast among subsystems to achieve low latency, or a path may be designed to encrypt data during communications among subsystems to enhance the security of the system. However, today’s mobile OSes employ the same path design for all interactions. This thesis has two goals. First, we devise a system design in which application developers and users can choose from multiple path designs for their application. Second, we explore multiple path designs that operate on the aforementioned system. Due to the variety of applications and use cases, different interactions require data to be treated differently. For years, research for the various requirements is limited largely to providing a single path design specialized for each requirement. However, hardware and software improvements demand a single system to support the various applications and use cases. For example, a modern interactive system such as smartphones and tablets is often used for taking notes using its touchscreen and asks for a low latency. The same system is also used as an ebook reader and requires low energy consumption with a high resolution. And, at the same time, the system keeps sensitive information such as a user’s fingerprints and passwords with less need of low energy consumption and visual enhancements such as a high frame rate. A modern system supports this diverse sets of requirements with the same path design, which we call MONOPATH. Since hardware and software improvements are mature to support the various requirements individually, we suggest that a single system should support multiple path designs so that an application should choose the best path design for it. We also suggest that an application should be able to come with a path design so that a path design can reflect application-specific knowledge. We call the system that supports multiple tradeoffs in interactive systems as POLYPATH. With POLYPATH, we explore two path designs, a latency-optimized path design and a security-focusing path design. The latency-optimized path design eliminates synchrony from the input-to-display path and reduces the latency. We identify the multiple synchronization points in the input-to-display path of modern mobile systems as a major source of latency, contributing about 30 ms to the overall latency. The latency-optimized path design eliminates synchrony through two core modules: just-in-time trigger and position-aware rendering. More importantly, the latency reduction is complementary to that of known techniques, including faster hardware and event predictions. The security-focusing path design protects an application’s secrets against an untrusted OS and cold-boot attacks. It solves three important challenges using static and runtime protection techniques. First, to save sensitive data as an application’s context, we provide an encrypted memory region. Second, to provide integrity of the code processing sensitive data, we hide the code pages from the kernel. Third, when any sensitive data are in use, we provide control flow integrity to prevent the sensitive data from flowing into compromised code. Importantly, unlike prior work, we achieve the security without running any application logic in the trusted execution environment. With the two path designs and POLYPATH, we demonstrate that how a properly designed path with latency in mind can reduce the latency of unmodified interactive applications by close to half. We also demonstrate that how an application’s secret can be protected on a modern system without trusting the OS.
Degree
thesis:*- Name thesis:degree_name
- Doctor of Philosophy
- Level thesis:degree_level
- Doctoral
- Discipline thesis:degree_discipline
- Engineering
- Department thesis:degree_department
- Computer Science
- Grantor
- Rice University
- Year dc:date.issued
- 2018
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Yun, Min Hong
- Advisor dc:contributor.advisor
-
- Zhong, Lin
Subjects
dc:subject × 4Rights
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
- Yun, Min Hong. "Supporting multiple tradeoffs in interactive systems: speed, efficiency, and security." (2018) Diss., Rice University. <a href="https://hdl.handle.net/1911/105897">https://hdl.handle.net/1911/105897</a>.