Information processor and input-output processing method

By dividing the LC table into real and empty LCs and using virtual LC numbers, the information processing device enables simultaneous execution of multiple input/output processes on the same device, addressing the inefficiency of sequential processing in existing systems.

JP2024140557AActive Publication Date: 2024-10-10NEC PLATFROMS LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023051742
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-28
Publication Date
2024-10-10
Estimated Expiration
2043-03-28

AI Technical Summary

Technical Problem

Existing information processing devices cannot execute subsequent input/output processing until preceding processing is completed, limiting efficiency due to the inability to issue multiple requests to the same device simultaneously.

Method used

The information processing device employs a method where the LC table is divided into real and empty LCs, with a virtual LC concept, allowing the use of a real LC number to specify a device and a virtual LC number to manage input/output processing, enabling parallel execution of multiple processes on the same device.

Benefits of technology

This approach allows multiple input/output processes to be executed in parallel on the same device, improving processing efficiency and utilization by allowing simultaneous requests to be made without waiting for previous processes to finish.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To provide an information processor that solves such a problem that unless preceding input-output processing is finished, subsequent input-output processing cannot be executed.SOLUTION: An information processor includes a maximum number of LC tables to be used for managing input-output processing of a device which are connectable to a physical channel being an interface to the device, divides the maximum number of LC tables into a real LC corresponding to the device and an empty LC not corresponding to the device, and performs input-output processing, when assuming the whole as a virtual LC, on the device shown by the real LC number by using an LC table shown by a virtual LC number on the basis of a channel program capable of setting the real LC number designating the device performing input-output processing and the virtual LC number designating the LC table to be used for the input-output processing.SELECTED DRAWING: Figure 14
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an information processing device and an input / output processing method. [Background technology]

[0002] The configuration of a general information processing device is shown in FIG. 1. The information processing device 1 is a general large computer, for example, equivalent to a mainframe. A central processing unit (hereinafter referred to as a CPU (Central Computing Unit)) 100 includes an arithmetic processing device (hereinafter referred to as an EPU (Execution Processing Unit)) 101 that executes software instructions, a main memory 102 that stores instructions and processing data, a node I / F (interface) 104 for connecting to another CPU 100, and a bus I / F 103 for connecting an input / output processing device (hereinafter referred to as an IOP (Input-Output Processor)) 200 for inputting and outputting data to and from a peripheral processing device 300 such as a disk device, all of which are connected by an internal bus 105 and can be accessed by each other. The information processing device 1 can be expanded in configuration as shown in FIG. 22 by connecting each I / F.

[0003] The IOP 200 is equipped with an I / O controller (hereinafter referred to as IOC) 201 for executing data transfer between the CPU 100 and the peripheral processing device 300, a processor 202 for controlling the data transfer according to instructions from the EPU 101, a local memory 203 for storing firmware and control information operating on the processor 202, and physical channels 205-208 as an interface between the IOP 200 and the peripheral processing device 300, all of which are connected to each other by an internal bus 204. The physical channels 205-208 are PCIe (PCI Express) cards such as HBA (Host Bus Adapter) cards, and are connected to the peripheral processing device 300 by a medium such as a fiber channel.

[0004] Peripheral processing device 300 is an external storage device or the like, and corresponds to a disk array device or the like. Taking the case where peripheral processing device 300 is a disk array device as an example, the device includes a processing device (hereinafter referred to as PCU) 301 for controlling data transfer between CPU 100 and disk devices 300-0 to 300-63 (hereinafter sometimes referred to as devices 300-0 to 300-63) in accordance with instructions from IOP 200, and a plurality of devices 300-0 to 300-63 for storing data, which are connected via an internal bus 302. In this specification, it is assumed that 64 disk devices are connected as an example.

