WO2015162774A1 - 計算機、計算機のi/oスイッチの制御方法 - Google Patents

計算機、計算機のi/oスイッチの制御方法 Download PDF

Info

Publication number
WO2015162774A1
WO2015162774A1 PCT/JP2014/061650 JP2014061650W WO2015162774A1 WO 2015162774 A1 WO2015162774 A1 WO 2015162774A1 JP 2014061650 W JP2014061650 W JP 2014061650W WO 2015162774 A1 WO2015162774 A1 WO 2015162774A1
Authority
WO
WIPO (PCT)
Prior art keywords
switch
pci express
computer
switches
management controller
Prior art date
Application number
PCT/JP2014/061650
Other languages
English (en)
French (fr)
Inventor
覚 上村
功 大原
Original Assignee
株式会社日立製作所
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社日立製作所 filed Critical 株式会社日立製作所
Priority to US15/122,546 priority Critical patent/US10073801B2/en
Priority to JP2016514656A priority patent/JP6175186B2/ja
Priority to PCT/JP2014/061650 priority patent/WO2015162774A1/ja
Publication of WO2015162774A1 publication Critical patent/WO2015162774A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0026PCI express

Definitions

  • the present invention relates to a computer and a method for controlling a computer I / O switch.
  • Patent Document 1 JP 2009-282773 A. This publication describes “a data transfer system that can provide an optimum route for use in a system including a PCI Express switch” (see summary).
  • Patent Document 1 describes a computer in which each port of an I / O controller is connected to an I / O device via an I / O switch, according to the number of I / O devices connected to each port of the I / O controller. It is not assumed that the throughput of each port of the I / O controller varies and the throughput of the I / O controller decreases.
  • the present invention controls a connection state between each port of an I / O controller and an I / O switch, improves a bias in throughput between each port of the I / O controller, and improves the throughput.
  • a method of controlling a computer I / O switch is provided.
  • a computer includes one or more I / O switches, one or more I / O devices connected to the one or more I / O switches, a management controller, and a plurality of ports.
  • the management controller stores configuration management information for managing the connection state with one or more I / O switches and the number of virtual switches in association with each other.
  • the management controller detects the connection state with one or more I / O switches, refers to the configuration management information, and acquires the number of virtual switches associated with the detected connection state with the I / O switch.
  • the management controller sets the acquired number of virtual switches for each connected I / O switch among one or more I / O switches.
  • Each port of the I / O controller is connected to one or more I / O devices via the set virtual switch.
  • FIG. 3 is a diagram illustrating a configuration of a computer according to the first embodiment.
  • FIG. 6 is a diagram illustrating a first modification example of the configuration of the computer according to the first embodiment.
  • FIG. 10 is a diagram illustrating a second modification example of the configuration of the computer according to the first embodiment.
  • 1 is a diagram illustrating a configuration of a PCI Express I / F adapter in Embodiment 1.
  • FIG. It is a figure which shows the structure of the management controller in Example 1.
  • FIG. 3 is a flowchart illustrating a setting process of a PCI Express Switch and a multiplexer according to the first embodiment. It is a figure which shows the structure of the input table in Example 1.
  • FIG. It is a figure which shows the structure of the expectation value table in Example 1.
  • FIG. 6 is a diagram illustrating a configuration of a computer according to a second embodiment.
  • FIG. 10 is a diagram illustrating a first modification example of the configuration of the computer according to the second embodiment. It is a figure which shows the 2nd example of a change of the structure of the computer in Example 2.
  • FIG. It is a figure which shows the structure of the management controller in Example 2.
  • FIG. 10 is a flowchart illustrating a setting process of PCI Express Switch in the second embodiment. It is a figure which shows the structure of the input table in Example 2.
  • FIG. It is a figure which shows the structure of the expectation value table in Example 2.
  • FIG. 10 is a flowchart illustrating a setting process of PCI Express Switch in the second embodiment. It is a figure which shows the structure of the input table in Example 2.
  • FIG. It is a figure which shows the structure of the expectation value table in Example 2.
  • FIG. 10 is a flowchart illustrating a setting process of PCI Express Switch in the second embodiment. It is a
  • FIG. 1 is a diagram showing the configuration of a computer.
  • the computer is, for example, a server device or a storage device.
  • the computer includes an I / O controller (Input / Output Controller) 100, a PCI Express I / F (interface) adapter 101 / 106-108, a management controller 110, and I / O devices 111-126.
  • the PCI Express I / F adapter 101 is a master, and the PCI Express I / F adapters 106 to 108 are slaves. In the configuration of the computer, some or all of the PCI Express I / F adapters 106 to 108 and the I / O devices 111 to 126 may not be included.
  • the I / O devices 111 to 126 are each connected to a network such as a SAN (Storage Area Network), and are connected to an external device such as a storage device or a server device via the network.
  • the computer is connected to an external device via the I / O devices 111 to 126 and the network, and transmits / receives information (for example, input / output command / response to input / output command).
  • the I / O controller 100 includes a CPU, a memory, and a plurality of root ports (RP) 140 to 143.
  • the I / O controller 100 will be described as having four root ports: RP-A140, RP-B141, RP-C142, and RP-D143.
  • the PCI Express I / F adapter 101 includes MUX B102, MUX C103, MUX D104, which is a multiplexer (MUX, multiplexer switch), a PCI Express Switch 105, and external ports 144 to 146.
  • MUX B102 MUX C103
  • MUX D104 which is a multiplexer (MUX, multiplexer switch)
  • PCI Express Switch 105 PCI Express Switch 105
  • the RP-A 140 of the I / O controller 100 is connected to the PCI Express Switch 105 through a signal line 150.
  • the RP-B 141 is connected to the MUX B102 via the signal line 150.
  • the MUX B102 is connected to the PCI Express Switch 105 and the external port 144 through the signal line 150, respectively.
  • the RP-C 142 is connected to the MUX C103 via the signal line 150.
  • the MUX C103 is connected to the PCI Express Switch 105 and the external port 145 through the signal line 150, respectively.
  • the RP-D 143 is connected to the MUX D104 via the signal line 150.
  • the MUX D104 is connected to the PCI Express Switch 105 and the external port 146 through signal lines 150, respectively.
  • the PCI Express Switch 105 can be connected to the I / O devices 111 to 126, respectively.
  • the external ports 144, 145, and 146 connected to the MUX B102, MUX C103, and MUX D104 are connected to the PCI Express I / F adapters 106, 107, and 108, respectively.
  • the external port 144 to 146 of the PCI Express I / F adapter 101 and the external port of the PCI Express I / F adapter 106 to 108 are connected by a signal line 150, and the connection can be arbitrarily changed. It is.
  • the computer shown in FIG. 1 has a configuration including PCI Express I / F adapters 101 and 106-108. Assuming that up to four I / O devices can be connected to each PCI Express I / F adapter 101.106 to 108, the computer shown in FIG. 1 can connect 16 I / O devices 111 to 126. .
  • the management controller 110 is connected to the PCI Express I / F adapter 101 with MUX B102, MUX C103, MUX D104, and PCI Express Switch 105 via the control signal line 151.
  • the management controller 110 is connected to the PCI Express I / F adapters 106, 107, and 108 via the external ports 144, 145, and 146 of the PCI Express I / F adapter 101 and the control signal lines 152, 153, and 154. And the control signal line 155.
  • the signal lines 150 or the control signal lines 151 to 155 can be connected to each other, but the signal line 150 and the control signal lines 151 to 155 are not connected.
  • the signal line 150 is a cable or wiring on a printed circuit board that transmits information (for example, input / output command / response to input / output command) between the I / O controller 100 and the I / O devices 111 to 126.
  • the control signal lines 151 to 155 are signal lines for transmitting control information between the management controller 110 and the MUX B102, MUX C103, MUX D104, and each PCI Express Switch 105.
  • FIG. 2 is a diagram illustrating a first modification of the configuration of the computer. A configuration different from that of the computer shown in FIG. 1 will be described for the computer shown in FIG.
  • the PCI Express I / F adapter 106 of the computer shown in FIG. 2 is not connected to the external port 144 of the PCI Express I / F adapter 101, and the external ports 145 and 146 are connected to the signal line 150 and the control signal lines 153 and 154. Connected with. Further, the PCI Express I / F adapter 101 is not connected to the PCI Express I / F adapters 107 and 108. Assuming that up to four I / O devices can be connected to each PCI Express I / F adapter 101, 106, the computer shown in FIG. 2 can connect eight I / O devices 111-118.
  • FIG. 3 is a diagram showing a second modification of the computer configuration. A different configuration of the computer shown in FIG. 3 compared to the computer shown in FIG. 1 will be described.
  • the external ports 144, 145, and 146 of the PCI Express I / F adapter 101 of the computer shown in FIG. 3 are not connected to any of the PCI Express I / F adapters 106, 107, and 108. Assuming that up to four I / O devices can be connected to the PCI Express I / F adapter 101, the computer shown in FIG. 3 can connect four I / O devices 111 to 114.
  • FIG. 4 is a diagram showing a configuration of the PCI Express I / F adapter 106.
  • the PCI Express I / F adapter 106 has four external ports 201 to 204, and each is connected to the PCI Express Switch 105 via a signal line 150.
  • the PCI Express Switch 105 can be connected to the I / O devices 115 to 118, respectively.
  • the external port 204 which is one of the four external ports, and the PCI Express Switch 105 are connected by a control signal line 155.
  • the management controller 110 is connected to the PCI Express Switch 105 of the PCI Express I / F adapter 106 via the control signal lines 152 and 155.
  • the management controller 110 is connected to the PCI Express Switch 105 of the PCI Express I / F adapter 106 via the control signal lines 153 and 155.
  • the configuration of the PCI Express I / F adapters 107 and 108 is the same as that of the PCI Express I / F adapter 106.
  • the PCI Express I / F adapter 107 can be connected to the I / O devices 119 to 122, respectively.
  • the PCI Express I / F adapter 108 can be connected to the I / O devices 123 to 126, respectively.
  • FIG. 5 is a diagram showing the configuration of the management controller 110.
  • the management controller 110 is, for example, a BMC (Baseboard Management Controller) or a service processor (Service Processor: SVP).
  • the management controller 110 has a CPU 501 and a memory 502.
  • the CPU 501 includes a detection unit 503, a MUX control unit 504 that controls the multiplexers 102 to 104, and a switch control unit 505 that controls the PCI Express switch 105.
  • the detection unit 503, the MUX control unit 504, and the switch control unit 505 may each be hardware, or may be realized by software executed by the CPU 501.
  • the memory 502 includes an input table 506 and an expected value table 507.
  • FIG. 7 is a diagram showing the configuration of the input table 506.
  • the input table 506 is configuration setting information indicating the configuration of the computer.
  • the input table 506 manages input data (input information, input data) 701, a configuration setting value 702, a VMODE setting value 703, and a MUX setting value 704 in association with each other.
  • the value of each item of the input table 506 varies depending on the configuration of the computer.
  • the management controller 110 For each item of RP-A, RP-B, RP-C, and RP-D in the input data 701, the management controller 110 is connected to each PCI Express Switch 105 of the PCI Express I / F adapter 101 / 106-108. This is connection state information indicating whether or not there is. For example, “P (Present)” is recorded when connected, and “A (Absent)” is recorded when not connected.
  • the management controller 110 is connected to each PCI Express Switch 105 of the PCI Express I / F adapter 101, 106, 107, and 108 via control signal lines 151 to 155.
  • information indicating connection such as “P” is recorded.
  • the management controller 110 is connected to each PCI Express Switch 105 of the PCI Express I / F adapter 101/106 via control signal lines 151/153/155.
  • the management controller 110 is not connected to the PCI Express Switch 105 via the external ports 144 and 146.
  • “P”, “A”, “P”, and “A” are recorded in the RP-A, RP-B, RP-C, and RP-D items of the input data 701, respectively.
  • the management controller 110 is connected to the PCI Express Switch 105 of the PCI Express I / F adapter 101 via the control signal line 151.
  • the management controller 110 is not connected to each PCI Express Switch 105 of the PCI Express I / F adapters 106 to 108.
  • “P”, “A”, “A”, and “A” are recorded in the RP-A, RP-B, RP-C, and RP-D items of the input data 701, respectively.
  • FIG. 8 is a diagram showing the configuration of the expected value table 507.
  • the expected value table 507 is configuration management information that manages input data (input information, input data) 801, configuration setting values 802, VMODE setting values 803, and MUX setting values 804 in association with each other. Values are input in advance in each item of the expected value table 507. Unlike the input table 506, the items in the expected value table 507 are not updated even if the computer configuration changes.
  • FIG. 6 is a flowchart showing a setting process of the PCI Express Switch 105 and the multiplexers 102 to 104.
  • step 600 the management controller 110 starts setting processing of the PCI Express Switch 105 and the multiplexers 102 to 104.
  • the start timing is, for example, when the computer is started, when the management controller 110 detects a change in the configuration of the computer, or when the management controller 110 receives a setting processing start request from a user, a management computer, or the like. .
  • step 601 the detection unit 503 of the management controller 110 determines whether the PCI Express I / F adapters 101, 106, 107, and 108 are connected to the PCI Express Switch 105 via the control signal lines 151 to 155, respectively. To detect. Based on the detection result, the management controller 110 adds the PCI Express I / F adapters 101, 106, and 107 to the RP-A, RP-B, RP-C, and RP-D items of the input data 701 in the input table 506. Stores connection status information indicating whether or not each PCI Express Switch 105 is connected. As described above with reference to FIG. 7, the management controller 110 records, for example, “P (Present)” when connected, and records, for example, “A (Abent)” when not connected.
  • step 602 the detection unit 503 of the management controller 110 compares the stored connection state information of the input data 701 with the input data 801 of the expected value table 507 to determine whether there is a configuration error.
  • step 603 when the detection unit 503 of the management controller 110 determines that there is no configuration error, the processing of step 604 is executed. If the management controller 110 determines that there is a configuration error, the process ends in step 606.
  • the case of a configuration error in the first embodiment is a case where the management controller 110 and the PCI Express Switch 105 of the PCI Express I / F adapter 101 are not connected.
  • the case where there is no configuration error in the first embodiment is a case where the management controller 110 and the PCI Express Switch 105 of the PCI Express I / F adapter 101 are connected.
  • step 601 the management controller 110 detects that it is not connected to the PCI Express Switch 105 of the PCI Express I / F adapter 101, and the RP-A item of the input data 701 is detected. Stores connection state information indicating that the connection is not established.
  • step 602 the management controller 110 compares the connection state information of the input data 701 with the input data 801 of the expected value table 507 and detects a match. The management controller 110 detects a match with any of “# 9 to # 16” having connection state information indicating that the RP-A item of the input data 801 of the expected value table 507 is not connected. A configuration setting value 802 associated with the input data 801 is acquired. The management controller 110 acquires the configuration setting value 802 of “Error” in “# 9 to # 16”, and determines in step 603 that there is a configuration error.
  • step 604 the detection unit 503 of the management controller 110 associates with the input data 801 that matches the connection status information of the input data 701 in the expected value table 507.
  • 802 .VMODE setting value 803 and MUX setting value 804 are acquired and recorded in the configuration setting value 702, VMODE setting value 703 and MUX setting value 704 of the input table 506.
  • step 605 the switch control unit 505 of the management controller 110 sets virtual switches in the PCI Express Switch 105 on the PCI Express I / F adapters 101 and 106 to 108 according to the value recorded in the VMODE setting value 703 of the input table 506. do.
  • the VMODE setting values 703 and 803 indicate the number of virtual switches set in step 605.
  • the MUX control unit 504 of the management controller 110 sets MUX B102, MUX C103, and MUX D104 on the PCI Express I / F adapter 101 according to the value recorded in the MUX setting value 704 of the input table 506.
  • the management controller 110 ends the process.
  • the management controller 110 causes the items of RP-A, RP-B, RP-C, and RP-D of the input data 701 to be “P” or the like. , Information indicating connection is recorded.
  • step 604 the detection unit 503 sets “4to16” as the configuration setting value 802 of “# 1” associated with the input data 801 that matches the input data 701 in the expected value table 507, the VMODE setting value (the number of virtual switches) ) “1” as 803, “MUX B: EX, MUX C: EX, MUX D: EX” as MUX setting value 804, and configuration setting value 702, VMODE setting value 703, MUX setting value of input table 506 Record in 704 respectively.
  • step 605 the switch control unit 505 follows the value “1” recorded in the VMODE setting value (number of virtual switches) 703 of the input table 506, in the PCI Express Switch on each of the PCI Express I / F adapters 101 and 106 to 108.
  • 1 virtual switch (Virtual Switch) is set to exist.
  • the switch control unit 505 transmits a request for setting the number of virtual switches to one to the PCI Express Switch 105 on each PCI Express I / F adapter 101.
  • the PCI Express Switch 105 on each PCI Express I / F adapter 101 / 106-108 is set to have one virtual switch, for example, to create / delete a virtual switch.
  • the MUX control unit 504 follows the values “MUX B: EX, MUX C: EX, MUX D: EX” recorded in the MUX setting value 704 of the input table 506, and the MUX B102 / MUX on the PCI Express I / F adapter 101.
  • Set MUX C103 and MUX D104 Specifically, the MUX control unit 504 transmits requests to connect to the external ports 144, 145, and 146 to the MUX B102, MUX C103, and MUX D104, respectively.
  • the MUX B102, MUX C103, and MUX D104 are set to connect to the external ports 144, 145, and 146, respectively, according to the received request.
  • the corresponding multiplexer is connected to the external port, and if it is “IN”, the corresponding multiplexer is a PCI Express I / F adapter.
  • a request from the MUX control unit 504 is transmitted so as to connect to the PCI Express Switch 105 on the terminal 101, and each multiplexer is set.
  • the RP-A140, RP-B141, RP-C142, and RP-D143 of the I / O controller 100 are PCI on the PCI Express I / F adapters 101, 106, 107, and 108, respectively. It connects to the I / O devices 111 to 126 via one virtual switch of the Express Switch 105.
  • the number of root ports to which the PCI Express Switch 105 on each PCI Express I / F adapter 101, 106 to 108 is connected is the same.
  • the computer shown in FIG. 1 connects 16 I / O devices 111 to 126. can do. Therefore, the number of root ports and the number of connectable I / O devices are 4 and 16, respectively, and the number of connectable I / O devices with respect to the number of root ports is the configuration setting value 702 of the input table 506. The value recorded in “4to16” is obtained.
  • the configuration setting values 702 and 802 indicate “number of root ports to number of connectable I / O devices”, that is, the number of connectable I / O devices with respect to the number of root ports.
  • the management controller 110 causes the items of RP-A, RP-B, RP-C, and RP-D of the input data 701 to be “P”. “A”, “P”, and “A” are recorded respectively.
  • step 604 the detection unit 503 sets “4to8” as the configuration setting value 802 of “# 6” associated with the input data 801 that matches the input data 701 in the expected value table 507, the VMODE setting value (the number of virtual switches) ) “2” as 803 and “MUX B: IN, MUX C: EX, MUX D: EX” as the MUX setting value 804 are acquired and the configuration setting value 702, VMODE setting value 703, and MUX setting value of the input table 506 are obtained. Record in 704 respectively.
  • step 605 the switch control unit 505 follows the value “2” recorded in the VMODE setting value (number of virtual switches) 703 in the input table 506, and sets 2 in the PCI Express Switch 105 on each PCI Express I / F adapter 101/106. Configure so that there are two virtual switches.
  • the MUX control unit 504 follows the values “MUX B: IN, MUX C: EX, MUX D: EX” recorded in the MUX setting value 704 of the input table 506, and the MUX B102 on the PCI Express I / F adapter 101. Set MUX C103 and MUX D104. Specifically, the MUX control unit 504 connects the MUX B102 to the PCI Express Switch 105 on the PCI Express I / F adapter 101, and requests the MUX C103 / MUX D104 to connect to the external ports 145 and 146, respectively. Send.
  • the MUX B 102 connects to the PCI Express Switch 105 on the PCI Express I / F adapter 101 in accordance with the received request.
  • the MUX C103 and MUX D104 connect to the external ports 145 and 146, respectively, according to the received request.
  • the RP-A 140 and RP-B 141 of the I / O controller 100 are connected to the I / O device 111 via two virtual switches of the PCI Express Switch 105 of the PCI Express I / F adapter 101. Connect with ⁇ 114. Further, the RP-C 142 and RP-D 143 of the I / O controller 100 are connected to the I / O devices 115 to 118 via the two virtual switches of the PCI Express I / F adapter 106. The number of root ports to which the PCI Express Switch 105 on the PCI Express I / F adapters 101 and 106 are connected is the same.
  • the computer shown in FIG. 2 connects eight I / O devices 111 to 118. be able to. Accordingly, the number of root ports and the number of connectable I / O devices are 4 and 8, respectively, and the number of connectable I / O devices with respect to the number of root ports is the configuration setting value 702 of the input table 506. The value recorded in “4 to 8” is obtained.
  • the management controller 110 causes the items of RP-A, RP-B, RP-C, and RP-D of the input data 701 to be “P”. “A”, “A”, and “A” are recorded respectively.
  • the detection unit 503 sets “4to4” as the configuration setting value 802 of “# 8” associated with the input data 801 that matches the input data 701 in the expected value table 507, and the VMODE setting value (number of virtual switches).
  • step 605 the switch control unit 505 follows the value “4” recorded in the VMODE setting value (number of virtual switches) 703 of the input table 506, and four virtual switches in the PCI Express Switch on the PCI Express I / F adapter 101. Is set to exist.
  • the MUX control unit 504 follows the values “MUX B: IN, MUX C: IN, MUX D: IN” recorded in the MUX setting value 704 of the input table 506 according to the MUX B102 / MUX B102 on the PCI Express I / F adapter 101.
  • Set MUX C103 and MUX D104 Specifically, the MUX control unit 504 transmits a request to connect the MUX B102, MUX C103, and MUX D104 to the PCI Express Switch 105 on the PCI Express I / F adapter 101.
  • the MUX B102 / MUX C103 / MUX D104 connects to the PCI Express Switch 105 on the PCI Express I / F adapter 101 in accordance with the received request.
  • the RP-A140, RP-B141, RP-C142, and RP-D143 of the I / O controller 100 have four virtual switches of the PCI Express I / F adapter 101 and the PCI Express Switch105. Via the I / O devices 111 to 114. The number of root ports connected to the PCI Express Switch 105 on the PCI Express I / F adapter 101 is four.
  • the computer shown in FIG. 3 can be connected to four I / O devices 111 to 114. it can. Therefore, the number of root ports and the number of connectable I / O devices are 4 and 4, respectively, and the number of connectable I / O devices with respect to the number of root ports is the configuration setting value 702 of the input table 506. The value recorded in “4 to 4” is obtained.
  • the computer according to the second embodiment is configured such that the PCI Express I / F adapters 106 to 109 and the root ports 140 to 143 of the I / O controller 100 are connected without passing through the multiplexers 102 to 104 and the external ports 144 to 146. .
  • FIG. 9 is a diagram illustrating a configuration of a computer according to the second embodiment.
  • the configuration of the PCI Express I / F adapter 109 is the same as that of the PCI Express I / F adapter 106.
  • the PCI Express I / F adapter 109 can be connected to the I / O devices 111 to 114, respectively.
  • the PCI Express I / F adapter 109 does not need the multiplexers 102 to 104 inside.
  • the root ports 140, 141, 142, and 143 are connected to the PCI Express Switch 105 of the PCI Express I / F adapter 109, 106, 107, and 108 through the signal line 150.
  • the PCI Express Switch 105 can be connected to the I / O devices 111 to 126.
  • the computer has an I / O controller 100, a PCI Express I / F adapter 106-109, a management controller 910, and I / O devices 111-126. In the configuration of the computer, some or all of the PCI Express I / F adapters 106 to 109 and the I / O devices 111 to 126 may not be included.
  • the computer is connected to an external device via the I / O devices 111 to 126 and the network, and transmits / receives information (for example, input / output command / response to input / output command).
  • PCI Express I / F adapters 106 to 109 each include a PCI Express Switch 105. Assuming that up to four I / O devices can be connected to each PCI Express I / F adapter 106-109, the computer shown in FIG. 9 can connect 16 I / O devices 111-126.
  • the management controller 910 is connected to the PCI Express Switch 105 of each PCI Express I / F adapter 106 to 109 via control signal lines 151 to 155.
  • the signal lines 150 or the control signal lines 151 to 155 can be connected to each other, but the signal line 150 and the control signal lines 151 to 155 are not connected.
  • the signal line 150 is a cable or wiring on a printed circuit board that transmits information (for example, input / output command / response to input / output command) between the I / O controller 100 and the I / O devices 111 to 126.
  • the control signal lines 151 to 155 are signal lines for transmitting control information between the management controller 910 and each PCI Express Switch 105.
  • FIG. 10 is a diagram illustrating a first modification of the configuration of the computer according to the second embodiment.
  • the computer shown in FIG. 10 will be described with respect to a different configuration compared to the computer shown in FIG. Neither the I / O controller 100 nor the management controller 910 of the computer shown in FIG. 10 is connected to the PCI Express I / F adapters 107 and 108.
  • the RP-A 140 and the RP-B 141 are connected to the PCI Express Switch 105 of the PCI Express I / F adapter 109 through the signal line 150.
  • the RP-C 142 and RP-D 143 are connected to the PCI Express Switch 105 of the PCI Express I / F adapter 106 through a signal line 150.
  • the management controller 910 is connected to the PCI Express Switch 105 of the PCI Express I / F adapter 109 via the control signal lines 151 and 155.
  • the management controller 910 is connected to the PCI Express Switch 105 of the PCI Express I / F adapter 106 through the control signal lines 153 and 155. Assuming that up to four I / O devices can be connected to each PCI Express I / F adapter 106/109, the computer shown in FIG. 10 can connect eight I / O devices 111-118.
  • FIG. 11 is a diagram illustrating a second modification example of the configuration of the computer according to the second embodiment.
  • the computer shown in FIG. 11 will be described with respect to a different configuration compared to the computer shown in FIG. Neither the I / O controller 100 nor the management controller 910 of the computer shown in FIG. 11 is connected to the PCI Express I / F adapters 106, 107, and 108.
  • RP-A140, RP-B141, RP-C142, and RP-D143 are connected to the PCI Express Switch 105 of the PCI Express I / F adapter 109 via the signal line 150.
  • the management controller 910 is connected to the PCI Express Switch 105 of the PCI Express I / F adapter 109 via the control signal lines 151 and 155. Assuming that up to four I / O devices can be connected to the PCI Express I / F adapter 109, the computer shown in FIG. 11 can connect four I / O devices 111 to 114.
  • the I / O controller 100 and the management controller 910 are connected between the PCI Express I / F adapters 106 to 109.
  • the connection between the signal line 150 and the control signal lines 151 to 154 may be changed.
  • the computer is not limited to the configuration shown in FIGS.
  • FIG. 12 is a diagram showing a configuration of the management controller 910.
  • the management controller 910 is, for example, a BMC (Baseboard Management Controller) or a service processor (Service Processor: SVP).
  • the management controller 910 has a CPU 1301 and a memory 1302.
  • the CPU 1301 includes a detection unit 503 and a switch control unit 505 that controls the PCI Express switch 105.
  • Each of the detection unit 503 and the switch control unit 505 may be hardware, or may be realized by software executed by the CPU 1301.
  • the memory 1302 has an input table 1306 and an expected value table 1307.
  • FIG. 14 is a diagram showing the configuration of the input table 1306.
  • the input table 1306 is configuration setting information indicating the configuration of the computer.
  • the input table 1306 manages input data 701, configuration setting values 702, and VMODE setting values 703 in association with each other. The value of each item of the input table 1306 changes depending on the configuration of the computer.
  • the management controller 910 is connected to each PCI Express Switch 105 of the PCI Express I / F adapters 106 to 109 via the control signal lines 151 to 155.
  • information indicating connection such as “P” is recorded.
  • the management controller 910 is connected to each PCI Express Switch 105 of the PCI Express I / F adapter 109 and 106 through control signal lines 151, 153, and 155.
  • the management controller 910 is not connected to each PCI Express Switch 105 of the PCI Express I / F adapter 107 or 108.
  • “P”, “A”, “P”, and “A” are recorded in the RP-A, RP-B, RP-C, and RP-D items of the input data 701, respectively.
  • the management controller 910 is connected to the PCI Express Switch 105 of the PCI Express I / F adapter 109.
  • the management controller 910 is not connected to each PCI Express Switch 105 of the PCI Express I / F adapter 106-108.
  • “P”, “A”, “A”, and “A” are recorded in the RP-A, RP-B, RP-C, and RP-D items of the input data 701, respectively.
  • FIG. 15 is a diagram showing the configuration of the expected value table 1307.
  • the expected value table 1307 is configuration management information for managing the input data 801, the configuration setting value 802, and the VMODE setting value 803 in association with each other. Values are input in advance in each item of the expected value table 1307. Unlike the input table 1306, the items in the expected value table 1307 are not updated even if the computer configuration changes.
  • FIG. 13 is a flowchart showing a setting process of the PCI Express Switch 105.
  • step 1400 the management controller 910 starts the setting process of the PCI Express Switch 105.
  • This start timing is, for example, when the computer is started, when the management controller 910 detects a change in the configuration of the computer, or when the management controller 910 receives a setting processing start request from a user, a management computer, or the like. .
  • Step 1401 the detection unit 503 of the management controller 910 detects whether or not each PCI Express Switch 105 of the PCI Express I / F adapter 106 to 109 is connected via the control signal lines 151 to 155. Based on the detection result, the management controller 910 adds the PCI Express I / F adapter 109, 106, 107 to each item of RP-A, RP-B, RP-C, RP-D of the input data 701 of the input table 1306. Stores connection status information indicating whether or not each PCI Express Switch 105 is connected.
  • step 1402 the detection unit 503 of the management controller 910 compares the stored connection state information of the input data 701 with the input data 801 of the expected value table 1307 to determine whether there is a configuration error. If the detection unit 503 of the management controller 910 determines in step 1403 that there is no configuration error, the processing of step 1404 is executed. If the management controller 910 determines that there is a configuration error, the process ends in step 1406.
  • the case of a configuration error in the second embodiment is a case where the management controller 910 is not connected to any PCI Express Switch 105.
  • the case where there is no configuration error in the second embodiment is a case where the management controller 910 and at least one PCI Express Switch 105 are connected.
  • step 1404 the detection unit 503 of the management controller 910 searches the expected value table 1307 for the configuration setting value 802 associated with the input data 801 that matches the connection status information of the input data 701.
  • the VMODE setting value 803 is acquired and recorded in the configuration setting value 702 and the VMODE setting value 703 of the input table 1306.
  • step 1405 the switch control unit 505 of the management controller 910 sets the PCI Express Switch 105 on each PCI Express I / F adapter 106 to 109 according to the value recorded in the VMODE setting value 703 of the input table 1306.
  • step 1406 the management controller 910 ends the process.
  • the management controller 910 causes the items of RP-A, RP-B, RP-C, and RP-D of the input data 701 to be “P”. Etc., information indicating connection is recorded.
  • the detection unit 503 sets “4to16” as the configuration setting value 802 of “# 1” associated with the input data 801 that matches the input data 701 in the expected value table 1307, the VMODE setting value (the number of virtual switches) ) “1” is acquired as 803 and recorded in the configuration setting value 702 and the VMODE setting value 703 of the input table 1306.
  • step 1405 the switch control unit 505 follows the value “1” recorded in the VMODE setting value (number of virtual switches) 703 in the input table 1306, and sets 1 in the PCI Express Switch 105 on each PCI Express I / F adapter 106 to 109.
  • One virtual switch (Virtual Switch) is set to exist.
  • the switch control unit 505 transmits a request for setting the number of virtual switches to one to the PCI Express Switch 105 on each of the PCI Express I / F adapters 106 to 109.
  • the PCI Express Switch 105 on each PCI Express I / F adapter 106 to 109 is set to have one virtual switch, for example, to create or delete a virtual switch.
  • RP-A140, RP-B141, RP-C142, and RP-D143 of the I / O controller 100 are PCI Express Switch 105 on the PCI Express I / F adapters 106 to 109, respectively.
  • the I / O devices 111 to 126 are connected through one virtual switch.
  • the number of root ports to which the PCI Express Switch 105 on each PCI Express I / F adapter 106 to 109 is connected is the same.
  • the computer shown in FIG. 1 must connect 16 I / O devices 111-126. Can do. Accordingly, the number of root ports and the number of connectable I / O devices are 4 and 16, respectively, and the number of connectable I / O devices with respect to the number of root ports is the configuration setting value 702 of the input table 1306. The value recorded in “4to16” is obtained.
  • the management controller 910 causes the items of RP-A, RP-B, RP-C, and RP-D of the input data 701 to be “P”. “A”, “P”, and “A” are recorded respectively.
  • the detection unit 503 sets “4to8” as the configuration setting value 802 of “# 6” associated with the input data 801 that matches the input data 701 in the expected value table 1307 and “2” as the VMODE setting value 803. Are recorded in the configuration setting value 702 and the VMODE setting value 703 of the input table 506, respectively.
  • step 1405 the switch control unit 505, according to the value “2” recorded in the VMODE setting value 703 of the input table 1306, there are two virtual switches in the PCI Express Switch 105 on each PCI Express I / F adapter 109/106.
  • the RP-A 140 and RP-B 141 of the I / O controller 100 are connected to the I / O device 111 via two virtual switches of the PCI Express Switch 105 of the PCI Express I / F adapter 109. Connect with ⁇ 114. Further, the RP-C 142 and RP-D 143 of the I / O controller 100 are connected to the I / O devices 115 to 118 via two virtual switches of PCI Express Switch 105 of the PCI Express I / F adapter 106. The number of root ports to which the PCI Express Switch 105 on the PCI Express I / F adapter 109 or 106 is connected is the same.
  • the computer shown in FIG. 10 must connect eight I / O devices 111 to 118. Can do. Therefore, the number of root ports and the number of connectable I / O devices are 4 and 8, respectively, and the number of connectable I / O devices with respect to the number of root ports is the configuration setting value 702 of the input table 1306. The value recorded in “4 to 8” is obtained.
  • the management controller 910 causes the items of RP-A, RP-B, RP-C, and RP-D of the input data 701 to be “P”. “A”, “A”, and “A” are recorded respectively.
  • the detection unit 503 sets “4to4” as the configuration setting value 802 of “# 8” associated with the input data 801 that matches the input data 701 in the expected value table 1307 and “4” as the VMODE setting value 803. Are recorded in the configuration setting value 702 and the VMODE setting value 703 of the input table 1306, respectively.
  • step 1405 the switch control unit 505 follows the value “4” recorded in the VMODE setting value 703 of the input table 1306 so that there are four virtual switches in the PCI Express Switch 105 on the PCI Express I / F adapter 109. Set.
  • RP-A140, RP-B141, RP-C142, and RP-D143 of the I / O controller 100 include four virtual switches of PCI Express I / F adapter 109 and PCI Express Switch105. Via the I / O devices 111 to 114. The number of root ports connected to the PCI Express Switch 105 on the PCI Express I / F adapter 109 is four.
  • the computer shown in FIG. 11 can connect four I / O devices 111 to 114. Accordingly, the number of root ports and the number of connectable I / O devices are 4 and 4, respectively, and the number of connectable I / O devices with respect to the number of root ports is the configuration setting value 702 of the input table 1306. The value recorded in “4 to 4” is obtained.
  • the root ports 140 to 143 of the I / O controller 100 are connected via the PCI Express Switch 105 according to the number of the PCI Express Switch 105 to which the I / O controller 100 is connected.
  • the PCI Express Switch 105 or the multiplexers 102 to 104 can be automatically set so that the maximum number of I / O devices to be obtained is the same. Therefore, the throughput can be improved while improving the throughput bias between the root ports or between the I / O devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Computer Hardware Design (AREA)
  • Multi Processors (AREA)
  • Bus Control (AREA)

