US 12,019,889 B2
Task allocation method and system for solid state drive, electronic device, and storage medium
Qiankun Zhang, Jiangsu (CN)
Assigned to INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD., Jiangsu (CN)
Appl. No. 18/263,142
Filed by INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD., Jiangsu (CN)
PCT Filed Oct. 29, 2021, PCT No. PCT/CN2021/127520
§ 371(c)(1), (2) Date Jul. 27, 2023,
PCT Pub. No. WO2023/284173, PCT Pub. Date Jan. 19, 2023.
Claims priority of application No. 202110791541.0 (CN), filed on Jul. 13, 2021.
Prior Publication US 2024/0036755 A1, Feb. 1, 2024
Int. Cl. G06F 9/46 (2006.01); G06F 3/06 (2006.01); G06F 9/50 (2006.01)
CPC G06F 3/064 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0679 (2013.01); G06F 9/5061 (2013.01); G06F 2209/501 (2013.01); G06F 2209/5011 (2013.01); G06F 2209/506 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A task allocation method for a solid state drive, wherein the solid state drive comprises data managers configured to execute data management, write managers configured to execute data write, reclaim block managers configured to collect garbage data, and journal managers configured to save snapshots; and the task allocation method for the solid state drive comprises:
dividing the data managers into a plurality of data management groups, wherein each data management group comprises a sibling master data manager and at least one sibling slave data manager;
determining a service scenario according to working states of all sibling master data managers;
when the service scenario is a high-band-width scenario, controlling the sibling master data managers and the sibling slave data managers to work in corresponding Central Processing Unit (CPU) cores, and allocating tasks to all the sibling master data managers and all the sibling slave data managers, wherein in the high-band-width scenario, the reclaim block managers corresponding to all CPU cores are in working states; and
when the service scenario is a high-quality-of-service scenario, controlling the sibling master data managers to work in corresponding CPU cores, setting working states of the sibling slave data managers as idle states through the sibling master data managers, and allocating tasks to all the sibling master data managers, wherein in the high-quality-of-service scenario, the write managers, the reclaim block managers and the journal managers all work only in CPU cores corresponding to the sibling slave data managers.