Micro2023: Utopia
[^0]: Additionally, the name “Utopia” translates to 乌托邦
in Chinese.
Author and Affiliation
The mastermind behind this work is Onur Mutlu, a prominent figure at ETH Zürich. The primary author^2, a rising star in the realm of Processing-in-Memory (PIM).
background
- four-level radix-tree PT
- Two trends to reduce the PTW overhead:
- PWC
- hash-based address mapping scheme
Motivation
The motivation behind this research is to create a system that combines both flexible and restrictive address mapping schemes to harness the advantages of each. This strategic decision is visualized in the following flow chart:
Difficulty
- identifying the candidates (potential situation)
- efficiently managing the co-existence of system design(1)
- extend system to support new way with minimal overhead on existing hardware solution
When to use contential way?
- support conventional virtual memory features such as data sharing
- OOM: avoid accesses to the swap space when data does not fit inside a restrictive segment.
2. Q2: how is it deal with traditional hash-based drawback: 1. hash conflict 2. PA component. e.g., cache-like RestReg how to deal when the way is full
1. A: Utopia allocates a page in a FlexSeg in two cases: (i) when the corresponding page gets evicted from a RestSeg or (ii) when there is not enough free memory space in any RestSeg.
3. What is `FSM` in diagram
1. In order to minimize the latency of a page walk, the PMH is implemented as a **Finite-State Machine (FSM)**.[^3]
2. Q3: **identifies** and maps costly-to-translate addresses to RestSegs
1. A3: 1. All Page-Fault-based Page Allocation in the RestSeg 2. monitor PTE in FlexSeg, if used frequent, move to RestSeg
相对于 NAT,Utopia 重点在于如何结合两者: 1. 物理地址的划分和存储 2. 相互如何转换 3. OS的支持
(iv) how Utopia decides which data should be placed into a RestSeg (Challenge 1), (§5.5).
(v) the OS extensions to enable Utopia (Challenge 2)(§5.6), and
(vi) the architectural modifications in the MMU to efficiently support Utopia (Challenge 3)(§5.7)..
Main Idea in One Line
Outline: Key Steps
The key idea of Utopia is to manage physical memory using two types of physical memory segments: restrictive segments and the flexible segment.
- A restrictive segment (called RestSeg) enforces a restrictive, hash-based address mapping scheme, thereby enabling fast and efficient address translation through compact and efficient address translation structures.
- A flexible segment (called FlexSeg), employs the conventional address mapping scheme and provides full virtual-to-physical address mapping flexibility.
Article Highlights
- Following NAT’s idea: Restricting the virtual-to-physical mapping
- Using hash-based PT
Challenges in Replicating the Research
Discussing the difficulties and obstacles encountered when attempting to reproduce the research findings or results.