A method and system for globally invalidating an address translation cache based on a generation flag
By introducing a generational flag mechanism in PCIe devices, a flag is recorded for each function identifier and address mapping entry, achieving O(1) time complexity and low latency for ATC global invalidation, solving the performance jitter problem caused by ATC global invalidation, and maintaining cache consistency.
Patent Information
- Application Number
- CN202610740809.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-27
- Publication Date
- 2026-07-24
- Estimated Expiration
- 2046-05-27
AI Technical Summary
In PCIe devices, the global invalidation operation of the address translation cache (ATC) requires traversing a large number of entries, resulting in performance jitter and service quality degradation. Existing technologies struggle to achieve O(1) time completion without increasing hardware complexity.
A generational flag mechanism is adopted, which maintains a current generational flag for each function identifier and records an entry generational flag for each address mapping entry. Global invalidation is achieved by flipping the generational flag of the function identifier, thus avoiding traversing the address mapping entries.
The global invalidation time complexity is reduced from O(N) to O(1), eliminating performance jitter and maintaining cache consistency with extremely low hardware overhead and query path latency.