Data transmission control method and storage device
First Claim
1. A data transmission control method for controlling data transmission between a host and a storage device, comprising:
- acquiring a queued first command;
acquiring address information regarding first data which is for the first command;
transmitting the first data between the host and the storage device;
acquiring a queued second command;
acquiring address information regarding second data which is for the second command;
based on the address information regarding the first data and second data, determining whether to transmit the second data between the host and the storage device before transmitting a completion notification concerning the first command to the host from the storage device;
according to the determination made in the determining step, transmitting the second data between the host and the storage device; and
after processing of the first command is completed, transmitting said completion notification concerning the first command to the host after the second data is transmitted.
2 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of the invention raise the performance of a HDD by controlling the timing of notifying of command completion. In one embodiment, transmission of command completion notifications to a host is managed by a host interface manager. If two data write addresses respectively for two queued commands are adjacent or near to each other, that is, these addresses on the magnetic disk can be accessed without rotational latency, the host interface manager postpones the transmission of a command completion notification (X) concerning the first write command (X). Two command completion notifications (X) and (Y) are performed at a time after the write data (Y) for the next command is transmitted and its write to the medium is completed.
-
Citations
20 Claims
-
1. A data transmission control method for controlling data transmission between a host and a storage device, comprising:
-
acquiring a queued first command;
acquiring address information regarding first data which is for the first command;
transmitting the first data between the host and the storage device;
acquiring a queued second command;
acquiring address information regarding second data which is for the second command;
based on the address information regarding the first data and second data, determining whether to transmit the second data between the host and the storage device before transmitting a completion notification concerning the first command to the host from the storage device;
according to the determination made in the determining step, transmitting the second data between the host and the storage device; and
after processing of the first command is completed, transmitting said completion notification concerning the first command to the host after the second data is transmitted. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A data transmission control method for controlling data transmission between a host and a storage device, comprising:
-
acquiring a queued first command;
executing the first command;
acquiring information regarding queued commands; and
based on the time for executing the first command and the time for rescheduling the queued commands, determining the timing of transmitting a command completion notification concerning the first command. - View Dependent Claims (8, 9, 10, 11, 12, 13)
-
-
14. A data transmission control method for controlling data transmission between a host and a storage device, comprising:
-
from a command queue, acquiring a command which is to perform an access to media;
executing said command; and
if the time for executing said command is not smaller than a predefined time, transmitting pending command completion notifications to the host.
-
-
15. A storage device comprising:
-
a command queue where plural commands transmitted from a host are stored;
a command order determination section which determines to execute a first command and a second command, which are stored in the command queue, in said order;
a data transmission control section which, based on address information regarding first data for the first command and address information regarding second data for the second command, determines whether to postpone the timing of transmitting a completion notification concerning the first command to the host until the second data is transmitted to or from the host; and
a data transmission section which, under the control of said data transmission control section, transmits the first data to or from the host, and transmits said completion notification concerning the first command after processing of the first command is completed and the second data is transmitted. - View Dependent Claims (16, 17)
-
-
18. A storage device, comprising:
-
rotating media on which data is stored;
a command queue where plural commands transmitted from a host are stored;
a command order determination section which determines an order in which the commands stored in the command queue are to be executed;
a data transmission control section which based on the length of the data for an execution command determined by the command order determination section and used for access to the media and on the number of the commands stored in the command queue, determines the timing of transmitting a command completion notification concerning the execution command to the host; and
a data transmission section which transmits said command completion notification to the host in response to a request from the data transmission control section. - View Dependent Claims (19)
-
-
20. A storage device, comprising:
-
rotating media on which data is stored;
a command queue where plural commands transmitted from a host are stored;
a command order determination section which determines an order in which the commands stored in the command queue are to be executed;
a data transmission control section which based on the media access time for the data for an execution command determined by the command order determination section and used for access to the media and on the number of the commands stored in the command queue, determines the timing of transmitting a command completion notification concerning the execution command to the host; and
a data transmission section which transmits said command completion notification to the host in response to a request from the data transmission control section.
-
Specification