Abstract

 計算機において、I/Oコントローラの各ポートとI/Oスイッチとの接続状態を制御し、I/Oコントローラの各ポート間におけるスループットの偏りを改善して、スループットを向上する。 計算機は、I/Oスイッチと、I/Oスイッチと接続するI/Oデバイスと、マネジメントコントローラと、複数のポートを有するI/Oコントローラと、を備える。マネジメントコントローラは、I/Oスイッチとの接続状態を検出して、I/Oスイッチとの接続状態と仮想スイッチの数とを対応づけて管理する構成管理情報を参照して、検出したI/Oスイッチとの接続状態と対応づけられた仮想スイッチの数を取得する。マネジメントコントローラは、接続するI/Oスイッチ毎に、取得した数の仮想スイッチを設定する。I/Oコントローラの各ポートは、設定された仮想スイッチを介して、I/Oデバイスと接続する。

Description

計算機、計算機のI/Oスイッチの制御方法
 本発明は、計算機、計算機のI/Oスイッチの制御方法に関する。
 本技術分野の背景技術として、特開2009-282773号公報(特許文献1)がある。この公報には、「PCI Expressスイッチを含むシステムにおいて、用途に最適な経路を提供することを可能にしたデータ転送システム」が記載されている(要約参照)。
特開2009-282773号公報
 特許文献1は、I/Oコントローラの各ポートがI/Oスイッチを介してI/Oデバイスと接続する計算機において、I/Oコントローラの各ポートに接続するI/Oデバイスの台数に応じて、I/Oコントローラの各ポート間でスループットがばらつき、I/Oコントローラのスループットが低下することまで想定していない。
 そこで、本発明は、I/Oコントローラの各ポートとI/Oスイッチとの接続状態を制御し、I/Oコントローラの各ポート間におけるスループットの偏りを改善して、スループットを向上する計算機、また計算機のI/Oスイッチの制御方法を提供する。
 上記課題を解決するために、本発明の計算機は、1以上のI/Oスイッチと、前記1以上のI/Oスイッチと接続する1以上のI/Oデバイスと、マネジメントコントローラと、複数のポートを有するI/Oコントローラと、を備える。マネジメントコントローラは、1以上のI/Oスイッチとの接続状態と仮想スイッチの数とを対応づけて管理する構成管理情報を記憶する。マネジメントコントローラは、1以上のI/Oスイッチとの接続状態を検出し、構成管理情報を参照して、検出したI/Oスイッチとの接続状態と対応づけられた仮想スイッチの数を取得する。マネジメントコントローラは、1以上のI/Oスイッチのうち、接続するI/Oスイッチ毎に、取得した数の仮想スイッチを設定する。I/Oコントローラの各ポートは、設定された仮想スイッチを介して、1以上のI/Oデバイスと接続する。
 本発明によれば、I/Oコントローラの各ポート間におけるスループットの偏りを改善し、スループットを向上することができる。上記した以外の課題、構成及び効果は、以下の発明を実施するための形態の説明により明らかにされる。
