-
公开(公告)号:US12242398B2
公开(公告)日:2025-03-04
申请号:US18348880
申请日:2023-07-07
Applicant: VMware, Inc.
Inventor: Ran Peng , Wenchao Cui , Yu Zhao , Yang Bai , Ruilin Tian
IPC: G06F13/16
Abstract: An example method of input/output (IO) between system software executing in a computer and a storage device includes: sending, from the system software, IO commands to the storage device; handling, by the system software, IO completion messages from the storage device in an interrupt mode; determining, while processing the IO commands, a first value for a measure of IO operations per second (IOPs) of the storage device; determining, by a device driver of the system software, that a first condition is met, the first condition being that the measure of IOPs satisfies a threshold for enabling a polling mode; determining, by the device driver, that a second condition is met, the second condition being that a timer started in an interrupt mode has not expired; and maintaining, by the device driver, the interrupt mode in response to the second condition despite the first condition.