Test method, test program and information processing device

By synchronizing interrupts based on the longest processing time for each IO device, the method addresses the issue of biased interrupt ordering in complex systems, ensuring comprehensive and reliable IO interrupt testing.

JP2024151660AInactive Publication Date: 2024-10-25FUJITSU LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023065183
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-12
Publication Date
2024-10-25
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing IO interrupt testing methods, particularly the IO random startup method, face challenges in ensuring the completeness of interrupt order due to the dependency on the processing time of each IO device, which can lead to biased interrupt ordering, especially in larger systems with multiple connected devices.

Method used

The method adjusts the time of interrupts for each IO device to the one requiring the longest processing time, ensuring all devices interrupt simultaneously, using a control unit to manage the timing and perform comprehensive interrupt testing.

Benefits of technology

This approach ensures the completeness of IO interrupt ordering by synchronizing interrupts across multiple devices, thereby improving the reliability and accuracy of testing in complex systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024151660000001_ABST
    Figure 2024151660000001_ABST
Patent Text Reader

Abstract

To ensure exhaustiveness of the order of IO interrupts.SOLUTION: The time at which an interrupt occurs in each of a plurality of IO devices 14 to be tested is adjusted to the IO device 14 that requires the longest time from startup to interrupt among the plurality of IO devices 14, and an interrupt test is performed on each of the plurality of IO devices 14 in a state in which the interrupts of the plurality of IO devices 14 occur simultaneously.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a test method, a test program, and an information processing apparatus. [Background technology]

[0002] The IO interrupt test for IO devices may be performed using the IO random start method, which randomly starts IO devices and then starts the IO devices that have interrupted, checking the operation of the interrupt queue and testing the independence of the IO devices. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2010-44622 A Summary of the Invention [Problem to be solved by the invention]

[0004] In tests using the random IO startup method, the first startup is performed by randomly selecting an IO device. However, from the second startup onwards, the startup is performed from the IO device that interrupted earlier, depending on the processing time of each IO device, so there is a risk of bias in the interrupt order. In addition, since recent systems have become larger and more IO devices are connected, the random IO startup method may not be able to ensure comprehensive interrupt order.

[0005] One aspect is to ensure completeness of IO interrupt ordering. [Means for solving the problem]

[0006] In one aspect, the test method matches the time at which an interrupt occurs in each of a plurality of IO devices being tested to the IO device among the plurality of IO devices that has the longest time from startup to interrupt, and performs an interrupt test on each of the plurality of IO devices in a state in which the interrupts of the plurality of IO devices occur simultaneously. Effect of the Invention

[0007] One aspect is that it ensures completeness in the ordering of IO interrupts. [Brief description of the drawings]

[0008] [Figure 1] FIG. 2 is a block diagram illustrating an example of a hardware configuration of an information processing device according to an embodiment. [Diagram 2] FIG. 13 is a diagram illustrating control by random activation in a related example. [Diagram 3] FIG. 2 is a block diagram illustrating an example of a software configuration of the information processing device according to the embodiment. [Figure 4] 11 is a table illustrating a list of test target IO devices in the embodiment. [Diagram 5] 1 is a table illustrating an example of a list of interrupt type combinations in an embodiment. [Figure 6] 11 is a table illustrating a transfer order list in the embodiment. [Figure 7] 11A and 11B are diagrams illustrating a time adjustment process according to an embodiment. [Figure 8] 11 is a table illustrating an example of a list of shortest processing times according to an embodiment. [Figure 9] 11 is a table illustrating an example of a list of transfer conditions in the embodiment. [Figure 10] FIG. 4 is a diagram illustrating a processing table in the embodiment. [Figure 11] 1 is a flowchart illustrating a test process according to an embodiment. [Figure 12] 1 is a flowchart illustrating a test process according to an embodiment. [Figure 13] 1 is a flowchart illustrating a test process according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] [A] Embodiment An embodiment will be described below with reference to the drawings. However, the embodiment described below is merely an example, and there is no intention to exclude the application of various modified examples and techniques not specified in the embodiment. In other words, the present embodiment can be implemented with various modifications within the scope of the gist of the embodiment. In addition, each figure does not intend to include only the components shown in the figure, but can include other functions, etc.