[0005] In the information processing device 1, software running on the EPU 101 creates a channel program to perform input / output processing between the main memory 102 and the peripheral processing device 300, and a number is assigned to each device to specify which device the input / output is to be performed for. An IOP number is assigned to the IOP 200 connected to the CPU 100, a PC number is assigned to the physical channels 205-208 in the IOP 200, and an LC number is assigned to each device 300-0-300-63 in the peripheral processing device 300. The information processing device 1 in FIG. 1 is assigned as shown in FIG. 2. For example, the IOP number 0 (IOP#0) is assigned to the IOP 200, the physical channels 205-208 are assigned PC numbers 0-3 (PC#0-3), and the disk devices 300-0-300-63 in the peripheral processing device 300 are assigned LC numbers 0-63 (LC#0-63).

[0006] In the information processing device 1, in order to manage input / output processing, an I / O management table 2 shown in Fig. 3 is created on the main memory 102. IOPT10-0 to 10-n are tables for managing the IOP200, and there are tables for each of the IOPs connected to the CPU 100, and they are stored in order of the IOP number. PCT20-0 to 20-m are tables for managing the physical channels implemented in the IOP200, and there are tables stored consecutively for each of the physical channels for each IOP. LCT30-0 to 30-p are tables for managing devices such as the disk device 300-0 in the peripheral processing device 300, and a predetermined number of tables are stored in order of the LC number.

[0007] The structure of IOPT 10-0 to 10-n is shown in Fig. 4. IOPT 10-n stores a PCT#0 pointer 10-n-1 indicating the address of PCT 20-0 that manages the physical channel of PC number 0 under its own IOP 200, a maximum PC number 10-n-2 indicating the number of physical channels under its own IOP 200, and IOP control information 10-n-3.

[0008] The structure of PCT 20-0 to 20-m is shown in Fig. 5. PCT 20-m stores an LCT#0 pointer 20-m-1 indicating the address of LCT 30-0 that manages the device with LC number 0 under its own physical channel, a maximum LC number 20-m-2 indicating the number of devices under its own physical channel, and PC control information 20-m-3.

[0009] The structure of LCT 30-0 to 30-p is shown in Fig. 6. LCT 30-p stores a channel program address 30-p-1 for performing input / output processing for a device of a peripheral processing device corresponding to the LC number, an LC status 30-p-2 indicating the execution status of a channel program, an IOP number 30-p-3 and a PC number 30-p-4 storing an IOP number and a PC number corresponding to the own LCT 30-p, a virtual LC number 30-p-5a storing the LC number of the own LCT 30-p, an event report 30-p-6 storing the execution result of the channel program indicated by the channel program address 30-p-1, and LC control information 30-p-7 storing various information of the device corresponding to LCT 30-p.

[0010] The number of entries in the IOPT10, PCT20, and LCT30 shown in Figs. 3 to 6 is determined by the configuration of the information processing device 1. If the information processing device 1 is configured to be able to connect eight IOPs, the IOPT10 has eight entries, if up to four physical channels can be implemented per IOP, the PCT20 has four entries per IOP, and the LCT30 has a predetermined constant number of entries per PC so that all peripheral processing devices 300 devices can be configured. The IOPT10, PCT20, and LCT30 are initialized according to the configuration of the information processing device 1 by firmware operating on the EPU101 when the information processing device 1 is initialized, and the maximum number of PCs 10-n-2 and the maximum number of LCs 20-m-2 are also set according to the configuration at that time. In this specification, the number of entries in the LCT is 128 as an example.

[0011] 7, each entry 30-0 to 30-63 of the LCT 30 corresponds to the devices 300-0 to 300-63 of the peripheral processing device 300, and when the software and EPU 101 perform input / output processing for the devices 300-0 to 300-63, they set a channel program address in the corresponding LCT 30-0 to 30-63 and issue an input / output instruction by specifying the IOP number, PC number, and LC number corresponding to the devices 300-0 to 300-63 to the IOP 200. In FIG. 7, the peripheral processing device 300 has only 64 devices, and LCTs 30-64 to 30-127 have no corresponding devices and are empty entries.

[0012] Herein lies a problem with the general technique. To perform input / output processing on an arbitrary device 300-r, a channel program 40 is created, the address of the channel program 40 is set in the LCT 30-r corresponding to the device 300-r, and the IOP 200 is instructed to perform the input / output processing. At this time, the LCT 30-r is busy until the processing of the channel program 40 is completed, and another input / output processing cannot be issued to the device 300-r until the processing is completed. When the disk device 300-r is an HDD (Hard Disk Drive) or an SSD (Solid State Drive), accesses to different areas can be issued simultaneously, but the general technique does not allow simultaneous issuance, which becomes a hindrance to improving the performance of the information processing device 1. Details of the input / output processing in the general technique will be described below with reference to Figs. 11A to 13.

[0013] In the information processing device 1, to perform input / output processing between the CPU 100 and the peripheral processing device 300, software running on the EPU 101 creates a channel program 40 shown in Fig. 8 and issues an input / output request to the EPU 101. The channel program 40 is made up of a channel program header (hereinafter referred to as CPH) 40-0 and channel command entries (hereinafter referred to as CCE) 40-1 to 40-q.

[0014] The configuration of CPH 40-0 is shown in Figure 9. IOP number 40-0-2, PC number 40-0-3, and LC number 40-0-4 indicating device 300-r, which is the destination of the I / O request, are stored in Word 3. Information required for executing channel program 40 is stored in channel program control information 40-0-1 in Words 0 to 2. The configuration of CCE-n (n is 1 to q) following CPH 40-0 is shown in Figure 10. CCE command 40-n-1 indicating the instruction content of the I / O process and CCE flag 40-n-2 that modifies CCE command 40-n-1 are stored in Word 0, and various information for CCE command 40-n-1 is stored in CCE control information 40-n-3 in Words 1 to 3.

[0015] The IOP 200 implements firmware that runs on the processor 202, and interprets the channel program 40 to execute input / output processing. The EPU 101 also has built-in firmware, and executes corresponding processing according to software commands. In general technology, when software performs input / output for the peripheral processing device 300, the operation is as follows. Here, the explanation will be given assuming that input / output is processed for an arbitrary disk device 300-r in the peripheral processing device 300.

[0016] When software running on the CPU 100 performs input / output processing on data stored in the disk device 300-r of the peripheral processing device 300, a channel program 40 is created on the main memory 102. At this time, the software sets the IOP number 40-0-2, PC number 40-0-3, and LC number 40-0-4 of the CPH 40-0 to specify the disk device 300-r as the input / output destination. In the configuration of FIG. 2, the IOP number is 0, the PC number is 0, and the LC number is r, so 0 is stored in the IOP number 40-0-2 of the CPH 40-0, 0 in the PC number 40-0-3, and r in the LC number 40-0-4. Then, information required for input / output control is stored in the channel program control information 40-0-1 and CCE 40-n of the CPH 40-0, and the top address of the CPH 40-0 is specified as the address of the channel program 40 to execute an input / output request command to the EPU 101.

[0017] When an I / O request command is executed by software, the EPU 101 executes I / O request processing 400 by firmware built into the EPU 101. I / O request processing 400 in a general technique is shown in Figures 11A and 11B. In I / O request processing 400, the EPU 101 first reads CPH 40-0 from the address of channel program 40 specified by the software (step 401), and then reads IOP number 40-0-2, PC number 40-0-3, and LC number 40-0-4 of the I / O request destination from Word 3 of CPH 40-0 (step 402).

[0018] Next, EPU 101 obtains the IOPT address from IOP number 40-0-2 (step 403). The IOPT address of IOP number 0 is uniquely determined within information processing device 1, and can be obtained by adding the product of the IOP number and the IOPT size to that address. After obtaining the IOPT address, the maximum PC number 10-n-2 is read from IOPT 10-n and compared with PC number 40-0-3 (step 404) to check whether the PC number is within the maximum PC number (step 405). If PC number 40-0-3 exceeds the value of maximum PC number 10-n-2 (step 405; No), it is outside the configuration range of information processing device 1, so an abnormal end is reported to the software and the process is terminated (steps 417 and 418).

[0019] If the PC number 40-0-3 is within the maximum number of PCs 10-n-2 (step 405; Yes), it is normal, so the PCT#0 pointer 10-n-1 is read from the IOPT 10-n (FIG. 4), and the value obtained by multiplying the PCT size and the PC number 40-0-3 is added to the read value to obtain the PCT address corresponding to the PC number 40-0-3 (step 406). Then, the maximum number of LCs 20-m-2 is read from the PCT 20-m and compared with the LC number 40-0-4 (step 407), and it is confirmed whether the LC number 40-0-4 is within the maximum number of LCs 20-m-2 (step 408). If the LC number 40-0-4 exceeds the maximum number of LCs 20-m-2 (step 408; No), it is outside the configuration range of the information processing device 1, so an abnormal end is reported to the software and the process is terminated (steps 419, 420).

[0020] Next, the LCT#0 pointer 20-m-1 is read from the PCT 20-m, and the LCT address corresponding to the LC number 40-0-4 is obtained by adding the product of the LCT size and the LC number 40-0-4 (step 409). Then, the LC status 30-p-2 is read from the LCT 30-p, and it is confirmed whether the LC status is unused (steps 410, 411). A value is stored in the LC status 30-p-2, and if the value is 0, it indicates that the LC is unused, and if the value is other than 0, it indicates that a channel program is being executed. When the LC (device 300-r) is already in use, other I / O requests cannot be processed, so the fact that the I / O request could not be processed is reported to the software and the process ends (steps 420, 421).

[0021] If the LC status 30-p-2 indicates an unused state, the channel program address specified by the software is stored in the channel program address 30-p-1 of the LCT 30-p (step 412), and the LC status 30-p-2 of the LCT 30-p is set to 1 to set the channel program waiting state (step 413). Then, the IOP number 40-0-2, PC number 40-0-3, and LC number 40-0-4 are specified to the IOP 200 specified by the IOP number 40-0-2 to notify the I / O request (step 414). This is performed by sending an interrupt notification from the EPU 101 to the processor 202 via the IOC 201 of the IOP 200. Then, the normal completion of the I / O request is reported to the software, and the process is terminated (steps 415, 416).

[0022] When the IOP 200 receives an I / O request from the EPU 101, it executes an I / O process 500 on the processor 202 to process the I / O request. The I / O process 500 in the general technology is shown in FIG. 12. In the I / O process 500, the processor 200 first obtains an LCT address from the IOP number, PC number, and LC number notified by the EPU 101 (step 501). The method of obtaining the LCT address is the same as that described in the I / O request process 400 of the EPU 101. After obtaining the LCT address, the processor 200 reads the LC status 30-p-2 from the LCT 30-p and checks whether the channel program is waiting (steps 502, 503). This is checked by checking whether 1 is stored in the LC status 30-p-2. If the channel program is not waiting (1 is not stored in the LC status 30-p-2) (step 503; No), this is an abnormality that does not normally occur, so the processor executes a fault process and ends the process (steps 512, 513).

[0023] If the LC state 30-p-2 is a channel program waiting state (step 503; Yes), the processor 202 writes 2 to the LC state 30-p-2 to set the LC state 30-p-2 to channel program execution (step 504), and reads the channel program address 30-p-1 from the LCT 30-p (step 505). Then, the processor 202 reads the channel program 40 from the channel program address (step 506), and executes the processing of the channel program 40 for the device corresponding to the LC number notified by the EPU 101 (step 507). In this case, the processor 202 executes the processing of the channel program 40 for the device 300-r. The processing method of the channel program 40 of the IOP 200 and the peripheral processing device 300 is beyond the scope of the present invention, and will not be described here.

[0024] When the processing of the channel program 40 is completed, the processing result is stored in the event report 30-p-6 of the LCT 30-p, and the IOP number, PC number, and LC number specified by the EPU 101 are stored in the IOP number 30-p-3, PC number 30-p-4, and LC number 30-p-5 of the LCT 30-p (step 508).Then, the processor 202 writes 4 into the LC status 30-p-2 of the LCT 30-p to indicate that the channel program 40 has ended (step 509), and reports to the EPU 101 by an interrupt that the I / O request processing specified by the IOP number, PC number, and LC number has been completed, and ends the processing (steps 510, 511).

[0025] Then, when the EPU 101 receives a notification of the end of the I / O request processing from the IOP 200, the EPU 101 executes an I / O end processing 600 by the firmware of the EPU 101. The I / O end processing 600 in the general technology is shown in FIG. 13. In the I / O end processing 600, the EPU 101 obtains an LCT address from the IOP number, PC number, and LC number notified from the IOP 200 (step 601), reads the LC status 30-p-2 from the LCT 30-p, and checks whether the channel program 40 has ended (steps 602, 603). This is checked by checking whether the value stored in the LC status 30-p-2 is 4. Since the EPU 101 does not receive a notification of the end of the I / O request processing from the IOP 200 when the channel program 40 has not ended, if the LC status 30-p-2 is not in the channel program end state (step 603; No), it is determined that an abnormality has occurred, and the process is terminated by executing a fault process (steps 609, 610).

[0026] If the LC status 30-p-2 indicates the end of the channel program (step 603; Yes), the event report 30-p-6 of the LCT 30-p is read as the execution result of the channel program (step 604), and the IOP number, PC number, and LC number are read from the IOP number 30-p-3, PC number 30-p-4, and LC number 30-p-5 (step 605). Then, 0 is written into the LC status 30-p-2 of the LCT 30-p to set it to an unused state (step 606). Finally, the read event report content, IOP number, PC number, and LC number are notified to the software as the execution result of the channel program 40, and the process is terminated (steps 607, 608).

[0027] The execution result of the channel program 40 is reported to the software by passing the IOP number 30-p-3, PC number 30-p-4, LC number 30-p-5, and the contents of the event report 30-p-6 of the LCT 30-p to the software. By checking the IOP number 30-p-3, PC number 30-p-4, and LC number 30-p-5, the software can determine which device the channel program was issued for, and by checking the event report 30-p-6, it can check the execution result of the channel program.

[0028] The input / output process in the general technology is as described above. As explained above, the problem is that since the LCT 30-r is assigned to the device 300-r and managed, the input / output process for the device 300-r can only be executed via the LCT 30-r, and multiple input / output requests cannot be issued simultaneously to the device 300-r. In other words, in the general configuration, a subsequent input / output request cannot be issued until the preceding input / output process is completed. Therefore, there is a problem that the input / output processing efficiency cannot be improved.

[0029] This is illustrated in Figure 23. When software performs I / O processing on device 300-r, it takes EPU time for EPU 101, during which the software creates a channel program for the I / O processing and makes an I / O request, and I / O time for device 300-r to perform the I / O processing. During this time, LCT 30-r corresponding to device 300-r is in use by a channel program, so EPU 101 is unable to execute subsequent I / O processing until the preceding I / O processing is completed. Also, since only I / O time is generated in device 300-r, the remaining time is free time, and the utilization efficiency of device 300-r is not improved by that amount.

[0030] Patent Document 1 discloses a system in which one physical I / O adapter is shared by multiple virtualized clients through a virtual intermediary in a hypervisor. Patent Document 1 does not disclose any technology that solves the above problems. [Prior art documents] [Patent documents]

[0031] [Patent Document 1] JP 2009-123217 A Summary of the Invention [Problem to be solved by the invention]

[0032] An information processing device and an input / output processing method are provided that solve the problem that a subsequent input / output process cannot be executed unless a preceding input / output process is completed. [Means for solving the problem]

[0033] According to one aspect of the present invention, an information processing device comprises an arithmetic processing means for executing a channel program related to input / output processing, and a storage means for storing an I / O management table, and the I / O management table includes LC tables used to control the device in the input / output processing to the device, for the maximum number of devices that can be connected to a physical channel that is an interface to the device, and when the maximum number of LC tables are divided into two, namely, a real LC corresponding to the device actually connected to the physical channel, and an empty LC that does not correspond to the device, and the whole is treated as a virtual LC, the channel program can be set with a real LC number that specifies the device that performs the input / output processing, and a virtual LC number that specifies the LC table to be used for the input / output processing, and the arithmetic processing means performs input / output processing to the device indicated by the real LC number using the LC table indicated by the virtual LC number based on the channel program.

[0034] According to one aspect of the present invention, an input / output processing method is an input / output processing method in which a channel program related to the input / output processing is set with an actual LC number that specifies a device for which the input / output processing is to be performed, and a virtual LC number that is used for managing the device in the input / output processing and specifies one of LC tables prepared for the maximum number of devices that can be connected to a physical channel that is an interface to the device, and input / output processing based on the channel program is performed for the device indicated by the actual LC number using the LC table indicated by the virtual LC number. Effect of the Invention

[0035] According to the present invention, a plurality of input / output processes related to the same device can be executed simultaneously in parallel. [Brief description of the drawings]

[0036] [Figure 1] FIG. 1 is a diagram illustrating an example of an information processing apparatus according to an embodiment. [Diagram 2] 4 is a diagram showing an example of numbers assigned to components relating to input / output of the information processing device according to the embodiment; FIG. [Diagram 3] FIG. 13 illustrates an example of an I / O management table. [Figure 4] FIG. 2 is a diagram showing an example of the structure of an IOPT. [Diagram 5] FIG. 1 is a diagram showing an example of a PCT structure. [Figure 6] FIG. 2 is a diagram showing an example of the structure of an LCT. [Figure 7] 1 is a diagram illustrating the correspondence between each entry of the LCT and a device. [Figure 8] FIG. 2 is a diagram showing an example of a structure of a channel program. [Figure 9] FIG. 1 shows an example of the structure of a CPH. [Figure 10] FIG. 2 is a diagram illustrating an example of a CCE structure. [Figure 11A] FIG. 1 is a first diagram showing an example of a typical input / output request process. [Figure 11B] FIG. 2 is a second diagram showing an example of a typical input / output request process. [Figure 12] FIG. 1 is a diagram illustrating an example of a general input / output process. [Figure 13] FIG. 11 illustrates an example of a general input / output end process. [Figure 14] 1 is a diagram illustrating the correspondence between each entry of the LCT and a device according to an embodiment. FIG. [Figure 15] FIG. 2 is a diagram showing an example of a structure of a PCT according to an embodiment. [Figure 16] FIG. 2 is a diagram showing an example of the structure of an LCT according to an embodiment. [Figure 17] FIG. 2 is a diagram showing an example of a structure of a CPH according to an embodiment. [Figure 18A] FIG. 11 is a first diagram illustrating an example of an input / output request process according to the embodiment. [Figure 18B] FIG. 11 is a second diagram illustrating an example of an input / output request process according to the embodiment. [Figure 19A] FIG. 11 is a first diagram illustrating an example of an input / output request process according to the embodiment. [Figure 19B] FIG. 11 is a second diagram illustrating an example of an input / output request process according to the embodiment. [Figure 19C] FIG. 11 is a third diagram illustrating an example of an input / output request process according to the embodiment. [Figure 20] FIG. 11 is a diagram illustrating an example of an input / output end process according to the embodiment. [Figure 21A] FIG. 11 is a first diagram showing an example of a Free LC starting LC number setting process according to an embodiment. [Figure 21B] FIG. 11 is a second diagram showing an example of a Free LC starting LC number setting process according to the embodiment. [Figure 22] FIG. 1 is a diagram illustrating an extended example of the configuration of an information processing device according to an embodiment. [Figure 23] FIG. 1 is a diagram illustrating a waiting time that occurs in a typical entry / exit process. [Figure 24] FIG. 11 is a diagram illustrating a waiting time for entry / exit processing according to the embodiment. [Diagram 25] FIG. 1 is a block diagram showing a configuration of an information processing device having a minimum configuration. [Figure 26] FIG. 11 is a flowchart showing the operation of an information processing device having a minimum configuration. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0037] Hereinafter, the configuration and processing related to input and output according to the embodiment of the present invention will be described with reference to the drawings. In the drawings used in the following description, the description of the configuration of parts that are not related to the present invention may be omitted and may not be illustrated.

