Memory Management: Address Translation Efficiency and Protection

455
7.6
Опубликовано 19 марта 2019, 18:31
The efficiency of virtual memory support has received considerable attention as modern architectures and operating systems adapt to workloads with increasing instruction and data sizes. Even on modern processors with their ever larger translation lookaside buffers (TLB), a variety of widely-used applications on desktop, server, and mobile platforms suffer from high address translation overhead. Most of the attention so far has been focused on data. However, our analysis shows that modern applications spend up to 12% of execution time servicing instruction address translation. They have increasingly large main executables and invoke a considerable number of shared libraries. The instruction and data address translation compete for space on the shared TLB.



In this talk, I will introduce an OS-level approach to improving the instruction address translation performance of Android applications. Although the physical memory of the shared libraries is shared, in today's OSes, each application has private page table and TLB entries. Due to the Android process creation model, the address translation information of the commonly-used shared libraries is identical across all Android applications, resulting in duplication. Our design eliminates the duplication by sharing page table and TLB entries for shared libraries across all Android applications, resulting in, for example, a 2.1x speedup for executing fork. In addition, address translation can also be leveraged to launch powerful side-channel attacks. Compromised operating systems may be leveraged to track changes to page tables and thereby infer access behavior of the victims. I will also describe our defenses against page table and last-level cache side-channel attacks launched by a compromised OS in a trusted execution environment.

See more at microsoft.com/en-us/research/v...
Случайные видео
18 дней – 37 5705:38
Quick Look at Sony's PlayStation 5 Pro!
90 дней – 6150:22
Cat Adventure
141 день – 252 31710:44
Apple Watch X (2024) - THIS is it!
328 дней – 50 5551:11
2024 Channel Trailer
29.06.13 – 51 5621:18:42
June 28th, 2013 Live Stream Archive
автотехномузыкадетское