[0010] FIG. 1 is a block diagram illustrating an example of a hardware configuration of an information processing device 1 according to an embodiment.

[0011] The information processing device 1 includes a Central Processing Unit (CPU) 11, a memory 12, a channel device 13, and a plurality of IO devices 14 (in other words, IO devices A to D). The IO device A may be a Local Area Network (LAN) card, the IO device B may be a Hard Disk Drive (HDD) device, the IO device C may be a tape device, and the IO device D may be a display device.

[0012] The CPU 11 is, for example, a processing device that performs various controls and calculations, and is an example of a processor. The CPU 11 executes an Operating System (OS) and programs read by the memory 12, thereby realizing various functions as described later with reference to FIG.

[0013] The programs for implementing various functions may be provided in a form recorded on a computer-readable recording medium, such as a flexible disk, a CD (CD-ROM, CD-R, CD-RW, etc.), a DVD (DVD-ROM, DVD-RAM, DVD-R, DVD+R, DVD-RW, DVD+RW, HD DVD, etc.), a Blu-ray disk, a magnetic disk, an optical disk, a magneto-optical disk, etc. Then, the computer (CPU 11 in this embodiment) may read the program from the above-mentioned recording medium via a reading device (not shown), transfer it to an internal recording device or an external recording device, and store it for use. Also, the program may be recorded in a storage device (recording medium), such as a magnetic disk, an optical disk, a magneto-optical disk, etc., and provided to the computer from the storage device via a communication path.

[0014] When implementing various functions, a program stored in an internal storage device (memory 12 in this embodiment) may be executed by a computer (CPU 11 in this embodiment). Also, a program recorded on a recording medium may be read and executed by a computer.

[0015] The memory 12 is a storage device including, for example, a Read Only Memory (ROM) and a Random Access Memory (RAM). The RAM may be, for example, a Dynamic RAM (DRAM). Programs such as a Basic Input / Output System (BIOS) may be written in the ROM of the memory 12. The software programs in the memory 12 may be appropriately read and executed by the CPU 11. The RAM of the memory 12 may be used as a primary recording memory or a working memory.

[0016] The channel device 13 is an interface that connects the CPU 11 to the IO device 14 so that they can communicate with each other. The channel device 13 receives data transmitted from the CPU 11 or the IO device 14, temporarily stores the data in an interrupt queue 131, and then passes the data to the IO device 14. The channel device 13 also transmits data received from the IO device 14 to the CPU 11.

[0017] If IO devices A, B, C, and D are started in that order and processing is completed in the order of A, B, C, and D, interrupt information will enter the interrupt queue 131 in the order of A, B, C, and D, and will be notified to the CPU 11 as interrupt events in that order.

[0018] FIG. 2 is a diagram illustrating control by random activation in a related example.

[0019] In a test using the IO random start method, an IO device is randomly selected and started for the first start. In the example shown by reference symbol a1 in Fig. 2, interrupt information 130 is input from the IO device 14 to the interrupt queue 131 in the order of A1, A2, B1, C1, A3, D1, A4, and B2, and is output to the CPU 11.

[0020] As shown by the symbol a2, IO devices A1, B1, C1, and D1 are started simultaneously. After that, an interrupt is made for IO device A1, then an interrupt and start-up of IO device A2 is made, and then an interrupt is made for IO device A3. Furthermore, an interrupt is made for IO device B1 and an start-up of IO device B2 is made, then an interrupt is made for IO device C1 and an start-up of IO device C2 is made, then an interrupt is made for IO device A3 and an start-up of IO device A4 is made, and then an interrupt is made for IO device D1. Then, an interrupt is made for IO device A4, and then an interrupt is made for IO device B2.

