MEMORY PHYSICAL ADDRESS QUERY METHOD AND APPARATUS

The present invention provides a method and an apparatus for querying a physical memory address, where the method includes: storing, into a prefetch buffer, page table entries of a second thread that is to perform addressing that are stored in a standby buffer, where the standby buffer stores page t...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: FENG, Yujing, GUO, Xubin, HOU, Rui, SU, Dongfeng
Format: Patent
Sprache:eng ; fre ; ger
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The present invention provides a method and an apparatus for querying a physical memory address, where the method includes: storing, into a prefetch buffer, page table entries of a second thread that is to perform addressing that are stored in a standby buffer, where the standby buffer stores page table entries that are not queried within a set time in a bypass translation buffer; receiving a memory addressing request message that carries a virtual address and is sent by the second thread; and querying, in the bypass translation buffer and the prefetch buffer, a corresponding physical address according to the virtual address. According to the method and the apparatus for querying a physical memory address provided in the present invention, a bypass translation buffer and a prefetch buffer are queried at the same time according to a to-be-addressed virtual address of a second thread, where the prefetch buffer stores page table entries of the second thread that are not queried within a set time in the bypass translation buffer, thereby increasing a hit rate of querying a physical address corresponding to a virtual address, and shortening an addressing time.