[0038] <Embodiment> (composition) 1 shows the configuration of an information processing device 1 according to this embodiment. The information processing device 1 according to this embodiment is similar to a general information processing device. The allocation of IOP numbers, PC numbers, and LC numbers to the IOP 200, physical channels 205-208, and device 300-r of the peripheral processing device 300 is also similar to the general technology shown in FIG. 2. The structure of an I / O management table 2 is also similar to the general technology shown in FIG. 3.

[0039] The allocation of LCT 30-p and device 300-r, the structure of PCT 20-m and LCT 30-p, and the structure of channel program header 40-0 are different from those of the general technology. Also, the processing contents of input / output request processing 700 and input / output end processing 900 of EPU 101 and input / output processing 800 of IOP 200 are different from those of the general technology.

[0040] FIG. 14 shows the allocation of LCT 30-p and device 300-r according to this embodiment. In this embodiment, LCT 30-p and device 300-r are associated as shown in FIG. 14. In this description, the maximum number of LCs is 128, and the number of devices in the peripheral processing device 300 is 64. In this case, LCT 30-0 to 30-63 correspond to devices 300-0 to 300-63, and LCT 30-64 to 30-127 are free entries with no corresponding device 300-r. Here, LCT 30-0 to 30-63 corresponding to devices 300-0 to 300-63 are called real LCs, and LCT 30-64 to 30-127, which are free entries with no corresponding device, are called free LCs, and are LCs that can be allocated to any device 300-r for use. In addition, the entire LC (LCT 30-0 to 30-127) is called a virtual LC.