[0021] In the example shown in FIG. 2, the processing times of the IO devices A1 to A4 are short, so that a combination of successive interrupts from the IO devices B1 and B2 or successive interrupts from the IO devices C1 and C2 does not occur.

[0022] In this way, the second and subsequent startups depend on the processing time of each IO device, and start from the IO device that interrupted earlier, so there is a risk of bias in the interrupt order. In addition, since recent systems have become larger and many IO devices are connected, the IO random startup method may not be able to ensure comprehensiveness of the interrupt order.

[0023] FIG. 3 is a block diagram illustrating an example of the software configuration of the information processing device 1 according to the embodiment.

[0024] The CPU 11 shown in FIG. 1 functions as a control unit 112, an IO device configuration recognition processing unit 113, a transfer order determination unit 114, an IO device response time measurement unit 115, a processing time adjustment unit 116, a processing time table creation unit 117, an IO startup unit 118, an interrupt handler unit 119, and an interrupt confirmation unit 120.

[0025] The control unit 112 receives IO device information 111 from an operator and notifies the operator of the test results. The IO device information 111 is information on the IO devices 14 to be tested, and includes model number information of each IO device 14 and information on the type of interrupt generated by each IO device 14.

[0026] The control unit 112 adjusts the time at which an interrupt occurs in each of the multiple IO devices 14 to be tested to the IO device 14 that has the longest time from startup to interrupt among the multiple IO devices 14. The control unit 112 performs an interrupt test on each of the multiple IO devices 14 in a state in which the multiple IO devices 14 interrupt simultaneously.

[0027] The control unit 112 executes the interrupt test for all types of the multiple IO devices 14, for combinations of the presence and absence of interrupts.

[0028] The control unit 112 controls the interface with the operator and the transfer of data between each functional block.

[0029] The IO device configuration recognition processing unit 113 receives model number information of the IO device 14 included in the IO device information 111 from the control unit 112, and outputs the test target IO device list 101 to the control unit.

[0030] FIG. 4 is a table illustrating a test target IO device list 101 in the embodiment.

[0031] Numbers, device types, device model numbers, and remarks are associated with each other in the test target IO device list 101. For example, the number "1" is associated with the device type "LAN card" and the device model number "0xFFLANC."

[0032] The IO device configuration recognition processing unit 113 recognizes the IO device configuration connected to the channel device 13 based on the model number information of the IO device 14 received via the control unit 112, and creates a test target IO device list 101. Then, the IO device configuration recognition processing unit 113 passes the test target IO device list to the control unit 112.

[0033] The transfer order determination unit 114 shown in FIG. 3 receives the interrupt information type included in the IO device information 111 and the test target IO device list 101 from the control unit 112, and outputs the interrupt type combination list 102 and the transfer order list 103 to the control unit 112.

[0034] FIG. 5 is a table illustrating an example of the interrupt type combination list 102 in the embodiment.

[0035] In the interrupt type combination list 102, the interrupt combination number, the test target IO type, and the interrupt type are associated with each other.

[0036] 5, there are two combinations of IO device 14 and interrupts, namely, test target IO devices A and B. The types of interrupts that occur in IO device A are normal termination and program interrupt, and the types of interrupts that occur in IO device B are normal termination and program interrupt.

[0037] A transfer order list 103 is created that lists all combinations of interrupt combination numbers. Since there are four types of interrupt combination numbers shown in Figure 5, the transfer order list 103, which is the variation of the transfer order, has [4 x 4 x 4 x 4 = 256 ways].

[0038] The transfer order determination unit 114 uses the test target IO device list 101 and the interrupt information type received via the control unit 112 to create a list 102 of combinations of IO devices 14 and interrupt types that may occur in the system, and assigns numbers to them.

[0039] FIG. 6 is a table illustrating the transfer order list 103 in the embodiment.

[0040] In the transfer order list 103, transfer order numbers, IO devices 1 to 4, and remarks are associated with each other.