実施例1における計算機の構成を示す図である。 実施例1における計算機の構成の第1の変更例を示す図である。 実施例1における計算機の構成の第2の変更例を示す図である。 実施例1におけるPCI Express I/Fアダプタの構成を示す図である。 実施例1におけるマネジメントコントローラの構成を示す図である。 実施例1におけるPCI Express Switchとマルチプレクサの設定処理を示すフローチャートである。 実施例1におけるインプットテーブルの構成を示す図である。 実施例1における期待値テーブルの構成を示す図である。 実施例2における計算機の構成を示す図である。 実施例2における計算機の構成の第1の変更例を示す図である。 実施例2における計算機の構成の第2の変更例を示す図である。 実施例2におけるマネジメントコントローラの構成を示す図である。 実施例2におけるPCI Express Switchの設定処理を示すフローチャートである。 実施例2におけるインプットテーブルの構成を示す図である。 実施例2における期待値テーブルの構成を示す図である。
 以下、実施例について図面を用いて説明する。
 図1は、計算機の構成を示す図である。計算機は、例えばサーバ装置や記憶装置である。計算機は、I/Oコントローラ(Input/Output Controller)100、PCI Express I/F(interface)アダプタ101・106~108、マネジメントコントローラ110、I/Oデバイス111~126を有する。PCI Express I/Fアダプタ101はマスターであり、PCI Express I/Fアダプタ106~108はスレーブである。計算機の構成において、PCI Express I/Fアダプタ106~108とI/Oデバイス111~126のうち、一部または全部が含まれていなくても良い。
 I/Oデバイス111~126は、それぞれSAN(Storage Area Network)などのネットワークと接続されており、ネットワークを介して記憶装置やサーバ装置等の外部機器と接続している。計算機は、I/Oデバイス111~126やネットワークを介して外部機器と接続し、情報(例えば入出力命令・入出力命令に対する応答等)を送受信する。
 I/Oコントローラ100は、CPUとメモリと複数のルートポート(Root Port:RP)140~143を有する。以下の実施例において、I/Oコントローラ100は、RP-A140・RP-B141・RP-C142・RP-D143の4つのルートポートを有するとして説明する。
 PCI Express I/Fアダプタ101は、マルチプレクサ(multiplexer:MUX、マルチプレクサスイッチ)であるMUX B102・MUX C103・MUX D104と、PCI Express Swtich(スイッチ)105と、外部ポート144~146を備える。
 I/Oコントローラ100のRP-A140は、PCI Express Switch105と、信号線150で接続される。RP-B141は、MUX B102と、信号線150で接続される。MUX B102は、PCI Express Switch105と外部ポート144にそれぞれ信号線150で接続する。
 同様に、RP-C142は、MUX C103と、信号線150で接続される。MUX C103は、PCI Express Switch105と外部ポート145にそれぞれ信号線150で接続される。RP-D143は、MUX D104と、信号線150で接続される。MUX D104は、PCI Express Switch105と外部ポート146にそれぞれ信号線150で接続される。
 PCI Express Switch105は、I/Oデバイス111~126とそれぞれ接続可能である。MUX B102・MUX C103・MUX D104に接続される外部ポート144・145・146は、それぞれPCI Express I/Fアダプタ106・107・108と接続する。ここで、PCI Express I/Fアダプタ101の外部ポート144~146と、PCI Express I/Fアダプタ106~108の外部ポートとの間は、信号線150で接続されており、任意に接続変更が可能である。
 例えば、図1に示す計算機は、PCI Express I/Fアダプタ101・106~108を有する構成である。各PCI Express I/Fアダプタ101・106~108にI/Oデバイスを4台まで接続可能であるとすると、図1に示す計算機は16台のI/Oデバイス111~126を接続することができる。
 また、マネジメントコントローラ110は、PCI Express I/Fアダプタ101のMUX B102・MUX C103・MUX D104・PCI Express Swich105と、制御信号線151で接続する。マネジメントコントローラ110は、PCI Express I/Fアダプタ101の外部ポート144・145・146を介して、PCI Express I/Fアダプタ106・107・108の各PCI Express Swich105と、制御信号線152・153・154及び制御信号線155でそれぞれ接続する。
 信号線150どうし、または制御信号線151~155どうしは互いに接続可能であるが、信号線150と制御信号線151~155は接続されない。信号線150は、I/Oコントローラ100とI/Oデバイス111~126との間で、情報(例えば入出力命令・入出力命令に対する応答等)を伝送するケーブルまたはプリント基板上の配線である。制御信号線151~155は、マネジメントコントローラ110と、MUX B102・MUX C103・MUX D104・各PCI Express Swich105との間で、制御情報を伝送する信号線である。
 図2は、計算機の構成の第1の変更例を示す図である。図2に示す計算機について、図1に示す計算機と比較して異なる構成を説明する。図2に示す計算機のPCI Express I/Fアダプタ106は、PCI Express I/Fアダプタ101の外部ポート144とは接続しておらず、外部ポート145・146と信号線150・制御信号線153・154で接続している。また、PCI Express I/Fアダプタ101は、PCI Express I/Fアダプタ107・108と接続していない。各PCI Express I/Fアダプタ101・106にI/Oデバイスを4台まで接続可能であるとすると、図2に示す計算機は8台のI/Oデバイス111~118を接続することができる。
 図3は、計算機の構成の第2の変更例を示す図である。図3に示す計算機について、図1に示す計算機と比較して異なる構成を説明する。図3に示す計算機のPCI Express I/Fアダプタ101の外部ポート144・145・146は、PCI Express I/Fアダプタ106・107・108のいずれにも接続していない。PCI Express I/Fアダプタ101にI/Oデバイスを4台まで接続可能であるとすると、図3に示す計算機は4台のI/Oデバイス111~114を接続することができる。
 図1に示す計算機の構成から、図2または図3に示す計算機の構成へ変更するには、例えば外部ポート144・145・146とPCI Express I/Fアダプタ106・107・108との間の信号線150・制御信号線151~154の接続を変更すれば良い。なお、計算機の構成は、図1~図3に示す構成のみに限定されるものではない。
 図4は、PCI Express I/Fアダプタ106の構成を示す図である。PCI Express I/Fアダプタ106は、4つの外部ポート201~204を有しており、それぞれPCI Express Switch105に、信号線150で接続する。PCI Express Switch105は、I/Oデバイス115~118とそれぞれ接続可能である。
 また、PCI Express I/Fアダプタ106において、4つの外部ポートのうちの1つである外部ポート204とPCI Express Switch105とは、制御信号線155で接続される。例えば、図1に示す計算機の構成の場合、マネジメントコントローラ110は、制御信号線152・155を介して、PCI Express I/Fアダプタ106のPCI Express Switch105と接続する。例えば、図2に示す計算機の構成の場合、マネジメントコントローラ110は、制御信号線153・155を介して、PCI Express I/Fアダプタ106のPCI Express Switch105と接続する。
 PCI Express I/Fアダプタ107・108の構成も、PCI Express I/Fアダプタ106と同様である。PCI Express I/Fアダプタ107は、I/Oデバイス119~122とそれぞれ接続可能である。PCI Express I/Fアダプタ108は、I/Oデバイス123~126とそれぞれ接続可能である。
 図5は、マネジメントコントローラ110の構成を示す図である。マネジメントコントローラ110は、例えばBMC(Baseboard Management Controller)やサービスプロセッサ(Service Processor:SVP)である。マネジメントコントローラ110は、CPU501とメモリ502とを有する。CPU501は、検出部503、マルチプレクサ102~104を制御するMUX制御部504、PCI Express switch105を制御するスイッチ制御部505を有する。検出部503・MUX制御部504・スイッチ制御部505は、それぞれハードウェアであっても良いし、CPU501で実行されるソフトウェアにより実現されても良い。メモリ502は、インプットテーブル506と期待値テーブル507とを有する。
 図7は、インプットテーブル506の構成を示す図である。インプットテーブル506は、計算機の構成を示す構成設定情報である。インプットテーブル506は、インプットデータ(入力情報、Input Data)701と、構成設定値702と、VMODE設定値703と、MUX設定値704と、を対応づけて管理している。インプットテーブル506の各項目は、計算機の構成により、その値が変わる。
 インプットデータ701のRP-A・RP-B・RP-C・RP-Dの各項目は、マネジメントコントローラ110が、PCI Express I/Fアダプタ101・106~108の各PCI Express Swich105とそれぞれ接続しているか否かを示す接続状態情報である。接続している場合は例えば「P(Present)」が記録されており、接続していない場合は例えば「A(Absent)」が記録される。
 図1に示す計算機の構成の場合、マネジメントコントローラ110は、それぞれPCI Express I/Fアダプタ101・106・107・108の各PCI Express Swich105と、制御信号線151~155で接続している。この場合、インプットデータ701のRP-A・RP-B・RP-C・RP-Dの項目には、「P」等、接続していることを示す情報がそれぞれ記録される。
 図2に示す計算機の構成の場合、マネジメントコントローラ110は、それぞれPCI Express I/Fアダプタ101・106の各PCI Express Swich105と、制御信号線151・153・155で接続している。マネジメントコントローラ110は、外部ポート144・146を介して、PCI Express Swich105と接続してはいない。この場合、インプットデータ701のRP-A・RP-B・RP-C・RP-Dの項目には、例えば「P」・「A」・「P」・「A」がそれぞれ記録される。
 図3に示す計算機の構成の場合、マネジメントコントローラ110は、PCI Express I/Fアダプタ101のPCI Express Swich105と、制御信号線151で接続している。マネジメントコントローラ110は、PCI Express I/Fアダプタ106~108の各PCI Express Swich105と接続していない。この場合、インプットデータ701のRP-A・RP-B・RP-C・RP-Dの項目には、例えば「P」・「A」・「A」・「A」がそれぞれ記録される。
 図8は、期待値テーブル507の構成を示す図である。期待値テーブル507は、インプットデータ(入力情報、Input Data)801と、構成設定値802と、VMODE設定値803と、MUX設定値804と、を対応づけて管理する構成管理情報である。期待値テーブル507の各項目には、値があらかじめ入力されている。期待値テーブル507の各項目は、インプットテーブル506と異なり、計算機の構成が変化しても、値は更新されない。
 図6は、PCI Express Switch105とマルチプレクサ102~104の設定処理を示すフローチャートである。
 ステップ600において、マネジメントコントローラ110は、PCI Express Switch105とマルチプレクサ102~104の設定処理を開始する。この開始するタイミングは例えば、計算機を起動したときや、マネジメントコントローラ110が計算機の構成変更を検出したときや、マネジメントコントローラ110がユーザや管理計算機等から設定処理の開始要求を受信したとき等である。
 ステップ601において、マネジメントコントローラ110の検出部503は、制御信号線151~155を介して、PCI Express I/Fアダプタ101・106・107・108の各PCI Express Swich105とそれぞれ接続しているか否かを検出する。マネジメントコントローラ110は、検出結果を基に、インプットテーブル506のインプットデータ701のRP-A・RP-B・RP-C・RP-Dの各項目に、PCI Express I/Fアダプタ101・106・107・108の各PCI Express Swich105とそれぞれ接続しているか否かを示す接続状態情報を格納する。図7の説明で上述したとおり、マネジメントコントローラ110は、接続している場合は例えば「P(Present)」を記録し、接続していない場合は例えば「A(Absent)」を記録する。
 ステップ602において、マネジメントコントローラ110の検出部503は、格納したインプットデータ701の接続状態情報と期待値テーブル507のインプットデータ801とを比較して、構成エラーかどうか判定する。ステップ603において、マネジメントコントローラ110の検出部503は、構成エラーでないと判定した場合は、ステップ604の処理を実行する。マネジメントコントローラ110は、構成エラーであると判定した場合は、ステップ606で処理を終了する。
 ここで、実施例1において構成エラーである場合とは、マネジメントコントローラ110とPCI Express I/Fアダプタ101のPCI Express Swich105とが接続していない場合である。実施例1において構成エラーでない場合とは、マネジメントコントローラ110とPCI Express I/Fアダプタ101のPCI Express Swich105とが接続している場合である。
 実施例1において構成エラーである場合、ステップ601において、マネジメントコントローラ110は、PCI Express I/Fアダプタ101のPCI Express Swich105と接続していないことを検出して、インプットデータ701のRP-Aの項目には、接続していないことを示す接続状態情報を格納する。ステップ602において、マネジメントコントローラ110は、インプットデータ701の接続状態情報と期待値テーブル507のインプットデータ801とを比較して一致するものを検出する。マネジメントコントローラ110は、期待値テーブル507のインプットデータ801のRP-Aの項目が接続していないことを示す接続状態情報を有する「#9~#16」のいずれかとの一致を検出し、一致したインプットデータ801に対応づけられた構成設定値802を取得する。マネジメントコントローラ110は、「#9~#16」における「Error」の構成設定値802を取得し、ステップ603において、構成エラーであると判定する。
 構成エラーではないと判定した場合、ステップ604において、マネジメントコントローラ110の検出部503は、期待値テーブル507で、インプットデータ701の接続状態情報と一致するインプットデータ801と対応づけられた、構成設定値802・VMODE設定値803・MUX設定値804を取得して、インプットテーブル506の構成設定値702・VMODE設定値703・MUX設定値704に記録する。
 ステップ605において、マネジメントコントローラ110のスイッチ制御部505は、インプットテーブル506のVMODE設定値703に記録した値に従い、各PCI Express I/Fアダプタ101・106~108上のPCI Express Switch105に仮想スイッチの設定をする。VMODE設定値703・803は、ステップ605で設定される仮想スイッチの数を示す。
 また、マネジメントコントローラ110のMUX制御部504は、インプットテーブル506のMUX設定値704に記録した値に従い、PCI Express I/Fアダプタ101上のMUX B102・MUX C103・MUX D104を設定する。ステップ606において、マネジメントコントローラ110は、処理を終了する。
 例えば、図1に示す計算機の構成の場合、上述したように、マネジメントコントローラ110により、インプットデータ701のRP-A・RP-B・RP-C・RP-Dの項目には、「P」等、接続していることを示す情報がそれぞれ記録される。ステップ604において、検出部503は、期待値テーブル507で、インプットデータ701と一致するインプットデータ801と対応づけられた「#1」の構成設定値802として「4to16」、VMODE設定値(仮想スイッチ数)803として「1」、MUX設定値804として「MUX B:EX,MUX C:EX,MUX D:EX」を取得して、インプットテーブル506の構成設定値702・VMODE設定値703・MUX設定値704にそれぞれ記録する。
 ステップ605において、スイッチ制御部505は、インプットテーブル506のVMODE設定値(仮想スイッチ数)703に記録した値「1」に従い、各PCI Express I/Fアダプタ101・106~108上のPCI Express Switch内に1つの仮想スイッチ(Virtual Swich)が存在するように設定する。具体的には、スイッチ制御部505は、各PCI Express I/Fアダプタ101・106~108上のPCI Express Switch105に、仮想スイッチ数を1つとする要求を送信する。各PCI Express I/Fアダプタ101・106~108上のPCI Express Switch105は、受信した要求にしたがい、例えば仮想スイッチを生成・削除する等、仮想スイッチが1つとなるよう設定する。
 また、MUX制御部504は、インプットテーブル506のMUX設定値704に記録した値「MUX B:EX,MUX C:EX,MUX D:EX」に従い、PCI Express I/Fアダプタ101上のMUX B102・MUX C103・MUX D104を設定する。具体的には、MUX制御部504は、MUX B102・MUX C103・MUX D104に、それぞれ外部ポート144・145・146と接続する要求を送信する。MUX B102・MUX C103・MUX D104は、受信した要求にしたがい、それぞれ外部ポート144・145・146と接続するよう設定する。
 インプットテーブル506のMUX設定値704に記録した値が、「EX」である場合には対応するマルチプレクサは外部ポートと接続し、「IN」である場合には対応するマルチプレクサはPCI Express I/Fアダプタ101上のPCI Express Switch105と接続するように、MUX制御部504の要求が送信され、また各マルチプレクサで設定がされる。
 図1に示す計算機の構成の場合、I/Oコントローラ100のRP-A140・RP-B141・RP-C142・RP-D143は、それぞれPCI Express I/Fアダプタ101・106・107・108上のPCI Express Switch105の1つの仮想スイッチを介して、I/Oデバイス111~126と接続する。各PCI Express I/Fアダプタ101・106~108上のPCI Express Switch105が接続するルートポートの数は1つで同じである。
 上述したとおり、各PCI Express I/Fアダプタ101・106~108にI/Oデバイスを4台まで接続可能であるとすると、図1に示す計算機は16台のI/Oデバイス111~126を接続することができる。したがって、ルートポートの数と接続可能なI/Oデバイスの数は、それぞれ4台と16台となり、ルートポートの数に対する接続可能なI/Oデバイスの数は、インプットテーブル506の構成設定値702に記録した値「4to16」となる。構成設定値702・802は、「ルートポートの数to接続可能なI/Oデバイスの数」、すなわちルートポートの数に対する接続可能なI/Oデバイスの数を示す。
 次に、図2に示す計算機の構成の場合、上述したように、マネジメントコントローラ110により、インプットデータ701のRP-A・RP-B・RP-C・RP-Dの項目には、「P」・「A」・「P」・「A」がそれぞれ記録される。ステップ604において、検出部503は、期待値テーブル507で、インプットデータ701と一致するインプットデータ801と対応づけられた「#6」の構成設定値802として「4to8」、VMODE設定値(仮想スイッチ数)803として「2」、MUX設定値804として「MUX B:IN,MUX C:EX,MUX D:EX」を取得して、インプットテーブル506の構成設定値702・VMODE設定値703・MUX設定値704にそれぞれ記録する。
 ステップ605において、スイッチ制御部505は、インプットテーブル506のVMODE設定値(仮想スイッチ数)703に記録した値「2」に従い、各PCI Express I/Fアダプタ101・106上のPCI Express Switch105内に2つの仮想スイッチが存在するように設定する。
 また、MUX制御部504は、インプットテーブル506のMUX設定値704に記録した値「MUX B:IN,MUX C:EX,MUX D:EX」に従い、PCI Express I/Fアダプタ101上のMUX B102・MUX C103・MUX D104を設定する。具体的には、MUX制御部504は、MUX B102にはPCI Express I/Fアダプタ101上のPCI Express Switch105と接続し、MUX C103・MUX D104には、それぞれ外部ポート145・146と接続する要求を送信する。MUX B102は、受信した要求にしたがい、PCI Express I/Fアダプタ101上のPCI Express Switch105と接続する。MUX C103・MUX D104は、受信した要求にしたがい、それぞれ外部ポート145・146と接続する。
 図2に示す計算機の構成の場合、I/Oコントローラ100のRP-A140・RP-B141は、PCI Express I/Fアダプタ101のPCI Express Switch105の2つの仮想スイッチを介して、I/Oデバイス111~114と接続する。また、I/Oコントローラ100のRP-C142・RP-D143は、PCI Express I/Fアダプタ106の2つの仮想スイッチを介して、I/Oデバイス115~118と接続する。PCI Express I/Fアダプタ101・106上のPCI Express Switch105が接続するルートポートの数は2つで同じである。
 また、上述したとおり、PCI Express I/Fアダプタ101・106にI/Oデバイスを4台まで接続可能であるとすると、図2に示す計算機は8台のI/Oデバイス111~118を接続することができる。したがって、ルートポートの数と接続可能なI/Oデバイスの数は、それぞれ4台と8台となり、ルートポートの数に対する接続可能なI/Oデバイスの数は、インプットテーブル506の構成設定値702に記録した値「4to8」となる。
 次に、図3に示す計算機の構成の場合、上述したように、マネジメントコントローラ110により、インプットデータ701のRP-A・RP-B・RP-C・RP-Dの項目には、「P」・「A」・「A」・「A」がそれぞれ記録される。ステップ604において、検出部503は、期待値テーブル507で、インプットデータ701と一致するインプットデータ801と対応づけられた「#8」の構成設定値802として「4to4」、VMODE設定値(仮想スイッチ数)803として「4」、MUX設定値804として「MUX B:IN,MUX C:IN,MUX D:IN」を取得して、インプットテーブル506の構成設定値702・VMODE設定値703・MUX設定値704にそれぞれ記録する。
 ステップ605において、スイッチ制御部505は、インプットテーブル506のVMODE設定値(仮想スイッチ数)703に記録した値「4」に従い、PCI Express I/Fアダプタ101上のPCI Express Switch内に4つの仮想スイッチが存在するように設定する。
 また、MUX制御部504は、インプットテーブル506のMUX設定値704に記録した値「MUX B:IN,MUX C:IN,MUX D:IN」に従い、PCI Express I/Fアダプタ101上のMUX B102・MUX C103・MUX D104を設定する。具体的には、MUX制御部504は、MUX B102・MUX C103・MUX D104は、PCI Express I/Fアダプタ101上のPCI Express Switch105と接続する要求を送信する。MUX B102・MUX C103・MUX D104は、受信した要求にしたがい、PCI Express I/Fアダプタ101上のPCI Express Switch105と接続する。
 図3に示す計算機の構成の場合、I/Oコントローラ100のRP-A140・RP-B141・RP-C142・RP-D143は、PCI Express I/Fアダプタ101のPCI Express Switch105の4つの仮想スイッチを介して、I/Oデバイス111~114と接続する。PCI Express I/Fアダプタ101上のPCI Express Switch105が接続するルートポートの数は4つである。
 また、上述したとおり、PCI Express I/Fアダプタ101にI/Oデバイスを4台まで接続可能であるとすると、図3に示す計算機は4台のI/Oデバイス111~114と接続することができる。したがって、ルートポートの数と接続可能なI/Oデバイスの数は、それぞれ4台と4台となり、ルートポートの数に対する接続可能なI/Oデバイスの数は、インプットテーブル506の構成設定値702に記録した値「4to4」となる。
 したがって、I/Oデバイスの接続の最大数に応じた適切なスループットを得ることができるように、PCI Express Switch105とマルチプレクサ102~104の設定が実行されるため、スケールアウトに適した計算機を提供できる。
 以下、実施例1と同様の構成要素には同じ符号をつけて、説明を省略する。実施例2の計算機は、PCI Express I/Fアダプタ106~109とI/Oコントローラ100のルートポート140~143とが、マルチプレクサ102~104・外部ポート144~146を介さずに接続する構成である。
 図9は、実施例2における計算機の構成を示す図である。PCI Express I/Fアダプタ109の構成は、PCI Express I/Fアダプタ106と同様である。PCI Express I/Fアダプタ109は、I/Oデバイス111~114とそれぞれ接続可能である。PCI Express I/Fアダプタ109は、PCI Express I/Fアダプタ101と異なり、内部にマルチプレクサ102~104がなくても良い。
 ルートポート140・141・142・143は、PCI Express I/Fアダプタ109・106・107・108のPCI Express Switch105と、信号線150で接続する。PCI Express Switch105はI/Oデバイス111~126に接続可能である。
 計算機は、I/Oコントローラ100、PCI Express I/Fアダプタ106~109、マネジメントコントローラ910、I/Oデバイス111~126を有する。計算機の構成において、PCI Express I/Fアダプタ106~109とI/Oデバイス111~126のうち、一部または全部が含まれていなくても良い。計算機は、I/Oデバイス111~126やネットワークを介して外部機器と接続し、情報(例えば入出力命令・入出力命令に対する応答等)を送受信する。
 PCI Express I/Fアダプタ106~109は、それぞれPCI Express Swtich105を備える。各PCI Express I/Fアダプタ106~109にI/Oデバイスを4台まで接続可能であるとすると、図9に示す計算機は16台のI/Oデバイス111~126を接続することができる。
 マネジメントコントローラ910は、各PCI Express I/Fアダプタ106~109のPCI Express Swich105と、制御信号線151~155で接続する。
 信号線150どうし、または制御信号線151~155どうしは互いに接続可能であるが、信号線150と制御信号線151~155は接続されない。信号線150は、I/Oコントローラ100とI/Oデバイス111~126との間で、情報(例えば入出力命令・入出力命令に対する応答等)を伝送するケーブルまたはプリント基板上の配線である。制御信号線151~155は、マネジメントコントローラ910と各PCI Express Swich105との間で、制御情報を伝送する信号線である。
 図10は、実施例2における計算機の構成の第1の変更例を示す図である。図10に示す計算機について、図9に示す計算機と比較して、異なる構成について説明する。図10に示す計算機のI/Oコントローラ100とマネジメントコントローラ910のいずれも、PCI Express I/Fアダプタ107・108と接続していない。RP-A140・RP-B141は、PCI Express I/Fアダプタ109のPCI Express Switch105と、信号線150で接続する。RP-C142・RP-D143は、PCI Express I/Fアダプタ106のPCI Express Switch105と、信号線150で接続する。
 マネジメントコントローラ910は、PCI Express I/Fアダプタ109のPCI Express Switch105と、制御信号線151・155で接続する。マネジメントコントローラ910は、PCI Express I/Fアダプタ106のPCI Express Switch105と、制御信号線153・155で接続する。各PCI Express I/Fアダプタ106・109にI/Oデバイスを4台まで接続可能であるとすると、図10に示す計算機は8台のI/Oデバイス111~118を接続することができる。
 図11は、実施例2における計算機の構成の第2の変更例を示す図である。図11に示す計算機について、図9に示す計算機と比較して、異なる構成について説明する。図11に示す計算機のI/Oコントローラ100とマネジメントコントローラ910のいずれも、PCI Express I/Fアダプタ106・107・108と接続していない。
 RP-A140・RP-B141・RP-C142・RP-D143は、PCI Express I/Fアダプタ109のPCI Express Switch105と、信号線150で接続する。マネジメントコントローラ910は、PCI Express I/Fアダプタ109のPCI Express Switch105と、制御信号線151・155で接続する。PCI Express I/Fアダプタ109にI/Oデバイスを4台まで接続可能であるとすると、図11に示す計算機は4台のI/Oデバイス111~114を接続することができる。
 図9に示す計算機の構成から、図10または図11に示す計算機の構成へ変更するには、I/Oコントローラ100とマネジメントコントローラ910に対し、PCI Express I/Fアダプタ106~109との間の信号線150・制御信号線151~154の接続を変更すれば良い。なお、計算機は、図9~図11に示す構成のみに限定されるものではない。
 図12は、マネジメントコントローラ910の構成を示す図である。マネジメントコントローラ910は、例えばBMC(Baseboard Management Controller)やサービスプロセッサ(Service Processor:SVP)である。マネジメントコントローラ910は、CPU1301とメモリ1302とを有する。CPU1301は、検出部503、PCI Express switch105を制御するスイッチ制御部505を有する。検出部503・スイッチ制御部505は、それぞれハードウェアであっても良いし、CPU1301で実行されるソフトウェアにより実現されても良い。メモリ1302は、インプットテーブル1306と期待値テーブル1307とを有する。
 図14は、インプットテーブル1306の構成を示す図である。インプットテーブル1306は、計算機の構成を示す構成設定情報である。インプットテーブル1306は、インプットデータ701と、構成設定値702と、VMODE設定値703と、を対応づけて管理している。インプットテーブル1306の各項目は、計算機の構成により、その値が変わる。
 図9に示す計算機の構成の場合、マネジメントコントローラ910は、それぞれPCI Express I/Fアダプタ106~109の各PCI Express Swich105と、制御信号線151~155で接続している。この場合、インプットデータ701のRP-A・RP-B・RP-C・RP-Dの項目には、「P」等、接続していることを示す情報がそれぞれ記録される。
 図10に示す計算機の構成の場合、マネジメントコントローラ910は、それぞれPCI Express I/Fアダプタ109・106の各PCI Express Swich105と、制御信号線151・153・155で接続している。マネジメントコントローラ910は、PCI Express I/Fアダプタ107・108の各PCI Express Swich105と接続していない。この場合、インプットデータ701のRP-A・RP-B・RP-C・RP-Dの項目には、例えば「P」・「A」・「P」・「A」がそれぞれ記録される。
 図11に示す計算機の構成の場合、マネジメントコントローラ910は、PCI Express I/Fアダプタ109のPCI Express Swich105と接続している。マネジメントコントローラ910は、PCI Express I/Fアダプタ106~108の各PCI Express Swich105と接続していない。この場合、インプットデータ701のRP-A・RP-B・RP-C・RP-Dの項目には、例えば「P」・「A」・「A」・「A」がそれぞれ記録される。
 図15は、期待値テーブル1307の構成を示す図である。期待値テーブル1307は、インプットデータ801と、構成設定値802と、VMODE設定値803と、を対応づけて管理する構成管理情報である。期待値テーブル1307の各項目には、値があらかじめ入力されている。期待値テーブル1307の各項目は、インプットテーブル1306と異なり、計算機の構成が変化しても、値は更新されない。
 図13は、PCI Express Switch105の設定処理を示すフローチャートである。
 ステップ1400において、マネジメントコントローラ910は、PCI Express Switch105の設定処理を開始する。この開始するタイミングは例えば、計算機を起動したときや、マネジメントコントローラ910が計算機の構成変更を検出したときや、マネジメントコントローラ910がユーザや管理計算機等から設定処理の開始要求を受信したとき等である。
 ステップ1401において、マネジメントコントローラ910の検出部503は、制御信号線151~155を介して、PCI Express I/Fアダプタ106~109の各PCI Express Swich105とそれぞれ接続しているか否かを検出する。マネジメントコントローラ910は、検出結果を基に、インプットテーブル1306のインプットデータ701のRP-A・RP-B・RP-C・RP-Dの各項目に、PCI Express I/Fアダプタ109・106・107・108の各PCI Express Swich105とそれぞれ接続しているか否かを示す接続状態情報を格納する。
 ステップ1402において、マネジメントコントローラ910の検出部503は、格納したインプットデータ701の接続状態情報と期待値テーブル1307のインプットデータ801とを比較して、構成エラーかどうか判定する。ステップ1403において、マネジメントコントローラ910の検出部503は、構成エラーでないと判定した場合は、ステップ1404の処理を実行する。マネジメントコントローラ910は、構成エラーであると判定した場合は、ステップ1406で処理を終了する。
 ここで、実施例2において構成エラーである場合とは、マネジメントコントローラ910が、いずれのPCI Express Swich105とも接続していない場合である。実施例2において構成エラーでない場合とは、マネジメントコントローラ910と、少なくとも1以上のPCI Express Swich105とが接続している場合である。
 構成エラーではないと判定した場合、ステップ1404において、マネジメントコントローラ910の検出部503は、期待値テーブル1307で、インプットデータ701の接続状態情報と一致するインプットデータ801と対応づけられた構成設定値802・VMODE設定値803を取得して、インプットテーブル1306の構成設定値702・VMODE設定値703に記録する。
 ステップ1405において、マネジメントコントローラ910のスイッチ制御部505は、インプットテーブル1306のVMODE設定値703に記録した値に従い、各PCI Express I/Fアダプタ106~109上のPCI Express Switch105を設定する。ステップ1406において、マネジメントコントローラ910は、処理を終了する。
 ここで、図9に示す計算機の構成の場合、上述したように、マネジメントコントローラ910により、インプットデータ701のRP-A・RP-B・RP-C・RP-Dの項目には、「P」等、接続していることを示す情報がそれぞれ記録される。ステップ1404において、検出部503は、期待値テーブル1307で、インプットデータ701と一致するインプットデータ801と対応づけられた「#1」の構成設定値802として「4to16」、VMODE設定値(仮想スイッチ数)803として「1」を取得して、インプットテーブル1306の構成設定値702・VMODE設定値703にそれぞれ記録する。
 ステップ1405において、スイッチ制御部505は、インプットテーブル1306のVMODE設定値(仮想スイッチ数)703に記録した値「1」に従い、各PCI Express I/Fアダプタ106~109上のPCI Express Switch105内に1つの仮想スイッチ(Virtual Swich)が存在するように設定する。具体的には、スイッチ制御部505は、各PCI Express I/Fアダプタ106~109上のPCI Express Switch105に、仮想スイッチ数を1つとする要求を送信する。各PCI Express I/Fアダプタ106~109上のPCI Express Switch105は、受信した要求にしたがい、例えば仮想スイッチを生成・削除する等、仮想スイッチが1つとなるよう設定する。
 図9に示す計算機の構成の場合、I/Oコントローラ100のRP-A140・RP-B141・RP-C142・RP-D143は、それぞれ各PCI Express I/Fアダプタ106~109上のPCI Express Switch105の1つの仮想スイッチを介して、I/Oデバイス111~126と接続する。各PCI Express I/Fアダプタ106~109上のPCI Express Switch105が接続するルートポートの数は1つで同じである。
 上述したとおり、各PCI Express I/Fアダプタ106~109にI/Oデバイスを4台まで接続可能であるとすると、図1に示す計算機は16台のI/Oデバイス111~126を接続することができる。したがって、ルートポートの数と接続可能なI/Oデバイスの数は、それぞれ4台と16台となり、ルートポートの数に対する接続可能なI/Oデバイスの数は、インプットテーブル1306の構成設定値702に記録した値「4to16」となる。
 次に、図10に示す計算機の構成の場合、上述したように、マネジメントコントローラ910により、インプットデータ701のRP-A・RP-B・RP-C・RP-Dの項目には、「P」・「A」・「P」・「A」がそれぞれ記録される。ステップ1404において、検出部503は、期待値テーブル1307で、インプットデータ701と一致するインプットデータ801と対応づけられた「#6」の構成設定値802として「4to8」、VMODE設定値803として「2」を取得して、インプットテーブル506の構成設定値702・VMODE設定値703にそれぞれ記録する。
 ステップ1405において、スイッチ制御部505は、インプットテーブル1306のVMODE設定値703に記録した値「2」に従い、各PCI Express I/Fアダプタ109・106上のPCI Express Switch105内に2つの仮想スイッチが存在するように設定する。
 図10に示す計算機の構成の場合、I/Oコントローラ100のRP-A140・RP-B141は、PCI Express I/Fアダプタ109のPCI Express Switch105の2つの仮想スイッチを介して、I/Oデバイス111~114と接続する。また、I/Oコントローラ100のRP-C142・RP-D143は、PCI Express I/Fアダプタ106のPCI Express Switch105の2つの仮想スイッチを介して、I/Oデバイス115~118と接続する。PCI Express I/Fアダプタ109・106上のPCI Express Switch105が接続するルートポートの数は2つで同じである。
 上述したとおり、各PCI Express I/Fアダプタ109・106にI/Oデバイスを4台まで接続可能であるとすると、図10に示す計算機は8台のI/Oデバイス111~118を接続することができる。したがって、ルートポートの数と接続可能なI/Oデバイスの数は、それぞれ4台と8台となり、ルートポートの数に対する接続可能なI/Oデバイスの数は、インプットテーブル1306の構成設定値702に記録した値「4to8」となる。
 次に、図11に示す計算機の構成の場合、上述したように、マネジメントコントローラ910により、インプットデータ701のRP-A・RP-B・RP-C・RP-Dの項目には、「P」・「A」・「A」・「A」がそれぞれ記録される。ステップ1404において、検出部503は、期待値テーブル1307で、インプットデータ701と一致するインプットデータ801と対応づけられた「#8」の構成設定値802として「4to4」、VMODE設定値803として「4」を取得して、インプットテーブル1306の構成設定値702・VMODE設定値703にそれぞれ記録する。
 ステップ1405において、スイッチ制御部505は、インプットテーブル1306のVMODE設定値703に記録した値「4」に従い、PCI Express I/Fアダプタ109上のPCI Express Switch105内に4つの仮想スイッチが存在するように設定する。
 図11に示す計算機の構成の場合、I/Oコントローラ100のRP-A140・RP-B141・RP-C142・RP-D143は、PCI Express I/Fアダプタ109のPCI Express Switch105の4つの仮想スイッチを介して、I/Oデバイス111~114と接続する。PCI Express I/Fアダプタ109上のPCI Express Switch105が接続するルートポートの数は4つである。
 上述したとおり、PCI Express I/Fアダプタ109にI/Oデバイスを4台まで接続可能であるとすると、図11に示す計算機は4台のI/Oデバイス111~114を接続することができる。したがって、ルートポートの数と接続可能なI/Oデバイスの数は、それぞれ4台と4台となり、ルートポートの数に対する接続可能なI/Oデバイスの数は、インプットテーブル1306の構成設定値702に記録した値「4to4」となる。
 したがって、I/Oデバイスの接続の最大数に応じた適切なスループットを得ることができるように、PCI Express Switch105の設定が実行されるため、スケールアウトに適した計算機を提供できる。
 実施例1及び実施例2に示すように、I/Oコントローラ100が接続するPCI Express Switch105の数に応じて、I/Oコントローラ100の各ルートポート140~143がPCI Express Switch105を介して接続し得るI/Oデバイスの最大数が同じになるように、PCI Express Switch105またはマルチプレクサ102~104の設定を自動で行うことができる。そのため、各ルートポート間または各I/Oデバイス間におけるスループットの偏りを改善しつつ、スループットを向上することができる。