[0041] In this embodiment, as shown in FIG. 15, for PCT 20-m of a general technique, Free LC start LC number 20-m-5, which stores the start LC number of Free LC, is stored in PCT[0x0A-0x0B], and Valid 20-m-4, which indicates whether Free LC start LC number 20-m-5 is valid, is stored in PCT[0x08]. These areas are set by Free LC start LC number setting process 1000 shown in FIG. 21 of firmware built into IOP 200 when information processing device 1 is started. For example, in the case where there are 64 devices 300-0 to 300-63 as in FIG. 14, Free LC start LC number 200-m-5 is set to 64, and Valid 20-m-4 is set to valid. Note that, in the case where peripheral processing device 300 is a device that cannot simultaneously issue input processes to devices, Valid 20-m-4 is set to invalid.

[0042] In LCT30-p, real LC number 30-p-8, which stores the real LC number, is added to LCT[0x10] as shown in Figure 16, and the area for the LC number in LCT[0x13] is changed to virtual LC number 30-p-5a so that the virtual LC number is used. LCT[0x14-0x1F] is an area used to report the execution results of the channel program to the software.

[0043] Also, in CPH40-0, real LC number 40-0-5 which specifies a real LC number is added to byte 0 of Word 3 as shown in Fig. 17, and the LC number specification in byte 3 of Word 3 is changed to virtual LC number 40-0-4a which specifies a virtual LC number. LCT[0x10-0x13] of LCT30-p shown in Fig. 16 and Word 3 of CPH40-0 shown in Fig. 17 have the same structure because they are used by the software to determine which device 300-r the I / O processing for has been completed for when the channel program 40 is terminated.

[0044] (operation) I / O request processing 700 of firmware running on EPU 101 is shown in Figures 18A and 18B. The difference from I / O request processing 400 (Figures 11A and 11B) of the general technology is that real LC number 40-0-5 of CPH 40-0 is read out, and virtual LC number 40-0-4a is processed as the LC number in the general technology. Only the processing target changes, the processing itself remains unchanged. The operation of I / O request processing 700 is as follows.

[0045] First, the software creates a channel program 40 to execute I / O processing for device 300-r of peripheral processing device 300. At this time, the software stores LC number r corresponding to device 300-r in real LC number 40-0-5 of CPH 40-0, and stores either r or an available LC number selected from Free LC in virtual LC number 40-0-4a. The software manages which virtual LC number is currently being used in I / O processing and which virtual LC numbers are available. Once creation of channel program 40 is complete, the software issues an I / O processing request to EPU 101 by specifying the start address of the channel program.

[0046] When the EPU 101 receives an I / O processing request from software, it executes the I / O request processing 700 of the built-in firmware. In the I / O request processing 700, the EPU 101 first reads the CPH 40-0 from the channel program address specified by the software (step 701), and then reads the IOP number 40-0-2, PC number 40-0-3, virtual LC number 40-0-4a, and real LC number 40-0-5 from the CPH 40-0 (step 702). Then, it obtains the IOPT address corresponding to the IOP number 40-0-2 (step 703). The method of obtaining the IOPT address is the same as the method explained in the general technology.

[0047] After the corresponding IOPT address is obtained, the maximum PC number 10-n-2 is read from the IOPT 10-n, and it is confirmed whether the PC number 40-n-3 is equal to or smaller than the maximum PC number 40-n-2 (steps 704, 705). If the PC number 40-n-3 exceeds the maximum PC number 10-n-2 (step 705; No), the PC number does not exist in the configuration of the information processing device 1, so an abnormal end is reported to the software and the process is terminated (steps 717, 718). If the PC number 40-0-3 is within the maximum PC number 10-n-2 (step 705; Yes), the PCT#0 pointer 10-n-1 is read from the IOPT 10-n, and the PCT address corresponding to the PC number 40-n-3 is obtained (step 706).

[0048] After obtaining the PCT address, the maximum LC number 20-m-2 is read from the PCT 20-m, and it is confirmed whether the virtual LC number (40-0-4) is within the maximum LC number (20-m-2) (steps 707, 708). If the virtual LC number (40-0-4) exceeds the maximum LC number 20-m-2 (step 708; No), the LC number does not exist in the configuration of the information processing device 1, so an abnormal end is reported to the software and the process is terminated (steps 719, 720). If the virtual LC number 40-0-4a is within the maximum LC number 20-m-2 (step 708; Yes), the LCT#0 pointer 20-m-1 is read from the PCT 20-m, and the LCT address corresponding to the virtual LC number 40-0-4a is obtained (step 709).

[0049] Once the LCT address is obtained, the LC status 30-p-2 is read from the LCT 30-p, and it is confirmed whether the LC specified by the virtual LC number 40-0-4a is in an unused state (steps 710, 711). If the LC status 30-p-2 is not unused (step 711; No), it is already being used for I / O processing, so it is reported to the software that the I / O request processing could not be executed, and the processing ends (steps 721, 722). Normally, the software manages which virtual LC is being used to execute I / O processing, so this case only occurs when there is a problem with the software. Whether the LC status 30-p-2 is unused can be determined by whether the value is 0, and if the value is 0, it is unused.

