US 12,333,192 B2
Memory configuration method, apparatus, electronic device, and storage medium
Zheng Zhao, Shanghai (CN)
Assigned to VERISILICON MICROELECTRONICS (CHENGDU) CO., LTD., Sichuan (CN); VERISILICON MICROELECTRONICS (SHANGHAI) CO., LTD., Shanghai (CN); VERISILICON MICROELECTRONICS (NANJING) CO., LTD., Jiangsu (CN); and VERISILICON MICROELECTRONICS (BEIJING) CO., LTD., Beijing (CN)
Filed by VERISILICON MICROELECTRONICS (CHENGDU) CO., LTD., Sichuan (CN); VERISILICON MICROELECTRONICS (SHANGHAI) CO., LTD., Shanghai (CN); VERISILICON MICROELECTRONICS (NANJING) CO., LTD., Jiangsu (CN); and VERISILICON MICROELECTRONICS (BEIJING) CO., LTD., Beijing (CN)
Filed on Jul. 28, 2023, as Appl. No. 18/361,050.
Claims priority of application No. 202210910430.1 (CN), filed on Jul. 29, 2022.
Prior Publication US 2024/0036771 A1, Feb. 1, 2024
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0665 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0631 (2013.01); G06F 3/0679 (2013.01)] 12 Claims
OG exemplary drawing
 
1. A memory configuration method, comprising steps of:
obtaining virtual memory by dividing a solid-state storage hard disk;
establishing communication paths between a hardware management unit and the solid-state storage hard disk, so that the virtual memory can be accessed through the hardware management unit; wherein the hardware management unit is configured to manage access protocol queues;
measuring memory access pressure of the hardware management unit; and
adjusting a size of the virtual memory according to the memory access pressure;
wherein the step of establishing communication paths between the hardware management unit and the solid-state storage hard disk comprises:
sending a queue address of the hardware management unit to a driver of the solid-state storage hard disk, and controlling the driver to create an I/O queue using the queue address, so as to establish a path from the solid-state storage hard disk to the hardware management unit; and
obtaining attribute information of the solid-state storage hard disk, and configuring the hardware management unit based on the attribute information, so as to generate I/O commands corresponding to the solid-state storage hard disk in the queue of the hardware management unit, and establish a path from the hardware management unit to the solid-state storage hard disk.