Files
document-haness/docs/virtualization/final/assets/diagrams/guest-memory-address-translation-path/guest-memory-address-translation-path.d2
T

35 lines
759 B
Plaintext

# Guest 의 메모리 접근 한 번은 이름이 두 번 바뀌며 네 계층을 지난다
# Question: Guest 프로세스가 읽은 주소는 어느 계층을 차례로 지나 어떤 물리 메모리에 닿는가
direction: down
g0: "Guest" {
n0: "Keycloak · PostgreSQL" {
shape: person
}
n1: "Guest TLB" {
shape: rectangle
}
n2: "Guest Page Table" {
shape: rectangle
}
}
g1: "Host RAM" {
n4: "Host Physical Memory" {
shape: rectangle
}
n5: "NUMA Node 0" {
shape: rectangle
}
n6: "NUMA Node 1" {
shape: rectangle
}
}
n3: "EPT" {
shape: rectangle
}
g0.n0 -> g0.n1: "GVA"
g0.n1 -> g0.n2: "TLB Miss"
g0.n2 -> n3: "VM Boundary"
n3 -> g1.n4: "HPA"
g1.n4 -> g1.n5: "Physical Page"
g1.n4 -> g1.n6: "Physical Page"