[0041] In the transfer sequence list 103, the transfer sequence number is one transfer combination. When the IO device 14 is started in the order of IO start 1, 2, 3, and 4, the meanings of the numbers indicated by IO start 1, 2, 3, and 4 are as follows.

[0042] 1: Case where test target IO type is [A] and interrupt type is [program interrupt] 2: Case where test target IO type is [A] and interrupt type is [normal completion] 3: Case of test target IO type [A], interrupt type [program interrupt] 4: Case where test target IO type is [B] and interrupt type is [normal completion]

[0043] When the above cases 1 to 4 are combined for IO activations 1, 2, 3, and 4, a transfer order list 103 including transfer order numbers 1 to 256 is generated as shown in FIG.

[0044] FIG. 7 is a diagram illustrating the time adjustment process in the embodiment.

[0045] The IO device response time measurement unit 115, the processing time adjustment unit 116, and the processing time table creation unit 117 shown in FIG.

[0046] As indicated by the symbol b1, after a fixed value (t) has elapsed since the execution of an IO command from CPU 11, IO device 14 is started by channel device 13 (CH) and data transfer from IO device 14 is completed. The fixed value (t) indicates the time from when CPU 11 executes an IO command to when channel device 13 is started. This time is a fixed value regardless of IO device 14 connected to channel device 13.

[0047] As shown by the symbol b2, the time from the start of the IO device to the end of the transfer can be set to the shortest processing time. The shortest processing time is a value indicating the processing time of the IO device 14 when the time from the start of the IO device to the end of the transfer is set to be the shortest (e.g., transfer length = 1).

[0048] As indicated by reference symbol b3, the time from the start of the IO device to the end of the transfer may be the sum of the shortest processing time and the transfer time. The transfer time indicates a time that changes according to the transfer length when the transfer length of the IO device 14 is changed.

[0049] As indicated by the symbol b4, an interval may be provided after the start of the test and before the execution of an IO command. The interval indicates the time provided from the start of the test to the execution of an IO command by the CPU 11. The interval is a value used to adjust the processing time when it is not possible to set an arbitrary processing time based on the transfer length.

[0050] The IO device response time measurement unit 115 shown in FIG. 3 receives the interrupt type combination list 102 from the control unit 112 and outputs the shortest processing time list 104 of the IO device 14 .

[0051] FIG. 8 is a table illustrating the list of shortest processing times 104 in the embodiment.

[0052] In the list of shortest processing times 104, numbers, target IO types, target interrupt types, shortest processing times, and measured values ​​are associated with each other.

[0053] For example, the number "1" is associated with the target IO type "A", the target interrupt type "program interrupt", the shortest processing time "t+1", and the measurement value "11 ms".

[0054] t is a fixed reference value (e.g. 10 ms). The fixed value is the time from the start of the CPU IO command to the start of the channel (CH).

[0055] The IO device response time measurement unit 115 refers to the interrupt type combination list 102 received via the control unit 112, and measures the shortest processing time for each interrupt type of the IO device 14 to be tested. Then, the IO device response time measurement unit 115 creates the shortest processing time list 104 of the IO device 14 and passes it to the control unit 112.

[0056] Since the response time of the IO device 14 differs depending on the type (e.g., a tape device and a HDD, etc.), the IO device response time measurement unit 115 measures the shortest processing time for each type. The measurement is performed by setting the condition under which the IO device 14 completes processing as quickly as possible (e.g., length 1 transfer).

[0057] The processing time adjustment unit 116 shown in FIG. 3 receives the list 104 of shortest processing times of the IO devices 14 from the control unit 112 and outputs the list 105 of transfer conditions.

[0058] FIG. 9 is a table illustrating the transfer condition list 105 in the embodiment.

[0059] In the transfer condition list 105, numbers, target IO types, target interrupt types, shortest processing times, transfer times, transfer conditions, intervals, and total times are associated with each other.

