-
公开(公告)号:US12175082B2
公开(公告)日:2024-12-24
申请号:US17990990
申请日:2022-11-21
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Guofeng Zhu , Quancai Li , Jiansheng Tang
IPC: G06F3/06
Abstract: A method and an apparatus for dynamically managing a shared memory pool are provided, to determine, based on different service scenarios, a shared memory pool mechanism applicable to a current service scenario, and then dynamically adjust a memory pool mechanism based on the determined result. The method for dynamically managing a shared memory pool includes: determining a first shared memory pool mechanism for the shared memory pool, where the first shared memory pool mechanism is a fixed memory pool mechanism or a dynamic memory pool mechanism; determining a second shared memory pool mechanism suitable for a second service scenario based on the second service scenario, where the second shared memory pool mechanism is a fixed memory pool mechanism or a dynamic memory pool mechanism; and when the second shared memory pool mechanism is different from the first shared memory pool mechanism, adjusting the first shared memory pool mechanism to the second shared memory pool mechanism.