[0050] If the LC state 30-p-2 is unused (step 711; Yes), the channel program address specified by the software is stored in the channel program address 30-p-1 of the LCT 30-p (step 712), and 1 is written into the LC state 30-p-2 to set it to the channel program waiting state (step 713). Then, the IOP number 40-0-2, PC number 40-0-3, and virtual LC number 40-0-4a are specified to the IOP 200 specified by the IOP number 40-0-2 to notify the I / O processing request (step 714), and the software is notified that the I / O request processing has been successfully completed, and the processing is terminated (steps 715, 716).

[0051] When the IOP 200 is notified of an I / O processing request from the EPU 101, an I / O process 800 of firmware running on the IOP 200 is started. The difference between the I / O process 800 of the present invention and the I / O process 500 of the general technology shown in Fig. 12 is that the I / O process 500 of the general technology uses the LCT 30-p corresponding to the LC number 40-0-4 to perform I / O processing on the device 300-p corresponding to the LC number 40-0-4, whereas the I / O process 800 of this embodiment uses the LCT 30-p corresponding to the virtual LC number 40-0-4a to perform I / O processing on the device 300-r designated by the real LC number 40-0-5.

[0052] 19 shows an input / output process 800 according to this embodiment. The input / output process 800 operates in the IOP 200 as follows. First, the IOP 200 obtains a corresponding LCT address from the IOP number, PC number, and virtual LC number notified by the EPU 101 (step 801). Here, the IOP number, PC number, and virtual LC number notified by the EPU 101 are the same as the IOP number 40-0-2, PC number 40-0-3, and virtual LC number 40-0-4a of the CPH 40, and the method of obtaining the LCT address is the same as that of general technology.

[0053] Once the LCT address is obtained, the LC status 30-p-2 is read from the LCT 30-p to check whether it is in a channel program waiting state (steps 802, 803). This is checked by checking whether the value stored in the LC status 30-p-2 is 1. A situation in which the LC status 30-p-2 is not in a channel program waiting state (its value is not 1) does not normally occur. If it is not in a channel program waiting state (step 803; No), fault processing is executed and the process is terminated (steps 822, 823). If the LC status 30-p-2 is in a channel program waiting state (step 803; Yes), 2 is written into the LC status 30-p-2 and the LC status is set to channel program executing (step 804).

[0054] Next, the IOP 200 obtains a PCT address from the IOP number 40-0-2 and PC number 40-0-3 notified by the EPU 101 (step 805), and reads Valid 20-m-4 and Free LC start LC number 20-m-5 from the PCT 20-m (step 806).Then, it reads the channel program address 30-p-1 from the LCT 30-p (step 807), reads the CPH 40-0 from the channel program address 30-p-1, and reads the IOP number 40-0-2, PC number 40-0-3, virtual LC number 40-0-4a, and real LC number 40-0-5 (step 808).

[0055] Then, the value of Valid20-m-4 is checked to see if the Free LC start LC number 20-m-5 is valid (steps 809, 810). This can be checked by checking whether the value of Valid20-m-4 is 0 or not. If Valid20-m-4 is 0 (step 810; No), the Free LC start LC number (20-m-5) is invalid, which indicates that the Free LC cannot be used, and so processing is performed in the same manner as in the general technique (steps 826 to 831 described later). If Valid20-m-4 is other than 0 (step 810; Yes), the Free LC start LC number 20-m-5 is valid, so the virtual LC number 40-0-4a is compared with the Free LC start LC number 20-m-5 to check whether the virtual LC number 40-0-4a is a Free LC number (steps 811, 812). This can be confirmed by checking whether the value of virtual LC number 40-0-4a is equal to or greater than the value of Free LC start LC number 20-m-5. If it is equal to or greater than this value, virtual LC number 40-0-4a becomes a free LC.

[0056] If the virtual LC number 40-0-4a is a free LC (step 812; Yes), the real LC number 40-0-5 of CPH 40-0 should be the LC number of device 300-r, so the real LC number 40-0-5 is compared with the free LC start LC number 20-m-5 to confirm (steps 813, 814). This is confirmed by checking whether the real LC number 40-0-5 is smaller than the free LC start LC number 20-m-5. If the real LC number 40-0-5 is equal to or larger than the free LC start LC number 20-m-5, this is a software setting error and should not normally occur. If the real LC number 40-0-5 is smaller than the free LC start LC number 20-m-5, the real LC number 40-0-5 becomes a real LC. If the real LC number 40-0-5 is not a real LC (step 814; No), the IOP 200 performs failure processing and ends the process (steps 824, 825).

[0057] If the real LC number 40-0-5 is a real LC (step 814; Yes), the IOP 200 reads the channel program 40 from the channel program address 30-p-1 (step 815), and executes the processing of the read channel program 40 for the device 300-r specified by the real LC number 40-0-5 (step 816). Then, when the processing is completed, the processing result is stored in the event report 30-p-6 of the LCT 30-p, and the IOP number 40-0-2, PC number 40-0-3, virtual LC number 40-0-4a, and real LC number 40-0-5 of the CPH 40-0 are stored in the IOP number 30-p-3, PC number 30-p-4, virtual LC number 30-p-5a, and real LC number 30-p-8 of the LCT 30-p (steps 817, 818).

[0058] Then, 4 is written into the LC status 30-p-2 of the LCT 30-p, the LC status is set to the channel program end state (step 819), and the EPU 101 is notified that the I / O processing for IOP number 40-0-2, PC number 40-0-3, and virtual LC number 40-p-4a has been completed, and the processing ends (steps 820, 821).

[0059] If the virtual LC number 40-0-4a is smaller than the Free LC start LC number 20-m-5 (step 812; No), the LC number of the device 300-r is directly indicated instead of the Free LC, so the operation is the same as that of the general technology. In this case, the channel program is read from the channel program address 30-p-1 (step 826), and the channel program is processed for the device 300-r corresponding to the virtual LC number 40-0-4a (step 827). The processing result is stored in the event report 30-p-6 of the LCT 30-p, and the IOP number 40-0-2, PC number 40-0-3, and virtual LC number 40-0-4a of the CPH 40-0 are stored in the IOP number 30-p-3, PC number 30-p-4, and virtual LC number 30-p-5a of the LC 30-p. 0 is stored in the real LC number 30-p-8 (steps 828, 829).

[0060] Then, 4 is written into the LC status 30-p-2 of the LCT 30-p to set the LC status to the channel program end state (step 830), and the EPU 101 is notified that the I / O processing for IOP number 40-0-2, PC number 40-0-3, and virtual LC number 40-0-4a has been completed, and the processing ends (steps 831, 832).

[0061] The process when the EPU 101 receives the end of the I / O process from the IOP 200 is different from the general technology, and a process of reading the real LC number 30-p-8 from the LCT 30-p and reporting it to the software is added. The I / O end process 900 according to this embodiment is shown in FIG. 20. When the EPU 101 receives the end of the I / O request process from the IOP 200, the EPU 101 executes the I / O end process 900 by the firmware of the EPU 101. In the I / O end process 900, the LCT address is obtained from the IOP number, PC number, and virtual LC number notified by the IOP 200 (step 901), and the LC status 30-p-2 is read from the LCT 30-p to check whether the channel program 40 has ended (steps 902, 903). This is checked by checking whether the value stored in the LC status 30-p-2 is 4. Since no report of completion of I / O request processing is received from IOP 200 unless channel program 40 has ended, if LC state 30-p-2 is not in the channel program end state (step 903; No), it is determined to be abnormal, and fault processing is performed to end the process (steps 909, 910).

