Claims
- 1. A first external storage control device which is connected to a first group of external storage devices and controls data transfer between said first group of external storage devices and a host, whereinsaid first external storage control device is connected to a second external storage control device which is connected to a second group of external storage devices; said first external storage control device being equipped with a storing means that stores write data transferred by a write command from the host and means that transfers the write data stored in said storing means to the second external storage control device according to a write command; the first external storage control device also having means for storing the write data to both an external storage device belonging to said first group of external storage devices and to an external storage device belonging to said second group of external storage devices; means for estimating the command-chaining time between said first and second external storage control devices; means for estimating a time for a write process, including said estimated command-chaining time, to one of said second group of external storage devices; and command means for writing data in the write process in a single operation; wherein in a case where said first external storage control device has received plural write commands for said data from the host, said first external storage control device transfers said write data to said second external storage control device by selecting a transfer method with the shortest processing time; said transfer method with the shortest processing time is selected by considering the command-chaining time between said first external storage control device and said second external-storage control device; and said means for estimating a time for a write process estimates the time before starting the write process to said second external storage control device according to said selected transfer method.
- 2. A first external storage control device according to claim 1, wherein said means for estimating the command-chaining time estimates according to one of (a) measuring the command-chaining time between a specified command to the next command and (b) setting a length of interface cable between the first and second external storage control devices in advance.
- 3. A first external storage control device according to claim 1, wherein said means for estimating the command-chaining time estimates the command-chaining time by measuring the time for two command chains.
- 4. A first external storage control device which is connected to a first group of external storage devices and to a second external storage control device, and which controls data transfer between said external storage devices and a host, wherein,the second external storage control device is connected to a second group of external storage devices, and controls data transfer between said second group of external storage devices and the host, said first external storage control device being equipped with a storing means that stores write data transferred through a write command from the host, a first transfer means to transfer write data to said second external storage control device for each of plural write commands received from the host, and a second transfer means which transfers write data from the host to the second external storage control device for each of plural write commands received from the host by using only one write command, and the first external storage control device also including means for calculating processing time for data transfer between said first external storage control device and said second external storage control device using said first transfer means and using said second transfer means, means to compare said two processing times and for storing the same data to an external storage device belonging to said first and second group of external storage devices; wherein when said first external storage control device has received plural write data commands from the host, the external storage control device transfers data from said first external storage control device to said second external storage control device, using a transfer means having the smaller processing time according to the result of said comparing means; and wherein said transfer means having the smaller processing time is selected by considering the command-chaining time between said first external storage control device and said second external storage control device.
- 5. A first external storage control device according to claim 4, further comprising:means for estimating the command-chaining time between said first and second external storage control devices; and means for estimating a time for a write process, including said estimated command-chaining time, to one of said second group of external storage devices, before starting the write process to said second external storage control device according to said selected transfer means.
- 6. A first external storage control device according to claim 5, wherein said means for estimating the command-chaining time estimates according to one of (a) measuring the command-chaining time between a specified command to the next command and (b) setting a length of interface cable between the first and second external storage control devices in advance.
- 7. A first external storage control device according to claim 5, wherein said means for estimating the command-chaining time estimates the command-chaining time by measuring the time for two command chains.
- 8. A first external storage control device which is connected to a first group of external storage devices and a host processor, and which controls data transfer between said first group of external storage devices and said host processor, whereinsaid first external storage control device is connected to a second external storage control device that exists a large distance away from said first external storage control device, and which is connected to a second group of external storage devices; said first external storage control device is equipped with a buffer memory that stores write data transferred by a write command from said host processor and with a function that transfers said write data stored in said buffer memory to said second external storage control device according to the write command; said first external storage control device has a function to store said write data to one of said external storage devices in said first group and to one of said external storage devices in said second group; wherein if said first external storage control device has received plural write commands for said data from said host processor, said first external storage control device transfers said write data to said second external storage control device by selecting a transfer method with the shortest processing time; and wherein said transfer method with the shortest processing time is selected by considering the command-chaining time between said first external storage control device and said second external storage control device.
- 9. A first external storage control device according to claim 8, further comprising:means for estimating the command-chaining time between said first and second external storage control devices; means for estimating a time for a write process, including said estimated command-chaining time, to one of said second group of external storage devices, before starting the write process to said second external storage control device according to said selected transfer method; and command means for writing data in the write process in a single operation.
- 10. A first external storage control device according to claim 9, wherein said means for estimating the command-chaining time estimates according to one of (a) measuring the command-chaining time between a specified command to the next command and (b) setting a length of interface cable between the first and second external storage control devices in advance.
- 11. A first external storage control device according to claim 9, wherein said means for estimating the command-chaining time estimates the command-chaining time by measuring the time for two command chains.
Priority Claims (1)
Number |
Date |
Country |
Kind |
8-002050 |
Jan 1996 |
JP |
|
Parent Case Info
This is a continuation application of U.S. Ser. No. 09/375,357 filed Aug. 17, 1999, now U.S. Pat. No. 6,321,292, which is a divisional application of U.S. Ser. No. 08/779,471 filed Jan. 8, 1997, now U.S. Pat. No. 5,978,890 issued Nov. 2, 1999. The entire contents of these prior applications are hereby incorporated herein by reference.
US Referenced Citations (15)
Continuations (1)
|
Number |
Date |
Country |
Parent |
09/375357 |
Aug 1999 |
US |
Child |
09/987095 |
|
US |