Persistent ¡Memory ¡Ordering ¡
Michael ¡Swi6 ¡ ¡
Includes ¡slides ¡from ¡Pelley ¡[ISCA’14] ¡,Condit ¡[SOSP’09], ¡Volos ¡[ASPLOS’11] ¡
Persistent Memory Ordering Michael Swi6 Includes slides - - PowerPoint PPT Presentation
Persistent Memory Ordering Michael Swi6 Includes slides from Pelley [ISCA14] ,Condit [SOSP09], Volos [ASPLOS11] VolaFle Memory Ordering Caches reorder
Includes ¡slides ¡from ¡Pelley ¡[ISCA’14] ¡,Condit ¡[SOSP’09], ¡Volos ¡[ASPLOS’11] ¡
4 ¡
0xC02 ¡
Write-‑back ¡Cache ¡
0 ¡
NVM ¡
0xDEADBEEF ¡ value ¡ ¡ ¡ valid ¡ value ¡ ¡ valid ¡ 1 ¡ 1 ¡
8 ¡
0 ¡
NVM ¡ Write-‑back ¡ ¡ cache ¡
0xDEADBEEF ¡ value ¡ ¡ ¡ valid ¡ value ¡ ¡ valid ¡ 1 ¡ 0xC02 ¡
¡STORE ¡value ¡= ¡0xC02 ¡ ¡FLUSH ¡(&value) ¡ ¡FENCE ¡ ¡STORE ¡valid ¡= ¡1 ¡
9 ¡
10 ¡
begin_transaction(); ¡ stm_store(&B.next, ¡C); ¡ stm_store(&C.prev, ¡B); ¡ commit_transaction(); ¡ ¡ ¡patomic ¡{ ¡ ¡ ¡ ¡B.next ¡= ¡C; ¡ ¡ ¡ ¡C.prev ¡= ¡B; ¡ ¡ ¡} ¡
14 ¡
15 ¡
16 ¡
1 1 1 2 Ineligible ¡for ¡evicFon! ¡
17 ¡
21 ¡