Device and method for optimization of target host device process handling according to the status and the priority of the target host device process
First Claim
1. A data input/output device which controls input/output of data to and from a host processing device as a host device, comprising:
- a host status information storage unit holding host status information including priorities of host device processes which are performed or are to be performed in the host device;
an input/output notification unit notifying the host device of data input/output control by a notification including either an interrupt notification process of performing an interrupt in the host device or a non-interrupt notification process of not performing the interrupt;
a host status information acquisition unit acquiring the host status information from the host device, the host status information indicating a status of one or more of the host device processes performed in the host device by each of “
Run”
, “
Ready”
, or “
Wait”
status and indicating a priority of each host device process which is performed or is to be performed in the host device, and storing the host status information in the host status information storage unit; and
an optimization unit designating a target host device process from among the host device processes in the host device, for handling data in the data input/output control, and selecting one of the interrupt notification process or the non-interrupt notification process according to a status and priority of the target host device process,wherein the input/output notification unit notifies the host device of the data input/output by the notification selected by the optimization unit according to the status and the priority of the target host device process.
1 Assignment
0 Petitions
Accused Products
Abstract
An input/output device stores host status information about the status of a host, and controls the input/output of data. By referring to the input/output information and the host status information, the device performs optimization control of selecting notification either by an interrupt process or a non-interrupt process. When a notification by the interrupt process is selected, data transfer control is performed to the host, and the data is transferred to the host by an interrupt. When a notification by the non-interrupt process is selected, data transfer control is performed to the host, and notification control is performed to transfer the data to the host by polling.
-
Citations
17 Claims
-
1. A data input/output device which controls input/output of data to and from a host processing device as a host device, comprising:
-
a host status information storage unit holding host status information including priorities of host device processes which are performed or are to be performed in the host device; an input/output notification unit notifying the host device of data input/output control by a notification including either an interrupt notification process of performing an interrupt in the host device or a non-interrupt notification process of not performing the interrupt; a host status information acquisition unit acquiring the host status information from the host device, the host status information indicating a status of one or more of the host device processes performed in the host device by each of “
Run”
, “
Ready”
, or “
Wait”
status and indicating a priority of each host device process which is performed or is to be performed in the host device, and storing the host status information in the host status information storage unit; andan optimization unit designating a target host device process from among the host device processes in the host device, for handling data in the data input/output control, and selecting one of the interrupt notification process or the non-interrupt notification process according to a status and priority of the target host device process, wherein the input/output notification unit notifies the host device of the data input/output by the notification selected by the optimization unit according to the status and the priority of the target host device process. - View Dependent Claims (2, 3, 4, 5, 14, 15)
-
-
6. A data input/output device which controls input/output of data to and from a host processing device as a host device, comprising:
-
a host status information storage unit storing host status information including priorities of host device processes in “
WAIT”
or “
Ready”
status to be performed in the host device;an input/output notification unit notifying the host device of data input/output control by a notification including either an interrupt notification process of performing an interrupt in the host device or a non-interrupt notification process of not performing the interrupt; a host status information acquisition unit acquiring the host status information from the host device and storing the host status information in the host status information storage unit; an optimization unit acquiring a priority of a target host device process in the host device to which data packet transmitted or received in the data input/output control is to be transferred, comparing priorities of the target host device process and a host device process currently performing in the host device and determining the interrupt notification process when the priority of the target host device process is higher than the currently performed host device process, or selecting the interrupt notification process when the priority of the target host device process is higher than the currently performed host device process and a status of the target host device process is to be transited directly to the “
Run”
status by transferring the data packet in the data input/output control; anda transfer control unit controlling data transfer according to the notification determined by the optimization unit.
-
-
7. A data processing system configured by a host processing device as a host device and a data input/output device which makes notification by one of an interrupt notification process of performing an interrupt in the host device or a non-interrupt notification process of not performing the interrupt as the notification of the data transfer process in controlling input/output in the host device, wherein
the data input/output device comprises: -
a host status information storage unit; a host status information acquisition unit acquiring, from the host device, host status information about a status of the host device, the host status information indicating a status of one or more host device processes performed in the host device by each of “
Run”
, “
Ready”
, or “
Wait”
status and indicating a priority of each host device process which is performed or is to be performed in the host device, and storing the host status information in the host status information storage unit;an optimization unit designating a target host device process from among the host device processes in the host device, for handling data in the data input/output control, and selecting one of an interrupt notification process or a non-interrupt notification process according to a host status and a priority of the target host device process; and an input/output notification unit notifying the host device of data transfer by the notification selected by the optimization unit. - View Dependent Claims (8)
-
-
9. A method of data input/output by a computer controlling input/output of data to a host device, the method comprising:
-
acquiring host status information from the host device, the host status information indicating a status of one or more host device processes performed in the host device by each of “
Run”
, “
Ready”
, or “
Wait”
status and indicating a priority of each host device process which is performed or is to be performed in the host device, and storing the host status information;designating a target host device process from among the host device processes in the host device, which relates to handling data in the data input/output control, selecting one of an interrupt notification process or the non-interrupt notification process according to a stored host status and a priority of the target host device process; and transmitting the notification selected based upon the host status and the priority of the target host device process for data input/output to the host device. - View Dependent Claims (10, 11, 12, 13, 16, 17)
-
Specification