single address space
play

Single Address Space o RW RO EX NO o Kernel vfat.o Single - PowerPoint PPT Presentation

Single Address Space o RW RO EX NO o Kernel vfat.o Single Address Space o RW RO EX o NO Kernel vfat.o Single Address Space RW RO mprotect o EX NO Kernel (PD-ID=0) vfat.o (PD-ID=1) o o o o o o o o o o o o o


  1. Single Address Space o RW RO EX NO o Kernel vfat.o

  2. Single Address Space o RW RO EX o NO Kernel vfat.o

  3. Single Address Space RW RO mprotect o EX NO Kernel (PD-ID=0) vfat.o (PD-ID=1)

  4. o o o o o o

  5. o o o o o o

  6. o o

  7. Seg. VA Linear TLB PA Regs (opt.) Addr. Protection Fault

  8. VA Linear TLB PA (opt.) Addr. Protection MMP Fault o

  9. CPU Protection Domain ID (PD-ID) Lookaside Perm. Table Base Buffer Memory Refill Permissions Permissions Table Table

  10. o o

  11. 3 rd level – 4B sub-blk 2 nd level 1 st level 256B sub-blocks P … 256KB sub-blocks D D D D P … D D P … … D D P P D … 2 bits per sub-block … D

  12. 3 rd level – 4B sub-blk 2 nd level 1 st level 256B sub-blocks P … 256KB sub-blocks D D D D P … D D P … D D D P D … 2 bits per sub-block … D

  13. 3 rd level – 4B sub-blk 2 nd level 1 st level 256B sub-blocks P … 256KB sub-blocks D D D D P … D D P … D D 0-256KB no perm. D D D … 2 bits per sub-block D

  14. Naive Memory Compressed Entries Words Entries o o

  15. CPU Protection Protection Domain ID (PD-ID) Lookaside Lookaside Perm. Table Base Buffer Buffer Memory Refill Permissions Table

  16. o o

  17. Instruction RS IMM OP PLB Addr Tag Perm Tab. Ent. PD-ID Regs + Hit? No Access Yes Perm. Table in Read/Write Memory OK Fault

  18. o vs. D 1 st level or 2 nd level

  19. o o PLB (Xs are don’t-care bits) Tag (26 bits) Perm. Table Ent. PD-ID 1 st level ent. 0 0x07 XX XX D 2 nd level ent. 0 0x09 87 XX D 3 rd level ent. 0 0x09 20 58 o

  20. CPU Sidecars Sidecars refill Protection Domain ID (PD-ID) Lookaside Perm. Table Base Buffer Memory Refill Permissions Table

  21. o o o

  22. Instruction RS IMM OP Sidecar Regs Addr Base Bound Perm Regs + Base ≥ Addr. ≥ Bound Yes No Access Read/Write PLB OK Fault

  23. o gcc –O3 (egcs-1.0.3) o o

  24. 60 Entry PLB 60 Entry TLB Ref. to MMP tables 0.00-0.56% 0.00-2.59% Application refs Table size / App. data 0.04-0.62% 0.02-0.22% Sidecar miss rate 1-40%(12%) -- o

  25. o o o

  26. 60 Entry PLB Ref. to MMP tables 0.0- 7.5% (0.1-19%) Application refs Table size / App. data 0.4- 8.3% Table references 0.6-11.0% eliminated by sidecars o o o o

  27. MMP TLB VA Linear PA Trans (opt.) Addr. Unit Protection MMP Fault o o

  28. Single Address Space Body 0 Body 1 Head 0 Body 0 Head 1 Body 1 Kernel a user

  29. o Variable sized 3 rd level table pool of translation New ptr. type PT records … +0x9583F

  30. read o o o

  31. o o o

  32. o o

Recommend


More recommend