100 I/Oコントローラ、101 PCI Express I/Fアダプタ、102~104 マルチプレクサ、105 PCI Express Switch、106~109 PCI Express I/Fアダプタ、110 マネジメントコントローラ、111~126  I/Oデバイス、910 マネジメントコントローラ

Claims (8)

  1.  1以上のI/Oスイッチと、
     前記1以上のI/Oスイッチと接続する1以上のI/Oデバイスと、
     前記1以上のI/Oスイッチとの接続状態と仮想スイッチの数とを対応づけて管理する構成管理情報を記憶し、
      前記1以上のI/Oスイッチとの接続状態を検出し、前記構成管理情報を参照して、前記検出したI/Oスイッチとの接続状態と対応づけられた前記仮想スイッチの数を取得し、
      前記1以上のI/Oスイッチのうち、接続するI/Oスイッチ毎に、前記取得した数の仮想スイッチを設定するマネジメントコントローラと、
     前記設定された仮想スイッチを介して、前記1以上のI/Oデバイスと接続する複数のポートを有するI/Oコントローラと、
    を備える計算機。
  2.  請求項1記載の計算機であって、
     各I/Oスイッチと接続する前記ポートの数は同じであることを特徴とする計算機。
  3.  請求項2記載の計算機であって、
     前記ポート及び前記I/Oスイッチと接続するマルチプレクサを有し、
     前記マネジメントコントローラは、各I/Oスイッチと接続する前記ポートの数が同じとなるように、前記マルチプレクサと前記仮想スイッチとを設定することを特徴とする計算機。
  4.  請求項3記載の計算機であって、
     前記構成管理情報は、前記1以上のI/Oスイッチとの接続状態と、前記仮想スイッチの数と、前記マルチプレクサの設定と、を対応づけて管理し、
     前記マネジメントコントローラは、前記1以上のI/Oスイッチとの接続状態を検出し、前記構成管理情報を参照して、前記検出したI/Oスイッチとの接続状態と対応づけられた前記仮想スイッチの数及び前記マルチプレクサの設定を取得し、
      前記取得した前記仮想スイッチの数及び前記マルチプレクサの設定に基づき、各I/Oスイッチと接続する前記ポートの数が同じとなるように、前記マルチプレクサと前記仮想スイッチとを設定することを特徴とする計算機。
  5.  1以上のI/Oスイッチと、前記1以上のI/Oスイッチと接続する1以上のI/Oデバイスと、マネジメントコントローラと、I/Oコントローラと、を備える計算機のI/Oスイッチの制御方法であって、
     前記マネジメントコントローラにより、前記1以上のI/Oスイッチとの接続状態を検出するステップと、
     前記マネジメントコントローラにより、前記1以上のI/Oスイッチとの接続状態と仮想スイッチの数とを対応づけて管理する構成管理情報を参照して、前記検出したI/Oスイッチとの接続状態と対応づけられた前記仮想スイッチの数を取得するステップと、
     前記マネジメントコントローラにより、前記1以上のI/Oスイッチのうち、接続するI/Oスイッチ毎に、前記取得した数の仮想スイッチを設定し、
      前記設定された仮想スイッチを介して、前記I/Oコントローラの各ポートが前記1以上のI/Oデバイスと接続するステップと、
    を備えるI/Oスイッチの制御方法。
  6.  請求項5記載のI/Oスイッチの制御方法であって、
     前記I/Oコントローラは複数のポートを有し、
     各I/Oスイッチと接続する前記ポートの数が同じであることを特徴とするI/Oスイッチの制御方法。
  7.  請求項6記載のI/Oスイッチの制御方法であって、
     前記ポート及び前記I/Oスイッチと接続するマルチプレクサを有し、
     前記マネジメントコントローラにより、各I/Oスイッチと接続する前記ポートの数が同じとなるように、前記マルチプレクサと前記仮想スイッチとを設定するステップを、
    さらに有することを特徴とするI/Oスイッチの制御方法。
  8.  請求項7記載のI/Oスイッチの制御方法であって、
     前記構成管理情報は、前記1以上のI/Oスイッチとの接続状態と、前記仮想スイッチの数と、前記マルチプレクサの設定と、を対応づけて管理し、
     前記マネジメントコントローラは、前記1以上のI/Oスイッチとの接続状態を検出し、前記構成管理情報を参照して、前記検出したI/Oスイッチとの接続状態と対応づけられた前記仮想スイッチの数及び前記マルチプレクサの設定を取得し、
      前記仮想スイッチの数及び前記マルチプレクサの設定に基づき、各I/Oスイッチと接続する前記ポートの数が同じとなるように、前記マルチプレクサと前記仮想スイッチとを設定することを特徴とするI/Oスイッチの制御方法。
