Loading...
Search
Search in this resource
sort by
ارائه راهکار بهبود کارایی در پردازنده‌ های چندهسته‌ای مبتنی بر کاهش هزینه شلیک TLB با حفظ سطح امنیت
136 viewed

ارائه راهکار بهبود کارایی در پردازنده‌ های چندهسته‌ای مبتنی بر کاهش هزینه شلیک TLB با حفظ سطح امنیت

احتشامی، علی Ehteshami, Ali

Improving Performance of Multi-Core Processors by Mitigating TLB Shootdown Overhead While Preserving Security Level

Ehteshami, Ali | 2025

136 Viewed
  1. Type of Document: M.Sc. Thesis
  2. Language: Farsi
  3. Document No: 58439 (19)
  4. University: Sharif University of Technology
  5. Department: Computer Engineering
  6. Advisor(s): Asadi, Hossein
  7. Abstract:
  8. The Translation Lookaside Buffer (TLB) is a CPU cache that stores translations of virtual to physical addresses. Each CPU core contains its own TLB, and the consistency among these TLBs is not enforced by hardware but is delegated to the software. This task is performed via a “shootdown,” wherein one core sends a TLB invalidation command to another core using an Inter-Processor Interrupt (IPI). The current implementation of this consistency mechanism imposes significant overhead and latency. Furthermore, with the discovery of various CPU vulnerabilities in recent years, TLB security has also become a major concern. To mitigate TLB overhead, past research has explored two main approaches: redesigning the TLB architecture and reducing the number of TLB shootdowns. As redesigning the TLB is not a viable option for existing systems, the focus must be on reducing shootdowns. Previous solutions have typically addressed only the performance aspect of the TLB, seldom investigating the trade-off between performance and security. This thesis investigates these two aspects in tandem, demonstrating that a degree of TLB inconsistency can be tolerated to increase performance without introducing security vulnerabilities. To achieve this, we first identify and categorize the system calls that trigger TLB shootdowns. Our analysis reveals that the majority of these events originate from memory allocation and deallocation operations. Accordingly, we have designed a solution named “TLB-aware memory recycling.” This approach delays and, where possible, avoids shootdowns by reallocating pages freed via munmap to the same process during subsequent mmap requests. By analyzing potential vulnerabilities and program states, we demonstrate that this solution neither degrades the system's security nor introduces correctness errors
  9. Keywords:
  10. Virtual Memory Management ; Memory Management ; Memory Security ; Translation Lookaside Buffer (TLB) ; Translation Lookaside Buffer (TLB)Security

 Digital Object List

 Bookmark

...see more