[0062] If the LC status 30-p-2 indicates the end of the channel program (step 903; Yes), the EPU 101 reads the end report of the channel program 40 from the event report 30-p-6 of the LCT 30-p (step 904). Next, the EPU 101 reads the IOP number, PC number, virtual LC number, and real LC number from the IOP number 30-p-3, PC number 30-p-4, virtual LC number 30-p-5a, and real LC number 30-p-8 (step 905). Next, the EPU 101 writes 0 to the LC status 30-p-2 of the LCT 30-p to set it to an unused state (step 906). Then, the EPU 101 notifies the software of the read event report content, the IOP number, the PC number, the virtual LC number, and the real LC number as the execution result of the channel program 40, and ends the process (steps 907, 908).

[0063] When the software running on the information processing device 1 is started, it reads Valid 20-m-4 and Free LC start LC number 20-m-5 of PCT 20-m, checks whether device 300-r under PCT 20-m supports Free LC, and recognizes the number of real LCs and free LCs.Then, it performs input / output management within the software accordingly, and determines which IOP number, PC number, and virtual LC number to use to make an input / output request to device 300-r with the real LC number.

[0064] Furthermore, when the software receives an I / O processing completion report from EPU 101, it can check the IOP number 30-p-3, PC number 30-p-4, virtual LC number 30-p-5a, real LC number 30-p-8, and event report 30-p-6 of LCT 30-p to determine which IOP number, PC number, and virtual LC number were used for the I / O request issued to device 300-r, and can determine the results of each I / O request. This depends on what kind of I / O management structure the software provides.

[0065] The Free LC start LC number setting process 1000 executed by the firmware of the IOP 200 operates as follows. Figures 21A and 21B show the Free LC start LC number setting process 1000. This process is executed by all IOPs connected to the information processing device 1 when the information processing device 1 is started, so as to set the PCT 20-m corresponding to the own IOP. First, in the Free LC start LC number setting process 1000, a loop process is performed to set all PCTs corresponding to the physical channels 205 to 208 existing in the own IOP 200, so a loop count variable i is initialized to 0 (step 1001).

[0066] Then, the IOPT address is obtained from the IOP number of the own IOP 200, and the PCT address of the PC number i corresponding to the variable i is obtained (step 1002). This can be obtained by adding the product of the size of PCT 20-i and the PC number i to the PCT#0 pointer 10-n-1 of IOPT 10-n. Next, it is confirmed whether the peripheral processing device 300 is connected to the physical channel i corresponding to the PC number i (steps 1003, 1004). This is confirmed by accessing the peripheral processing device 300 via the physical channel i and checking whether there is a response.

[0067] If a peripheral processing device 300 is connected to physical channel i, it is checked whether the peripheral processing device 300 supports Free LC (steps 1005, 1006). This is determined by accessing the peripheral processing device 300 and checking the type of the peripheral processing device 300. If the peripheral processing device 300 supports Free LC, the number of devices 300-r connected to the peripheral processing device 300 is checked (step 1007). This is checked by issuing an instruction to the peripheral processing device 300 to read the number of devices, or by checking the number of devices, which is determined for each type of peripheral processing device 300.

[0068] After the number of devices is confirmed, 1 is written into Valid 20-i-4 of PCT 20-i to set it as valid, and the number of devices is written into Free LC start LC number 20-i-5 of PCT 20-i to set it (step 1008). Then, 1 is added to variable i to indicate the next PC number (step 1009), and it is confirmed whether a physical channel i corresponding to the next PC number i exists (step 1010). If it exists, the process returns to step 1002 to continue, and if the physical channel i does not exist, the process ends (steps 1011, 1012). Also, if it is determined in step 1006 that the device is not a Free LC compatible device (step 1006; No), 0 is written into Valid 20-i-4 of PCT 20-i to set it as invalid, 0 is also written into Free LC start LC number 20-i-5, and the process proceeds to step 1009.

[0069] The IOP number assigned to the IOP 200 is assigned according to the configuration when the information processing device 1 is started, and can be read by firmware running on the IOP 200. In addition, the number of physical channels present in the IOP 200 is fixed for the device, and the PC number and the physical channel number are assigned to match each other.

[0070] (Specific examples) The details of the operation of the I / O request processing 700 and I / O end processing 900 of the firmware running on the EPU 101, and the I / O processing 800 and Free LC start LC number setting processing 1000 of the firmware running on the IOP 200 are the operations explained above. Here, the operation will be explained when the information processing device 1 in Figures 1 and 2 starts up and the software executes multiple I / O processes for the same device 300-r, with the number of virtual LCs being 128 and the number of devices in the peripheral processing device 300 being 64.

[0071] When the information processing device 1 is started, the EPU 101 creates the I / O management table 2. At this time, IOPT 10-n, PCT 20-m, and LCT 30-p are created in accordance with the configuration of the information processing device 1, the PCT#0 pointer 10-n-1 of IOPT 10-n is set, and the maximum number of PCs 10-n-2 is set to 4 in accordance with the configuration of Fig. 1. Also, the LCT#0 pointer 20-m-1 of PCT 20-m is set, and the maximum number of LCs 20-m-2 is set to 128. Also, the other areas are set to 0.

[0072] Thereafter, the IOP 200 executes the Free LC start LC number setting process 1000. In Figures 1 and 2, if the peripheral processing device 300 is a Free LC compatible device, then IOP number 0 and PC number 0 are Free LC compatible, and since there are 64 devices, 1 is written into Valid 20-0-4 of PCT 20-0, and 64 is stored in the Free LC start LC number. As a result, the devices under IOP number 0 and PC number 0 are set as Free LC valid in PCT 20-0.

[0073] Next, the software is initialized and the I / O management mechanism of the software is initialized. At this time, the software reads Valid20-m-4 of PCT20-m of all IOPs to check whether the PC supports Free LC. If the value of Valid20-m-4 is 0 and Free LC is not supported, only real LC numbers can be used as virtual LC numbers and multiple I / Os cannot be issued simultaneously to the same device, so management corresponding to this is implemented. If Valid20-m-4 is not 0, Free LC is supported, so the software reads Free LC start LC number 20-m-5 and maximum LC number 20-m-2 and initializes the I / O management mechanism to implement management that allows multiple I / Os to be issued simultaneously to the same device using the virtual LC number and real LC number.

[0074] Since the software I / O management mechanism is outside the scope of this embodiment, detailed description will not be given. As an example, an entry for managing the Free LC start LC number 20-m-5 to the maximum number of LCs 20-m-2-1 may be provided, and entries not used for I / O processing may be connected to a FIFO queue for management. In this case, when performing I / O processing on the device 300-r, the LC status 30-r-2 of the LCT 30-r of the corresponding real LC number is checked, and if it is unused, it is used. If it is in use, an entry of a free Free LC is taken out from the above-mentioned Free LC queue, and the corresponding Free LC number is designated as a virtual LC number to create a channel program 40, and an I / O request is made to the EPU 101. Then, when the I / O processing using the Free LC is completed, the corresponding entry is returned to the queue so that it can be reused. In this way, I / O processing can be performed simultaneously for the same device 300-r by using the corresponding real LC 30-r and any Free LC.

[0075] Assuming that the software has the above-mentioned I / O management mechanism, when the software executes I / O processing for device 300-r (r is 0 to 63), the operation is as follows. First, the software obtains the IOP number, PC number, and real LC number corresponding to device 300-r, and obtains the corresponding virtual LC. At this time, since I / O processing is not being performed for device 300-r, real LC number r is selected as the virtual LC number, and the software sets IOP number 4-0-2 of CPH 40-0 to 0, PC number 4-0-3 to 0, virtual LC number 40-0-4a to r, and real LC number 40-0-5 is the same as the virtual LC number, so sets it to 0 to create channel program 40, and issues an I / O processing request to EPU 101 for IOP number 0, PC number 0, and virtual LC number r.