PCT/JP2014/061650 2014-04-25 2014-04-25 計算機、計算機のi/oスイッチの制御方法 WO2015162774A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US15/122,546 US10073801B2 (en) 2014-04-25 2014-04-25 Computer and method of controlling I/O switch of computer
JP2016514656A JP6175186B2 (ja) 2014-04-25 2014-04-25 計算機、計算機のi/oスイッチの制御方法
PCT/JP2014/061650 WO2015162774A1 (ja) 2014-04-25 2014-04-25 計算機、計算機のi/oスイッチの制御方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2014/061650 WO2015162774A1 (ja) 2014-04-25 2014-04-25 計算機、計算機のi/oスイッチの制御方法

Publications (1)

Publication Number Publication Date
WO2015162774A1 true WO2015162774A1 (ja) 2015-10-29

Family

ID=54331961

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2014/061650 WO2015162774A1 (ja) 2014-04-25 2014-04-25 計算機、計算機のi/oスイッチの制御方法

Country Status (3)

Country Link
US (1) US10073801B2 (ja)
JP (1) JP6175186B2 (ja)
WO (1) WO2015162774A1 (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020119498A (ja) * 2019-01-28 2020-08-06 廣達電腦股▲ふん▼有限公司Quanta Computer Inc. フレキシブルなpcieトポロジー
CN113612704A (zh) * 2021-07-13 2021-11-05 华东计算技术研究所(中国电子科技集团公司第三十二研究所) 基于拟态交换机的combo接口及拟态交换机

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108983666B (zh) * 2018-07-27 2019-11-08 青岛海信日立空调系统有限公司 控制电路及控制方法
US11481296B2 (en) * 2018-09-10 2022-10-25 International Business Machines Corporation Detecting configuration errors in multiport I/O cards with simultaneous multi-processing

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009175913A (ja) * 2008-01-23 2009-08-06 Hitachi Ltd 計算機システム、管理サーバ、および、不一致接続構成検知方法
WO2011151930A1 (ja) * 2010-06-01 2011-12-08 株式会社日立製作所 I/oデバイス管理方法、計算機システム及びi/oデバイス管理プログラム

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW547713U (en) * 2002-06-05 2003-08-11 C One Technology Corp Multi-functional electronic card with multi-I/O interface
US7415551B2 (en) * 2003-08-18 2008-08-19 Dell Products L.P. Multi-host virtual bridge input-output resource switch
US7356636B2 (en) * 2005-04-22 2008-04-08 Sun Microsystems, Inc. Virtualized PCI switch
JP5111236B2 (ja) 2008-05-22 2013-01-09 株式会社日立製作所 データ転送システム
JP5069732B2 (ja) * 2009-10-05 2012-11-07 株式会社日立製作所 計算機装置、計算機システム、アダプタ承継方法
US8767529B2 (en) * 2011-09-12 2014-07-01 International Business Machines Corporation High availability distributed fabric protocol (DFP) switching network architecture
US8806025B2 (en) * 2012-06-25 2014-08-12 Advanced Micro Devices, Inc. Systems and methods for input/output virtualization

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009175913A (ja) * 2008-01-23 2009-08-06 Hitachi Ltd 計算機システム、管理サーバ、および、不一致接続構成検知方法
WO2011151930A1 (ja) * 2010-06-01 2011-12-08 株式会社日立製作所 I/oデバイス管理方法、計算機システム及びi/oデバイス管理プログラム

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020119498A (ja) * 2019-01-28 2020-08-06 廣達電腦股▲ふん▼有限公司Quanta Computer Inc. フレキシブルなpcieトポロジー
CN113612704A (zh) * 2021-07-13 2021-11-05 华东计算技术研究所(中国电子科技集团公司第三十二研究所) 基于拟态交换机的combo接口及拟态交换机

Also Published As

Publication number Publication date
JP6175186B2 (ja) 2017-08-02
US10073801B2 (en) 2018-09-11
JPWO2015162774A1 (ja) 2017-04-13
US20170091134A1 (en) 2017-03-30

Similar Documents

Publication Publication Date Title
TWI423039B (zh) 伺服器系統與其操作方法
US9858238B2 (en) Dual mode USB and serial console port
US10127170B2 (en) High density serial over LAN management system
US10515040B2 (en) Data bus host and controller switch
JP5844303B2 (ja) ポートのルーティング属性を自己設定する、シリアル接続scsiエキスパンダのための方法および構造
US9866548B2 (en) Authentication-free configuration for service controllers
US7694029B2 (en) Detecting miscabling in a storage area network
US7490176B2 (en) Serial attached SCSI backplane and detection system thereof
JP6175186B2 (ja) 計算機、計算機のi/oスイッチの制御方法
US11736741B2 (en) Ultra high-speed low-latency network storage
US20120239789A1 (en) Storage device, controller, and address management method
JP2013084266A (ja) サーバー及びそのシリアルインタフェース切換回路
US20150186317A1 (en) Method and apparatus for detecting the initiator/target orientation of a smart bridge
US9081614B2 (en) Managing shared resources in a multi-computer system with failover support
CN107818061B (zh) 关联外围设备的数据总线和管理总线
WO2022100311A1 (zh) 一种服务器的peci信号互联方法、系统、设备以及介质
US20210126969A1 (en) San advisory based on latency
US20130151813A1 (en) Switch system for dual central processing units
CN109697180B (zh) 硬件资源扩充系统
TWI831190B (zh) 資料中心安全控制模組及其控制方法
TWI768378B (zh) 主機板及切換訊號來源的方法
TWI658367B (zh) 硬體資源擴充系統
US20150074303A1 (en) Virtual Media apparatus of a Server and Access Method Thereof
TW201510929A (zh) 圖像輸出控制系統及方法
TW201027326A (en) Main board system and setting method thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14890310

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2016514656

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 15122546

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14890310

Country of ref document: EP

Kind code of ref document: A1