US 11,886,364 B2
Adaptive hybrid polling based on outstanding input/output (I/O) determination
Yang Bai, Beijing (CN); Wenchao Cui, Beijing (CN); Haitao Guo, Beijing (CN); Ran Peng, Beijing (CN); and Tianji Zhao, Beijing (CN)
Assigned to VMware, Inc., Palo Alto, CA (US)
Filed by VMware, Inc., Palo Alto, CA (US)
Filed on Aug. 16, 2021, as Appl. No. 17/402,652.
Claims priority of application No. PCT/CN2021/102737 (WO), filed on Jun. 28, 2021.
Prior Publication US 2022/0414035 A1, Dec. 29, 2022
Int. Cl. G06F 13/22 (2006.01); G06F 13/24 (2006.01); G06F 9/38 (2018.01); G06F 9/455 (2018.01)
CPC G06F 13/22 (2013.01) [G06F 9/3867 (2013.01); G06F 9/45558 (2013.01); G06F 13/24 (2013.01); G06F 2009/45579 (2013.01)] 21 Claims
OG exemplary drawing
 
1. A method for a host to perform an adaptive hybrid polling technique based on outstanding input/output (OIO) determination, the method comprising:
during a first phase of the technique, determining, by a first determination module of the host, whether a first number of a first type of OIO command exceeds a first threshold while operating in an interrupt mode;
in response to determination that the first number exceeds the first threshold, transitioning, by the first determination module, from the first phase to a second phase of the technique to prepare for a polling mode by disabling the interrupt mode and activating a second determination module of the host; else remaining in an interrupt mode;
during the second phase of the technique, determining, by the second determination module, whether a second number of a second type of OIO command exceeds a second threshold; and
in response to determination that the second number exceeds the second threshold, operating in the polling mode to process completed I/O commands.