[0076] When EPU 101 receives an I / O processing request from software, it executes I / O request processing 700. As explained above, this processing sets the channel program address specified by the software to channel program address 30-r-1 of LCT 30-r corresponding to virtual LC number r, notifies IOP 200 corresponding to IOP number 0 of the I / O processing request, and ends the processing. After that, the software waits for the completion of the I / O processing from EPU 101 using a semaphore or the like.

[0077] When the IOP 200 receives an I / O processing request from the EPU 101, it reads out the corresponding PCT 20-0 and LCT 30-r from the notified IOP number 0, PC number 0, and virtual LC number r. Here, since Valid 20-0-4 of PCT 20-0 is set to 1, Free LC start LC number 20-0-5 is valid, and since virtual LC number r is smaller than Free LC start LC number 20-0-5 (64), virtual LC number r is a real LC, and it performs processing of channel program 40 specified by channel program address 30-r-1 of LCT 30-r for the specified device 300-r.

[0078] At this time, the software is to perform another I / O process on the same device 300-r on which it performed the I / O process above. Since the LCT 30-r corresponding to the device 300-r is being used in the I / O process above, a free LC is selected by the I / O management mechanism of the software. Here, it is assumed that free LC number f (f is 64 to 127) is selected. The software sets IOP number 0, PC number 0, virtual LC number f, and real LC number r to CPH 40-0 and creates the channel program 40. That is, it sets IOP number 40-0-2 of CPH 40-0 to 0, PC number 40-0-3 to 0, virtual LC number 40-0-4a to f, and real LC number 40-0-4 to r, and issues an I / O request to EPU 101 with IOP number 0, PC number 0, and virtual LC number f.

[0079] When the EPU 101 receives an I / O request from the software, it executes the I / O request process 700 in the same manner as described above. In the case of the general technology, when the I / O process requested by the software for the virtual LC number r is not completed, the LC state 30-r-2 of the corresponding LCT 30-r does not indicate an unused state, so that the I / O request process 400 of the general technology ends without being able to issue the I / O process because the LC state is in use (steps 411, 421, 422).

[0080] However, according to this embodiment, since virtual LC number f is specified, I / O request processing 700 checks LC status 30-f-2 of LCT 30-f with virtual LC number f, which is different from real LC number r. At this time, since LC status 30-f-2 is an unused state, I / O request processing 700 sets channel program address 30-f-1 of LCT 30-f, sets LC status 30-f-2 to a channel program waiting state, and issues an I / O request to IOP 200 specifying IOP number 0, PC number 0, and virtual LC number f, and can terminate normally.

[0081] When the IOP 200 receives an I / O request from the EPU 101, it executes the I / O process 800. At this time, the IOP number 0, PC number 0, and virtual LC number f are notified from the EPU 101, so the LC status 30-f-2 is read from the corresponding LCT 30-f, and since it is in the channel program waiting state, the CPH 40-0 is read from the channel program address 30-f-1, and the real LC number 40-0-5 is read. At this time, r is stored in the real LC number 40-0-5.

[0082] Since Valid 20-0-4 of PCT 20-0 is set to 1, Free LC start LC number 20-0-5 is valid and 64 is stored. Since the virtual LC number notified by EPU 101 is f, the virtual LC number becomes Free LC, and it is confirmed whether real LC number r is within the real LC range by comparing it with Free LC start LC number 20-0-5. After that, the input / output process 800 executes the channel program 40 specified by the channel program address 30-f-1 of LCT 30-f corresponding to virtual LC number f for device 300-r corresponding to real LC number r. As a result, the channel programs specified by virtual LC numbers r and f are running simultaneously for device 300-r.

[0083] Next, when the processing of the channel programs 40 with virtual LC numbers r and f for the device 300-r is completed, the input / output processing 800 of the IOP 200 stores the processing results in the event reports 30-r-6 and 30-f-6 of the corresponding LCTs 30-r and 30-f, respectively, and stores the IOP number, PC number, virtual LC number, and real LC number read from the respective channel program headers. That is, the IOP number 0, PC number 0, virtual LC number r, and real LC number 0 are stored in the IOP number 30-r-3, PC number 30-r-4, virtual LC number 30-r-5a, and real LC number 30-r-8 of the LCT 30-r, and the IOP number 0, PC number 0, virtual LC number f, and real LC number r are stored in the IOP number 30-f-3, PC number 30-f-4, virtual LC number 30-f-5a, and real LC number 30-f-8 of the LCT 30-f. Then, the respective LC states 30-r-2, 30-f-2 are set to the channel program end state, and the EPU 101 is notified of the end of the I / O processing together with the respective IOP numbers, PC numbers, and virtual LC numbers.

[0084] When the EPU 101 is notified by the IOP 200 of the end of the I / O processing, it executes the I / O end process 900. When the channel programs for the virtual LC numbers r and f are ended, the EPU 101 is notified by the IOP 200 that the I / O processing for IOP number 0, PC number 0, virtual LC number r, and IOP number 0, PC number 0, and virtual LC number f has ended. In the I / O end process 900, the LC statuses 30-r-2 and 30-f-2 are read and confirmed from the corresponding LCTs 30-r and 30-f, respectively, and since the channel program is in the end state, the event reports 30-r-6 and 30-f-6, IOP numbers 30-r-3 and 30-f-3, PC numbers 30-r-4 and 30-f-4, virtual LC numbers 30-r-5a and 30-f-5, and real LC numbers 30-r-8 and 30-f-8 are read and reported to the software as the execution results.

[0085] When the software receives a channel program completion report from EPU 101, it determines the I / O processing it issued based on the reported IOP number, PC number, virtual LC number, and real LC number, and checks the result from the event report. In this way, in this invention, I / O processing can be executed simultaneously for the same device 300-r using LC number r and LC number f. In addition, the number of I / O processes for the same device 300-r can be increased by using other free LCs.

[0086] (effect) In information processing devices such as mainframes, the capacity per disk of peripheral processing devices such as disk array devices is increasing, and high-speed access is becoming possible by using SSDs. As the capacity of disk devices increases, there is a demand to consolidate data that has been distributed and stored in multiple disk devices into the same disk, and to access the data simultaneously on the same disk in the same way as when the data was distributed and stored in other disk devices. However, with general technology, it is not possible to execute multiple input / output processes simultaneously on the same disk device. In contrast, according to this embodiment, it is possible to execute multiple input / output processes simultaneously on the same disk device.

[0087] Specifically, when initializing the information processing device 1, the IOP 200 executes the Free LC start LC number setting process 1000, which sets Valid 20-m-4 and Free LC start LC number 20-m-5 of PCT 20-m. When the software checks this, it can determine that the LC under the PC number corresponding to PCT 20-m has been divided into real LCs and free LCs, and that input / output processing requests can be issued simultaneously to real LC-compatible devices 300-0 to 300-63 using the real LCs and free LCs, and the software can then initialize its own input / output management mechanism accordingly.

[0088] 14, in the information processing device 1, LCT 30-p is set as real LCs 30-0 to 30-63 corresponding to devices 300-0 to 300-63, and LCTs 30-64 to 30-127, which are free entries, are set as free LCs, and the real LCs and free LCs are collectively set as a virtual LC, so that the software can use the real LC to specify device 300-r and the virtual LC as an execution element of channel program 40 to process I / O requests, and multiple I / O processing requests can be made simultaneously to device 300-r. This is the effect of providing CPH 40-0 with real LC number 40-0-5 specifying device 300-r and virtual LC number 40-0-4a specifying LCT 30-p.

