Claims
- 1. A system comprising:
a host processor; a plurality of external storage devices connected to-the host processor; means for transferring data from the host processor to one of said plurality of external storage devices by comparing a first transfer time for sending an entire track of data and a second transfer time for sending a specified number of individual records, wherein the calculation of the first and second transfer times includes a determination of command chain time for sending data from the host processor and receiving a response from said one of said plurality of external storage devices, and wherein said means for transferring data transfers data according to a shorter of the first and second transfer times.
- 2. A system according to claim 1, wherein the command chain time determination depends upon a distance between the host processor and said one of said plurality of external storage devices.
- 3. A system according to claim 2, wherein said distance is calculated and stored in a memory.
- 4. A system according to claim 1, wherein the plurality of external storage devices are serially connected to said host processor such that only one of the external storage devices is directly connected to the host processor and remaining ones of the external storage devices are connected to the host processor through one or more of the external storage devices.
- 5. A system comprising:
a host processor; an external storage device connected to the host processor; means for transferring data from the host processor to said external storage device by comparing a first transfer time resulting from sending an entire track of data and a second transfer time resulting from sending a specified number of individual records, wherein the calculation of the first and second transfer time includes a determination of command chain time for sending data from the host processor and receiving a response from said external storage device, and wherein said means for transferring data transfers data according to a shorter of the first and second transfer times.
- 6. A system according to claim 5, wherein the command chain time determination depends upon a distance between the host processor and said external storage device.
- 7. A system according to claim 6, wherein said distance is calculated and stored in a memory.
- 8. A system according to claim 1, wherein the calculation of the first and second transfer times includes a determination of the length of the data to be sent as well as the system transfer time.
- 9. A system according to claim 8, wherein the calculation of the second transfer time includes a determination of the number of records to be sent.
- 10. 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, wherein
said 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; and wherein in 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.
- 11. 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, 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, 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 devices belonging to said first and second group of external storage devices and 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 that brings smaller processing time according to the result of said comparing means.
- 12. A first external storage control device according to claim 11, wherein data transfer from said first external storage control device to said second external storage control device by one write command is performed in a unit having a track length.
- 13. A first external storage control device according to claim 10, wherein said data transfer is performed according to a format stored in said storing means.
- 14. A first external storage control device according to claim 11, wherein said data transfer is performed according to a format stored in said storing means.
- 15. A first external storage control device according to claim 11, wherein said first external storage control device issues a write command brought from the host to said second external storage control device in case where said second external storage control device is not equipped with means to transfer write data of plural write commands by using only one write command.
- 16. 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 controls data transfer between said first group of external storage devices and the 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 comprising:
a storing means that stores data which is transferred between the host and said second external storage control device; a first transfer means for transferring data to said second external storage control device for each command received from the host; a second transfer means for transferring data sent from the host by plural commands to said second external storage control device by using a single command; means for calculating processing times for data transfer between said first external storage control device and said second external storage control device using said first and second transfer means; and means for comparing said processing times.
- 17. A first external storage control device according to claim 16, wherein when storing the same data to external storage devices belonging to said first and second group of external storage devices, said external storage control device transfers data from said first external storage control device to said second external storage control device using a transfer means that has a smaller processing time according to a result of said comparing means, when said first external storage control device has received plural write data commands from the host.
- 18. A first external storage control device according to claim 16, wherein when an external storage control device which has received plural read commands, from the host, for the data which exists in said storing means in said second external storage control device and does not exist in said first group of external storage devices nor in said storing means in said first external storage control device, said external storage control device transfers said data from said second external storage control device to said first external storage control device, using a transfer means that has a smaller processing time according to a result of said comparing means.
- 19. A first external storage control device according to claim 17, wherein data transfer between said first external storage control device and said second external storage control device according to a single command is performed in a unit with a track length.
- 20. A first external storage control device according to claim 18, wherein data transfer between said first external storage control device and said second external storage control device according to a single command is performed in a unit with a track length.
- 21. A first external storage control device according to claim 17, wherein said data transfer is performed according to a format in which the data is stored in said storing means.
- 22. A first external storage control device according to claim 18, wherein said data transfer is performed according to a format in which the data is stored in said storing means.
- 23. A data transfer method in which data is transferred between 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, and a second external storage control device, which 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, comprising the steps of:
storing the same data to external storage devices belonging to said first and second group of external storage devices, when said first external storage control device has received plural write data commands from the host, wherein said first external storage control device performs the steps of
storing write data transferred by said plural write commands from the host to storing means; comparing a time for transferring write data received by said plural write commands to the second external storage control device by one write command, with a time for transferring write data received by said plural write commands to the second external storage control device with each command as received; and transferring the data from said first external storage control device to said second external storage control device, using a transfer means that has a smaller time for transferring write data according to a result of said step of comparing.
- 24. The data transfer method according to claim 23, wherein data transfer from said first external storage control device to said second external storage control device by one write command is performed in a unit having a track length.
- 25. The data transfer method according to claim 24, wherein said data transfer is performed according to a format in which the data is stored in said storing means.
- 26. The system according to claim 1, wherein the plurality of external storage devices are connected to the host processor via optical fiber cables.
- 27. The system according to claim 5, wherein the external storage device is connected to the host processor via an optical fiber cable.
- 28. The system according to claim 10, wherein the first external storage control device is connected to the first group of external storage devices via an optical fiber cable.
- 29. The data transfer method according to claim 23, wherein the first external storage control device is connected to the first group of external storage devices via an optical fiber cable.
- 30. 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, wherein
said 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; wherein in 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; 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.
- 31. A first external storage control device according to claim 30, 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.
- 32. A first external storage control device according to claim 31, 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.
- 33. A first external storage control device according to claim 31, wherein said means for estimating the command-chaining time estimates the command-chaining time by measuring the time for two command chains.
- 34. 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.
- 35. A first external storage control device according to claim 34, 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.
- 36. A first external storage control device according to claim 35, 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.
- 37. A first external storage control device according to claim 35, wherein said means for estimating the command-chaining time estimates the command-chaining time by measuring the time for two command chains.
- 38. 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, wherein
said 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.
- 39. A first external storage control device according to claim 38, 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.
- 40. A first external storage control device according to claim 39, 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.
- 41. A first external storage control device according to claim 39, 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 |
08-2050 |
Jan 1996 |
JP |
|
Parent Case Info
[0001] This is a continuation application of U.S. Ser. No. 09/375,357 filed Aug. 17, 1999, now allowed, 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.
Divisions (1)
|
Number |
Date |
Country |
Parent |
08779471 |
Jan 1997 |
US |
Child |
09375357 |
Aug 1999 |
US |
Continuations (1)
|
Number |
Date |
Country |
Parent |
09375357 |
Aug 1999 |
US |
Child |
09987095 |
Nov 2001 |
US |