-
1.
公开(公告)号:US11687392B2
公开(公告)日:2023-06-27
申请号:US17534121
申请日:2021-11-23
Applicant: Tsinghua University
Inventor: Jiwu Shu , Qing Wang , Youyou Lu , Zhuo Cheng
CPC classification number: G06F11/073 , G06F9/3009 , G06F11/0772 , G06F11/1438 , G06F12/0238 , G06F16/2365 , G06F2212/2542 , Y10S707/99953
Abstract: A method for constructing a persistent memory index in a non-uniform memory access architecture includes: maintaining partial persistent views in a persistent memory and maintaining a global volatile view in a DRAM; an underlying persistent memory index processing a request in a foreground thread when cold data is accessed; when hot data is accessed, reading a key-value pair for a piece of hot data in the global volatile view in response to a query operation carried in the request, and in response to an insert/update/delete operation carried in the request, updating a local partial persistent view and the global volatile view; and in response to a hotspot migration, a background thread generating new partial persistent views and a new global volatile view, and recycling the partial persistent views and the global volatile view for old hot data into the underlying persistent memory index.