[0060] For example, the number “1” is associated with the target IO type “A”, the target interrupt type “program interrupt”, the shortest processing time “t+1”, the transfer time “+0”, the transfer condition “pro-allocation”, the interval “+9”, and the total time “t+10”.

[0061] The processing time is the same for all of them. The interval is the waiting time until the next startup.

[0062] The processing time adjustment unit 116 receives the interrupt type combination list 102 and the shortest processing time list 104 of the IO device 14 via the control unit 112 as input, and adjusts the processing time by changing the transfer conditions (e.g., transfer data length) so that all transfers are completed within a fixed time.

[0063] The processing time table creation unit 117 shown in FIG. 3 receives the transfer order list 103 and the transfer condition list 105 from the control unit 112 , and outputs the processing table 106 to the control unit 112 .

[0064] FIG. 10 is a diagram illustrating an example of the processing table 106 in the embodiment.

[0065] In the process table 106, a sequence, a number, a target IO type, a target interrupt type, a shortest process time, a transfer time, a transfer condition, an interval, and a total time are associated with each other.

[0066] For example, the number “1” of the sequence “1” is associated with the target IO type “A”, the target interrupt type “program interrupt”, the shortest processing time “t+1”, the transfer time “+0”, the transfer condition “pro-allocation”, the interval “+9”, and the total time “t+10”.

[0067] The processing time table creating unit 117 merges the transfer order list 103 and the transfer condition list 105 received via the control unit 112 to create a processing table 106. The processing time table creating unit 117 passes the created processing table to the control unit 112.

[0068] Processing time table creation unit 117 sets the test start time for each combination of transfer orders in the processing table. This start time is set while shifting by t time from the beginning (t is a fixed value that serves as a reference). Since the shift in start time depends on the processing speed of the queue held by channel device 13, it is held as a fixed value by control unit 112 and becomes the operation setting value when the program runs.

[0069] The IO startup unit 118 shown in FIG. 3 receives the processing table 106 from the control unit 112, and outputs a processing table end notification to the control unit 112.

[0070] The IO starting unit 118 starts the processing of the corresponding IO device 14 according to the processing table 106 received via the control unit 112. The IO starting processing is called from the control unit 112 or the interrupt handler unit 119. When all the processing of the processing table 106 is completed, the IO starting unit 118 issues a processing table end notification to the control unit 112.

[0071] The interrupt handler unit 119 shown in FIG. 3 receives an IO interrupt from the IO device 14 and notifies the IO starting unit 118 .

[0072] When an interrupt occurs from the IO device 14, the program transitions to the interrupt handler unit 119. The interrupt handler unit 119 logs the time and interrupt information at the time of the interrupt, and notifies the IO startup unit 118 of information on the device that caused the interrupt. The IO startup unit 118 performs restart processing of the IO device 14 according to the active processing table 106 if it is necessary to restart the device that caused the interrupt.

[0073] The interrupt confirmation unit shown in FIG. 3 receives an interrupt log from the interrupt handler unit 119 and the transfer order list 103 from the control unit 112, and notifies the control unit 112 of the test result.

[0074] The interrupt confirmation unit 120 is called by the control unit 112 when the processing table 106 of the IO startup unit 118 is completely completed. The interrupt confirmation unit 120 checks the interrupt log received via the control unit 112, and checks whether the interrupts are logged in an order that matches the transfer order list 103. The interrupt confirmation unit 120 notifies the control unit 112 of the confirmation result as the test result.

[0075] The test process in this embodiment will be described with reference to the flowcharts (steps S1 to S13) shown in FIGS.

[0076] The operator starts a test, and input information is passed to the control unit 112 (step S1).

[0077] The control unit 112 passes the input information (model number information and interrupt type information) to the IO device configuration recognition processing unit 113 (step S2).

[0078] The IO device configuration recognition processing unit 113 executes the processing, and passes the output information (test target IO device list 101) to the control unit 112 (step S3).

