Method of dynamically adjusting number of task request
First Claim
1. A method of dynamically adjusting number of task requests, applicable to an Internet Small Computer System Interface (iSCSI) protocol, comprising:
- transmitting at least one first task request to an target by an initiator;
temporarily storing the first task request by the target;
calculating an average access data volume and a current access data volume by the target according to each access data volume corresponding to all temporarily stored task requests;
calculating an allowable access data volume by the target according to the average access data volume;
calculating a difference between the allowable access data volume and the current access data volume by the target;
setting a number of transmissible tasks by the target according to a quotient of the average access data volume divided by the difference;
transmitting the number of transmissible tasks to the initiator by the target; and
transmitting a second task request less than the number of transmissible tasks to the target by the initiator.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of dynamically adjusting the number of task requests is provided, which is applicable to an Internet Small Computer System Interface (iSCSI) protocol. When a target receives a task request transmitted by an initiator or the target completes the task request, the number of transmissible tasks is calculated according to an average access data volume, an current access data volume, and an allowable access data volume in the target, and returned to the initiator, such that the number of the task requests transmitted simultaneously by the initiator does not exceed the number of transmissible tasks, thereby achieving flow control. The allowable access data volume is obtained through interactive and dynamic adjustment between the target and the initiator.
-
Citations
11 Claims
-
1. A method of dynamically adjusting number of task requests, applicable to an Internet Small Computer System Interface (iSCSI) protocol, comprising:
-
transmitting at least one first task request to an target by an initiator; temporarily storing the first task request by the target; calculating an average access data volume and a current access data volume by the target according to each access data volume corresponding to all temporarily stored task requests; calculating an allowable access data volume by the target according to the average access data volume; calculating a difference between the allowable access data volume and the current access data volume by the target; setting a number of transmissible tasks by the target according to a quotient of the average access data volume divided by the difference; transmitting the number of transmissible tasks to the initiator by the target; and transmitting a second task request less than the number of transmissible tasks to the target by the initiator. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
Specification