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 |
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.
|