[0089] In the I / O request process 700 running on the EPU 101, by checking the LC status 30-p-2 of the corresponding LCT 30-p based on the virtual LC number 40-0-4a of the CPH 40-0, even if the LC status 30-r-2 of the LCT 30-r of the actual LC number corresponding to the I / O request destination device 300-r indicates that a channel program is being executed, if the virtual LC number differs from the actual LC number, it becomes possible to issue an I / O request to the IOP 200. This makes it possible to issue multiple I / O requests to the same device 300-r.

[0090] The I / O process 800 executed by the IOP 200 identifies the LCT 30-p storing the address of the channel program 40 from the virtual LC number notified by the EPU 101, finds the device 300-r performing the I / O process from the real LC number 40-0-5 of the CPH 40-0, and performs the I / O process of the channel program 40 using the LCT 30-p indicated by the virtual LC number for the device 300-r. This makes it possible to simultaneously execute multiple I / O processes for the same device 300-r by using the virtual LC number 40-0-4a, which is different from the real LC number 40-0-5.

[0091] 24, when software performs I / O processing on the EPU 101, and since there is no need to wait for a specific LCT to become unused by using the real LC 30-r and the free LC 30-f in I / O processing for the same device 300-r, the subsequent I / O processing can be started only by waiting for the EPU time of the preceding I / O processing. Also, I / O processing can be executed continuously in the device 300-r, improving the usage efficiency.

[0092] (Minimum configuration) FIG. 25 is a block diagram showing the configuration of an information processing device having a minimum configuration. The information processing device 80 includes a calculation processing means 81 and a storage means 82 . The arithmetic processing means 81 executes a channel program created for input / output processing. The storage means 82 stores an I / O management table. The I / O management table includes LC tables used to control the devices in the I / O processing to the devices, the number of which corresponds to the maximum number of devices that can be connected to the physical channel that is the interface to the devices. When the maximum number of LC tables are divided into two, namely, real LCs corresponding to the devices actually connected to the physical channel and free LCs not corresponding to the devices, and the whole is treated as a virtual LC, a channel program can be set with real LC numbers that specify the devices that perform the I / O processing and virtual LC numbers that specify the LC table used in the I / O processing, and the calculation processing means performs I / O processing to the devices indicated by the real LC numbers using the LC tables indicated by the virtual LC numbers based on the channel program.

[0093] FIG. 26 is a flow chart showing the operation of an information processing device having a minimum configuration. A real LC number that specifies the device for which the input / output processing is to be performed and a virtual LC number that is used to manage the device in the input / output processing and specifies one of the LC tables prepared for the maximum number of devices that can be connected to a physical channel that is an interface to the device (S81), and input / output processing based on the channel program is performed for the device specified by the real LC number using the LC table specified by the virtual LC number (S82).

[0094] Although one embodiment of the present invention has been described in detail above with reference to the drawings, the specific configuration is not limited to the above, and various design changes and the like can be made within the scope of the gist of the present invention. In addition, one aspect of the present invention can be modified in various ways within the scope of the claims, and embodiments obtained by appropriately combining the technical means disclosed in different embodiments are also included in the technical scope of the present invention. In addition, configurations in which elements described in the above embodiments and modified examples are replaced with elements that have the same effect are also included. [Explanation of symbols]

[0095] 1. Information processing device 100··CPU 101···EPU 102 Main memory 103 Bus I / F 104 Node Interface 105... Internal bus 200··IOPs 201···IOC 202 Processor 203 Local memory 204... Internal bus 205~208...Physical channel 300 Peripheral processing device 300-0~300-63...Disk device 301 Processing device 302... Internal bus

Claims

1. A processing means for executing a channel program relating to input / output processing; A storage means for storing an I / O management table; Equipped with The I / O management table includes LC tables used for controlling the devices in the input / output processing to the devices, the number of which corresponds to the maximum number of devices that can be connected to a physical channel that is an interface to the devices, and the maximum number of LC tables are divided into two, namely, an actual LC corresponding to the devices actually connected to the physical channel and an empty LC not corresponding to the devices, and the whole is treated as a virtual LC. A real LC number that designates the device that performs the input / output processing and a virtual LC number that designates the LC table used in the input / output processing can be set in the channel program; the arithmetic processing means performs input / output processing for the device indicated by the real LC number by using the LC table indicated by the virtual LC number based on the channel program; Information processing device.

2. the I / O management table includes PC tables used for managing the physical channels, the number of which is equal to the number of the physical channels; When the identification numbers of the real LCs are consecutive numbers and the identification numbers of the empty LCs are consecutive numbers starting from the number next to the maximum number among the identification numbers of the real LCs, In the PC table, a start number which is a first number of the free LC and information indicating whether the free LC is valid or invalid are set for the device connected to the physical channel managed in the PC table. The information processing device according to claim 1 .

3. means for detecting the devices connected to the physical channel when the device itself is started, setting the number of the devices connected as the real LCs and the consecutive numbers as the identification numbers of the real LCs, and setting the remaining devices as the free LCs and setting the consecutive numbers starting from the number next to the maximum number as the identification numbers of the free LCs; The information processing device according to claim 2 , further comprising:

4. the arithmetic processing means checks the execution state of the input / output processing using the LC table indicated by the virtual LC number based on the virtual LC number set in the channel program, and if the execution state is not in execution, issues an input / output processing request based on the channel program to the input / output processing means by specifying the virtual LC number, and if the execution state is in execution, reports to the software that created the channel program that the input / output request cannot be executed. The information processing device according to claim 2 .

5. When the information indicating whether the LC is valid or invalid and set in the PC table indicates that the empty LC is valid, the input / output processing means judges whether the virtual LC number specified by the arithmetic processing means is the real LC or the empty LC based on the start number, and when it is the real LC, reads out the channel program from the address to the channel program set in the LC table corresponding to the virtual LC number, and performs input / output processing for the device corresponding to the virtual LC number. The information processing device according to claim 4.

6. When the information indicating whether the LC is valid or invalid and set in the PC table indicates that the empty LC is valid, the input / output processing means judges, based on the start number, whether the virtual LC number specified by the arithmetic processing means is the real LC or the empty LC, and, if the virtual LC is the empty LC, performs input / output processing for the device indicated by the real LC number set in the channel program read from an address to the channel program set in the LC table corresponding to the virtual LC number, based on the channel program read from the address. The information processing device according to claim 4.

7. when the information indicating whether the LC is valid or invalid and set in the PC table indicates that the empty LC is invalid, the input / output processing means reads out the channel program from the address to the channel program set in the LC table corresponding to the virtual LC number specified by the arithmetic processing means, and performs input / output processing for the device corresponding to the virtual LC number. The information processing device according to claim 4.

8. providing an area in the LC table for setting the actual LC number; when the channel program is terminated, the input / output processing means stores the value set as the actual LC number of the channel program in the area of ​​the LC table, and reports the termination of the channel program to the software that created the channel program.

7. The information processing device according to claim 5 or 6.

9. a real LC number for designating a device for performing the input / output processing and a virtual LC number for designating one of LC tables prepared for the maximum number of devices connectable to a physical channel that is an interface to the device, the real LC number designating a device for performing the input / output processing and a virtual LC number used for managing the device in the input / output processing, the virtual LC number designating one of LC tables prepared for the maximum number of devices connectable to a physical channel that is an interface to the device, performing input / output processing based on the channel program to the device indicated by the real LC number, using the LC table indicated by the virtual LC number; Input / output processing methods.

Citation Information

Patent Citations

  • Method for managing input / output (i / o) virtualization in data processing system, data processing system, and computer program

    JP2009123217A