[0079] The control unit 112 passes input information (interrupt type information and test target IO device list 101) to the transfer order determination unit 114. The transfer order determination unit 114 performs processing and passes output information (interrupt type combination list 102 and transfer order list 103) to the control unit 112 (step S4).

[0080] The process in step S4 will be described in detail in steps S41 to S45 below.

[0081] The transfer order determination unit 114 receives interrupt type information from the control unit (step S41).

[0082] The transfer order determination unit 114 receives the test target IO device list 101 from the IO device configuration recognition processing unit 113 (step S42).

[0083] The transfer order determination unit 114 creates an interrupt combination table from the interrupt type information and the test target IO device list 101 (step S43).

[0084] The transfer order determination unit 114 assigns an arbitrary interrupt combination number to the interrupt combination table, and creates the interrupt type combination list 102 (step S44).

[0085] The transfer order determination unit 114 combines the numbers in the interrupt type combination list 102 to create the transfer order list 103 (step S45).

[0086] The control unit 112 passes input information (interrupt type combination list 102) to the IO device response time measurement unit 115. The IO device response time measurement unit 115 performs processing and passes output information (shortest processing time list 104 of IO devices 14) to the control unit 112 (step S5).

[0087] The process in step S5 will be described in detail in steps S51 to S53 below.

[0088] The IO device response time measurement unit 115 receives the interrupt type combination list 102 from the transfer order determination unit 114 (step S51).

[0089] The IO device response time measurement unit 115 refers to the interrupt type combination list 102 and measures the shortest processing time (transfer length=1) for each interrupt type of the IO device 14 (step S52).

[0090] The IO device response time measurement unit 115 sets the measured shortest processing time in the shortest processing time list 104 of the IO device 14 (step S53).

[0091] The control unit 112 passes input information (the list 104 of shortest processing times of the IO devices 14) to the processing time adjustment unit 116. The processing time adjustment unit 116 performs processing and passes output information (the list 105 of transfer conditions) to the control unit 112.

[0092] The process in step S6 will be explained in detail in the following steps S61 to S65.

[0093] The processing time adjustment unit 116 receives (the list 104 of shortest processing times of the IO devices 14) from the IO device response time measurement unit 115 (step S61).

[0094] The processing time adjustment unit 116 adjusts the total time of each item in the transfer condition list 105 based on the time from IO activation to interruption of the IO device 14 with the longest processing time (step S62).

[0095] The processing time adjustment unit 116 determines whether the interrupt combination is a combination that requires abnormal processing and does not allow the transfer length to be changed (step S63).

[0096] If the interrupt combination is not one that does not allow abnormal processing and does not allow the transfer length to be changed (see the No route in step S63), the processing time adjustment unit 116 calculates the processing time using the total value of the fixed value, the shortest processing time, the transfer time, and the interval, and sets the determined parameter in the transfer condition list 105 (step S64). Then, the process proceeds to step S7.

[0097] If the interrupt combination is a combination that does not allow abnormal processing and does not allow the transfer length to be changed (see the Yes route in step S63), the processing time adjustment unit 116 calculates the processing time using the total value of the fixed value, the shortest processing time, and the interval, and sets the determined parameters in the transfer condition list 105 (step S65).

[0098] The control unit 112 passes the transfer order list 103 and the transfer condition list 105 to the processing time table creation unit 117. The processing time table creation unit 117 performs processing and passes output information to the control unit 112 (step S66).

[0099] The process in step S7 will be explained in detail in the following steps S71 to S73.

[0100] The processing time table creation unit 117 reads out the transfer order list 103 from the transfer order determination unit 114 (step S71).

[0101] The processing time table creation unit 117 reads out the transfer condition list 105 from the processing time adjustment unit 116 (step S72).

[0102] The processing time table creating unit 117 combines the transfer order list 103 and the transfer condition list 105 to create the processing table 106 (step S73).

[0103] The control unit 112 passes the processing table 106 to the IO starting unit 118. The IO starting unit 118 starts the IO device 14 in accordance with the processing table 106 (step S8).

