US 12,340,118 B2
Systems, methods, and media for prioritizing read accesses to storage devices
Jonathan de Vries, Folsom, CA (US); and Neelesh Vemula, Santa Clara, CA (US)
Assigned to SK hynix NAND Product Solutions Corp., Rancho Cordova, CA (US)
Filed by SK hynix NAND Product Solutions Corp., San Jose, CA (US)
Filed on Oct. 31, 2022, as Appl. No. 17/977,975.
Prior Publication US 2024/0143224 A1, May 2, 2024
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0659 (2013.01) [G06F 3/0679 (2013.01); G06F 3/0604 (2013.01)] 24 Claims
OG exemplary drawing
 
1. A system for prioritizing commands to a storage device, comprising:
memory; and
at least one hardware processor that is coupled to the memory and that is collectively configured to at least:
determine counts of read commands targeting a plurality of portions of the storage device;
calculate a threshold based on a function of an average of the counts of the read commands targeting the plurality of portions of the storage device, wherein meeting the threshold indicates that one or more read commands are to be prioritized over one or more write commands;
determine that a count of read command(s) targeting one of the plurality of portions of the storage device meets the threshold; and
in response to determining that the count of read command(s) targeting the one of the plurality of portions of the storage device meets the threshold, prioritize a first read command to access the one of the plurality of portions of the storage device over at least one write command by sending the first read command to the one of the plurality of portions of the storage device ahead of the at least one write command.