The invention discloses a two-stage data
pool data loading method based on a CXL
memory architecture. According to the method, a CXL memory serves as a cold data
pool to store data with low use frequency, and a
DRAM memory of a
server node serves as a hot data
pool to store data with high use frequency. When data in a CXL memory is used for many times, the data monitor judges whether the data can be transferred into hot data or not through a
delay caching strategy and caches the hot data. In addition, a self-adaptive caching strategy is adopted to keep the hot data in a
server for a certain time through a hot data pool, so that the application performance is improved. And dynamically learning a caching strategy by the hot data pool. And when the hot data is added or expelled every time, a caching strategy is selected according to the weight of the LRU-S, the weight of the LFU-S and the weight of the FIFO expert. And meanwhile, the hot data pool comprises a historical
list, the decision regret expelling behavior of the cache strategy is allowed, and wrong decisions are punished.