[0104] The process in step S8 will be explained in detail in the following steps S81 to S83.

[0105] The IO starting unit 118 starts the IO device 14 in the order unit of the processing table 106. The IO device 14 starts at the interval value set in the processing table 106 (step S81).

[0106] The IO device 14 performs the process according to the process table 106, and creates an IO interrupt after completion (step S82).

[0107] The IO startup unit 118 determines whether the interrupt combination is a combination that requires abnormal processing and does not allow the transfer length to be changed (step S83).

[0108] If the combination is abnormal and the transfer length cannot be changed (see the Yes route from step S83), the process returns to step S81.

[0109] On the other hand, if the combination is not one in which abnormal processing and transfer length cannot be changed (see No route in step S83), the IO startup unit 118 notifies the control unit 112 of the output result (step S9).

[0110] The process in step S9 will be explained in detail in the following steps S91 and S92.

[0111] The IO starting unit 118 combines the numbers in the interrupt type combination list 102 to create the transfer order list 103 (step S91).

[0112] The IO starting unit 118 checks the IO device 14 where the interrupt occurred and the processing table 106 (step S92).

[0113] The control unit 112 notifies the interrupt confirmation unit 120 that all the processes in the process table 106 have been completed (step S10).

[0114] The interrupt check section 120 passes the test result to the control section 112 (step S11).

[0115] The control unit 112 notifies the operator of the test result (step S12), and the process then ends.

[0116] [C] Effect According to the test method, the test program, and the information processing device 1 in the above-described embodiment, the following advantageous effects can be obtained, for example.

[0117] The control unit 112 adjusts the time at which an interrupt occurs in each of the multiple IO devices 14 to be tested to the IO device 14 that has the longest time from startup to interrupt among the multiple IO devices 14. The control unit 112 performs an interrupt test on each of the multiple IO devices 14 in a state in which the multiple IO devices 14 interrupt simultaneously.

[0118] This ensures completeness in the ordering of IO interrupts.

[0119] [D] Other The disclosed technology is not limited to the above-described embodiment, and various modifications can be made without departing from the spirit of the present embodiment. Each configuration and each process of the present embodiment can be selected as necessary, or can be combined as appropriate.

[0120] [E] Notes The following supplementary notes are further disclosed regarding the above embodiment.

[0121] (Appendix 1) The time when an interrupt occurs in each of the multiple IO devices to be tested is adjusted to the IO device that has the longest time from startup to interrupt among the multiple IO devices, performing an interrupt test for each of the plurality of IO devices in a state where the plurality of IO devices are interrupted simultaneously; A testing method in which processing is performed by a computer.

[0122] (Appendix 2) If the combination of the interrupt test is a combination in which abnormal processing and transfer length cannot be changed, the time when the interrupt occurs is calculated as the sum of a fixed value, a shortest processing time, and an interval. The testing method of claim 1, wherein the processing is performed by a computer.

[0123] (Appendix 3) If the combination of the interrupt test is not a combination in which abnormal processing and transfer length cannot be changed, the time when the interrupt occurs is calculated based on the total value of a fixed value, a shortest processing time, a transfer time, and an interval. The testing method of claim 1, wherein the processing is performed by a computer.

[0124] (Appendix 4) The interrupt test is performed for all types of the plurality of IO devices, with and without interrupts. The testing method according to any one of claims 1 to 3, wherein the processing is executed by a computer.

[0125] (Appendix 5) The time when an interrupt occurs in each of the multiple IO devices to be tested is adjusted to the IO device that has the longest time from startup to interrupt among the multiple IO devices, performing an interrupt test for each of the plurality of IO devices in a state where the plurality of IO devices are interrupted simultaneously; A test program that causes a computer to execute a process.

[0126] (Appendix 6) If the combination of the interrupt test is a combination in which abnormal processing and transfer length cannot be changed, the time when the interrupt occurs is calculated as the sum of a fixed value, a shortest processing time, and an interval. 6. The test program according to claim 5, which causes the computer to execute a process.

