Lookup table establishment and memory address query method
The invention relates to a lookup table establishment and memory address query method, which can enable a slave to quickly obtain a physical address of a distributed memory of a host. The method is executed by the slave and comprises the following steps of: inquiring a host memory cache description...
Saved in:
Main Authors | , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
10.05.2022
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention relates to a lookup table establishment and memory address query method, which can enable a slave to quickly obtain a physical address of a distributed memory of a host. The method is executed by the slave and comprises the following steps of: inquiring a host memory cache description table to obtain the information of the distributed memory; dividing the distributed memory into N storage spaces according to the information; using a first memory space of the N storage spaces to store a first-level lookup table to point out physical addresses of the N storage spaces; dividing the first memory space into M storage spaces; storing a second-level lookup table in the memory of the slave to point out the physical addresses of the M storage spaces; querying the second-level lookup table according to a logical address to obtain a first index to point out a first physical address of a first storage space in the M storage spaces; and querying the first-level lookup table according to the first index to ob |
---|---|
Bibliography: | Application Number: CN202011248893 |