| | |
Summary: Anonymous RPC:
LowLatency Protection in a 64Bit Address Space
Curtis Yarvin, Richard Bukowski, and Thomas Anderson
Computer Science Division
University of California at Berkeley
Abstract
In this paper, we propose a method of reducing the latency of crossdomain remote procedure
call (RPC). Traditional systems use separate address spaces to provide memory protection
between separate processes, but even with a highly optimized RPC system, the cost of switching
between address spaces can make crossdomain RPC's prohibitively expensive.
Our approach is to use anonymity instead of hardware page tables for protection. Logically
independent memory segments are placed at random locations in the same address space and
protection domain. With 64bit virtual addresses, it is unlikely that a process will be able to
locate any other segment by accidental or malicious memory probes; it impossible to corrupt
a segment without knowing its location. The benefit is that a crossdomain RPC need not
involve a hardware context switch. Measurements of our prototype implementation show that
a roundtrip null RPC takes only 7.7¯s on an Intel 48633.
1 Introduction
A traditional function of operating systems is providing protection domains, or areas of memory
accessible only by the process which owns them. UNIX, for example, keeps every process in an entirely
|