[0127] (Appendix 7) If the combination of the interrupt test is not a combination in which abnormal processing and transfer length cannot be changed, the time when the interrupt occurs is calculated based on the total value of a fixed value, a shortest processing time, a transfer time, and an interval. 6. The test program according to claim 5, which causes the computer to execute a process.

[0128] (Appendix 8) The interrupt test is performed for all types of the plurality of IO devices, with and without interrupts. The test program according to any one of claims 5 to 7, which causes the computer to execute a process.

[0129] (Appendix 9) The time when an interrupt occurs in each of the multiple IO devices to be tested is adjusted to the IO device that has the longest time from startup to interrupt among the multiple IO devices, performing an interrupt test for each of the plurality of IO devices in a state where the plurality of IO devices are interrupted simultaneously; An information processing device comprising a processor.

[0130] (Appendix 10) The processor, If the combination of the interrupt test is a combination in which abnormal processing and transfer length cannot be changed, the time when the interrupt occurs is calculated as the sum of a fixed value, a shortest processing time, and an interval. 10. The information processing device according to claim 9.

[0131] (Appendix 11) The processor, If the combination of the interrupt test is not a combination in which abnormal processing and transfer length cannot be changed, the time when the interrupt occurs is calculated based on the total value of a fixed value, a shortest processing time, a transfer time, and an interval. 10. The information processing device according to claim 9.

[0132] (Appendix 12) The processor, The interrupt test is performed for all types of the plurality of IO devices, with and without interrupts. 12. The information processing device according to any one of claims 9 to 11. [Explanation of symbols]

[0133] 1: Information processing equipment 11: CPU 12: Memory 13: Channel device 14 :IO device 101: List of IO devices to be tested 102: List of interrupt type combinations 103: Transfer order list 104: List of shortest processing times 105: List of forwarding conditions 106: Processing table 111:IO device information 112: Control unit 113: IO device configuration recognition processing unit 114: Transfer order determination unit 115: IO device response time measurement unit 116: Processing time adjustment unit 117: Processing time table creation unit 118 :IO startup part 119: Interrupt handler section 120: Interrupt confirmation section

Claims

1. The time at which an interrupt occurs in each of the plurality of IO devices to be tested is adjusted to the time required from startup to an interrupt in the IO device having the longest time among the plurality of IO devices; performing an interrupt test on each of the plurality of IO devices in a state where the plurality of IO devices are interrupted simultaneously; A testing method in which processing is performed by a computer.

2. If the combination of the interrupt test is a combination in which abnormal processing and transfer length cannot be changed, the time when the interrupt occurs is calculated as the sum of a fixed value, a shortest processing time, and an interval. The testing method of claim 1 , wherein the processing is performed by a computer.

3. If the combination of the interrupt test is not a combination in which abnormal processing and transfer length cannot be changed, the time when the interrupt occurs is calculated based on the total value of a fixed value, a shortest processing time, a transfer time, and an interval. The testing method of claim 1 , wherein the processing is performed by a computer.

4. The interrupt test is performed for all types of the plurality of IO devices, with and without interrupts. The test method according to any one of claims 1 to 3, wherein the processing is executed by a computer.

5. The time at which an interrupt occurs in each of the plurality of IO devices to be tested is adjusted to the time required from startup to an interrupt in the IO device having the longest time among the plurality of IO devices; performing an interrupt test on each of the plurality of IO devices in a state where the plurality of IO devices are interrupted simultaneously; A test program that causes a computer to execute a process.

6. The time at which an interrupt occurs in each of the plurality of IO devices to be tested is adjusted to the time required from startup to an interrupt in the IO device having the longest time among the plurality of IO devices; performing an interrupt test on each of the plurality of IO devices in a state where the plurality of IO devices are interrupted simultaneously; An information processing device comprising a processor.

Citation Information

Patent Citations

  • Information processor test program and method

    JP2010044622A