A server slot link adaptation method and system
Through the cooperation of the CPU main control module and the link switching module, automatic adaptation of server slot links is realized, solving the problems of complex and inflexible configuration in the existing technology, and improving the adaptability and stability of the server motherboard.
Patent Information
- Application Number
- CN202110420912.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-19
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2041-04-19
AI Technical Summary
Existing server motherboards have limitations in power consumption, I/O throughput, and slot link configuration, and cannot effectively adapt to the needs of multiple scenarios. They also lack automated configuration methods, resulting in complex and inflexible configurations.
Using the CPU main control module and link switching module, it performs periodic polling through the presence signal PRSNT and automatically switches slot links to achieve dynamic adaptation of 16 pairs or 8 pairs of links, reduce manual operations, and support multiple business scenarios flexible configuration.
Without increasing the number of physical slots, it achieves maximum adaptation of server slot links, realizes automated control, reduces configuration workload, and improves flexibility and reliability.
Smart Images

Figure CN115220980B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a slot configuration method, in particular to a server slot link adaptation method, and to a server slot link adaptation system adopting the server slot link adaptation method. Background Art
[0002] The server motherboard is a motherboard specially developed to meet the requirements of server applications, such as high stability, high performance and high compatibility. Due to the high operating time, high operating intensity and huge data conversion volume of the server, the power consumption, I / O throughput and slot link configuration of the server motherboard are quite strict. The application of server motherboard is becoming more and more diversified. In order to adapt to more scenarios, the motherboard needs to support interface specifications for multiple scenarios. However, in the prior art, it is often limited by the standard size requirements of the server motherboard and the number of existing CPU interface specifications, and the corresponding slot interface cannot be expanded to the maximum extent. Summary of the invention
[0003] The technical problem to be solved by the present invention is that it is necessary to provide a flexible and reliable server slot link adaptation method, so as to adapt to multiple business scenarios to the greatest extent without increasing the number of physical slots, and at the same time realize automatic control and avoid manual configuration and operation as much as possible, so as to reduce the configuration workload and improve the flexibility and reliability of the product; on this basis, the present invention further provides a server slot link adaptation system that adopts the server slot link adaptation method.
[0004] To this end, the present invention provides a server slot link adaptation method, comprising a CPU main control module, a link switching module, a first slot and a second slot, wherein the high 8 pairs of links of the CPU main control module are directly connected to the high 8 pairs of links of the first slot, and the low 8 pairs of links of the CPU main control module are respectively connected to the low 8 pairs of links of the first slot and the low 8 pairs of links of the second slot through the link switching module, and in a default state, the low 8 pairs of links of the CPU main control module are connected to the low 8 pairs of links of the first slot; and the method comprises the following steps:
[0005] Step S1, periodically polling the in-place signal PRSNT of the CPU main control module, the in-place signal PRSNT is used to indicate whether the second slot is inserted, and the low level is effective. If it is not in place, the control signal SEL of the link switching module is controlled to be in a high level state, and the first slot realizes 16 pairs of links connected to the CPU main control module. If it is in place, jump to step S2;
[0006] Step S2, controlling the control signal SEL of the link switching module to be in a low level state, and switching the lower 8 pairs of links of the CPU main control module to be connected to the 8 pairs of links of the second slot through the link switching module.
[0007] A further improvement of the present invention is that it also includes a configuration step, by sending a configuration control signal to the control pin of the CPU main control module, and then sending the control signal SEL for controlling the link switching module.
[0008] A further improvement of the present invention is that, in the insertion detection state, the presence signal PRSNT is periodically detected, and if the low-level presence signal reaches a preset number of times continuously, the state jumps to the board presence state.
[0009] A further improvement of the present invention is that, in the insertion detection state, the presence signal PRSNT is periodically detected, and if a high-level presence signal appears during the presence signal detection process for a consecutive preset number of times, the state jumps to the board not in place state.
[0010] A further improvement of the present invention is that, in the board in-place state, the in-place signal PRSNT is periodically detected, and when a high-level in-place signal is detected, the state is switched to the removal detection state.
[0011] A further improvement of the present invention is that, in the pull-out detection state, the presence signal PRSNT is periodically detected, and if the low-level presence signal reaches a preset number of times continuously, the state is switched to the board presence state.
[0012] A further improvement of the present invention is that, in the pull-out detection state, the presence signal PRSNT is periodically detected, and if the high-level presence signal reaches a preset number of times continuously, the state jumps to the board-not-in-place state.
[0013] A further improvement of the present invention is that, in the board-out-of-place state, the presence signal PRSNT is periodically detected, and when a low-level presence signal is detected, the state is switched to the insertion detection state.
[0014] A further improvement of the present invention is that, when the board is in place, the port of the CPU main control module adapts to two slots with 8 pairs of links; when the board is not in place, the port of the CPU main control module adapts to a slot with 16 pairs of links; in the insertion detection state or the removal detection state, the CPU main control module does not send a control instruction.
[0015] The present invention also provides a server slot link adaptation system, which adopts the server slot link adaptation method as described above.
[0016] Compared with the prior art, the beneficial effects of the present invention are: by optimizing the adaptation of the server slot link, it is possible to adapt to multiple business scenarios to the greatest extent without increasing the number of physical slots, and at the same time, it can achieve software configuration-free, that is, it can realize automatic control, reduce the workload of human intervention and operation, improve work efficiency, and effectively improve the flexibility and stable and reliable performance of the server slot link configuration. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a logical structure diagram of an embodiment of the present invention;
[0018] Figure 2 is a schematic diagram of a scenario in which no device is inserted into the second slot according to an embodiment of the present invention;
[0019] Figure 3 is a schematic diagram of a scene after a device is inserted into the second slot according to an embodiment of the present invention;
[0020] Figure 4 It is a schematic diagram of a state switching process of an embodiment of the present invention. DETAILED DESCRIPTION
[0021] The preferred embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings.
[0022] Today's server motherboards all have certain size standards. For example, the standard size of a server EATX motherboard is 12×13 inches (305×330 mm). Therefore, the number of slots it can provide and the connections between CPUs are limited. Therefore, how to achieve flexible expansion of slot bandwidth in this situation is an important problem that technicians in this field need to overcome.
[0023] The server motherboard where the CPU main control module described in this example is located is preferably a dual-CPU motherboard, including 16x DIMM (Dual-Inline-Memory-Modules) modules and 10x PCIE slots. Among them, the 10x PCIE slots implement 4 x16 slots and 4 x8 slots by default. At the same time, it supports 4 x16 and 6 x8 PCIE slot specifications. Therefore, this server motherboard requires a more reasonable, flexible and reliable slot link adaptation method to be able to adapt to multi-business scenarios with different needs to the greatest extent.
[0024] In this regard, Figures 1 to 3As shown, this example provides a server slot link adaptation method, including a CPU main control module 1, a link switching module 2, a first slot 3 and a second slot 4, wherein the high 8 pairs of links of the CPU main control module 1 are directly connected to the high 8 pairs of links of the first slot 3, and the low 8 pairs of links of the CPU main control module 1 are respectively connected to the low 8 pairs of links of the first slot 3 and the low 8 pairs of links of the second slot 4 through the link switching module 2. In a default state, the low 8 pairs of links of the CPU main control module 1 are connected to the low 8 pairs of links of the first slot 3; and the following steps are included:
[0025] Step S1, periodically polling the in-place signal PRSNT of the CPU main control module 1, the in-place signal PRSNT is used to indicate whether the second slot 4 is inserted, and the low level is effective. If it is not in place, the control signal SEL of the link switching module 2 is controlled to be in a high level state, and the first slot 3 realizes 16 pairs of links connected to the CPU main control module 1. If it is in place, jump to step S2;
[0026] Step S2 , controlling the control signal SEL of the link switching module 2 to be in a low level state, and switching the lower 8 pairs of links of the CPU main control module 1 to be connected to the 8 pairs of links of the second slot 4 through the link switching module 2 .
[0027] The CPU main control module 1 in this example is the main control board of a dual-CPU motherboard, and no other hardware devices need to be added; the link switching module 2 is preferably implemented by a switching switch SW, which is used to receive a configuration control signal to realize the configuration switching of the server slot link; the first slot 3 is slot A / slot A, and the second slot 4 is slot B / slot B; in the default state, the 16 pairs of links of the CPU main control module 1 are connected to the 16 pairs of links of the first slot 3. At the same time, through the setting of the link switching module 2, it supports the first slot 3 and the second slot 4 to be connected to the CPU main control module 1 through 8 pairs of links respectively.
[0028] like Figure 2 As shown, in this example, when no device is inserted into the second slot 4, the in-place signal PRSNT on the CPU main control module 1 is pulled up to the power supply through the resistor R1, so that the control signal SEL is in a high level state, and the first slot 3 is connected to the 16 pairs of links of the CPU main control module 1 to realize the x16 function; that is, if the working state of the second slot 4 is the board not in place state, the control signal SEL of the link switching module 2 is controlled to be in a high level state, and the first slot 3 realizes 16 pairs of links connected to the CPU main control module 1.
[0029] like Figure 3As shown, when the second slot 4 is inserted with an x8 device, the device presence signal PRSNT on the second slot 4 is pulled down to ground through the resistor R2, and PRSNT is pulled up to the power supply on the CPU main control module 1. By selecting a suitable resistance value, such as R1=4.7K ohms, R2=1k ohms, the control signal SEL is switched from a high level to a low level (about 0.58V). Through the link switching module 2, the lower 8 pairs of links [7:0] of the CPU main control module 1 are switched to the slot position of the second slot 4, so that the first slot 3 and the second slot 4 are respectively connected to the CPU main control module 1 by x8, and the link adaptation process of step S2 is automatically implemented.
[0030] This example also preferably includes a configuration step, by sending a configuration control signal to the control pin of the CPU main control module 1, and then sending the control signal SEL for controlling the link switching module 2. Therefore, in any case, by sending a configuration control signal (such as configuring the control pin signal CTRL of the CPU main control module 1 in the software interface), it is possible to force the setting to the two scenarios corresponding to the above steps S1 and S2.
[0031] Therefore, the necessary working states in this example include the card in place state and the card out of place state. Considering that the card in place signal PRSNT may have short-term unstable jumps during the card insertion and removal process, in order to avoid the software from switching back and forth when adapting to the CPU port width, the software needs to design the following after detecting the change of the card in place signal PRSNT: Figure 4 The switching state mechanism shown in the figure is used to achieve fault tolerance and then adapt the link width, thereby effectively avoiding the disadvantages of incorrect switching and increasing the stability and reliability of the product. Figure 4 As shown, after the optimized design, the working states of this example include four states: board in place state, unplugged detection state, board not in place state and inserted detection state. Among them, the unplugged detection state and the inserted detection state are intermediate detection states between the board in place state and the board not in place state, which are used to avoid the disadvantages of incorrect switching and improve the stable and reliable performance of the product.
[0032] like Figure 4 As shown, in this example, in the insertion detection state, the in-place signal PRSNT is periodically detected. If the low-level in-place signal reaches a preset number of times continuously, it jumps to the board in-place state. The periodic detection in this example is preferably a periodic detection at the second level. The preset number of times is the preset number of consecutive times that meet the requirements. The default setting is 3 times. In actual applications, the preset number of times can be customized and modified according to actual needs.
[0033] like Figure 4As shown, in this example, in the insertion detection state, the in-place signal PRSNT is periodically detected. If a high-level in-place signal appears during the in-place signal detection process for a preset number of consecutive times, the board is jumped to the not-in-place state. In other words, in the insertion detection state, a low-level in-place signal (valid in-place signal) needs to be continuously reached for a preset number of times before jumping to the board in-place state; but if a high level appears once during the periodic detection process for a preset number of consecutive times, it will be adjusted back to the not-in-place state. This design is to ensure the jump reliability of the working state of the board.
[0034] like Figure 4 As shown, in this example, when the board is in place, the in-place signal PRSNT is periodically detected, and when a high-level in-place signal is detected, it jumps to the unplugging detection state. That is to say, when the board is in place, if a high level appears once (the position signal PRSNT is invalid) during the preset number of periodic detections, it will jump back to the unplugging detection state. This design is to ensure the accuracy of the board in place and avoid the disadvantage of no timely feedback when the board is not in place.
[0035] like Figure 4 As shown, in this example, in the unplug detection state, the in-position signal PRSNT is periodically detected. If the low-level in-position signal reaches a preset number of consecutive times, it jumps to the board in-position state. In this example, in the unplug detection state, the in-position signal PRSNT is periodically detected. If the high-level in-position signal reaches a preset number of consecutive times, it jumps to the board not in-position state.
[0036] That is to say, in this example, in the unplugged detection state, the board needs to be in place during the preset number of periodic detection processes before it jumps to the board in place state; it also needs to be not in place during the preset number of periodic detection processes before it jumps to the board not in place state, otherwise it remains in the unplugged detection state and does not act. Such a design can also well ensure the stable and reliable performance of the product and will not switch incorrectly due to a certain fluctuation or interference.
[0037] like Figure 4 As shown, in this example, when the board is not in place, the presence signal PRSNT is periodically detected, and when a low-level presence signal is detected, it jumps to the insertion detection state. In other words, when the board is not in place, if a valid configuration control signal of the presence signal PRSNT is received, it jumps to the insertion detection state for further judgment and control.
[0038] In this example, when the board is in place, the port of the CPU main control module 1 is adapted to two slots with 8 pairs of links, that is, the lower 8 pairs of links of the CPU main control module 1 are switched to the 8 pairs of links connected to the second slot 4 through the link switching module 2; when the board is not in place, the port of the CPU main control module 1 is adapted to a slot with 16 pairs of links, that is, it is directly connected to the first slot 3; in the insertion detection state or the removal detection state, the CPU main control module 1 does not send a control instruction and does not act. These two states are intermediate detection and transition states, which are convenient for the next step of judgment and control, and can effectively avoid incorrect switching.
[0039] This example also provides a server slot link adaptation system, which adopts the server slot link adaptation method as described above. The server slot link adaptation system includes a CPU main control module 1, a link switching module 2, a first slot 3 and a second slot 4. The high 8 pairs of links of the CPU main control module 1 are directly connected to the high 8 pairs of links of the first slot 3, and the low 8 pairs of links of the CPU main control module 1 are respectively connected to the low 8 pairs of links of the first slot 3 and the low 8 pairs of links of the second slot 4 through the link switching module 2. In the default state, the low 8 pairs of links of the CPU main control module 1 are connected to the low 8 pairs of links of the first slot 3. The CPU main control module 1 is preferably a dual-CPU motherboard.
[0040] To summarize, this example optimizes the adaptation of the server slot link, thereby being able to adapt to multiple business scenarios to the greatest extent without increasing the number of physical slots. At the same time, it can achieve software configuration-free, that is, it can realize automatic control, reduce the workload of human intervention and operation, improve work efficiency, and effectively improve the flexibility of server slot link configuration and stable and reliable performance.
[0041] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A server slot link adaptation method, characterized in that: It includes a CPU main control module, a link switching module, a first slot and a second slot, wherein the high 8 pairs of links of the CPU main control module are directly connected to the high 8 pairs of links of the first slot, and the low 8 pairs of links of the CPU main control module are respectively connected to the low 8 pairs of links of the first slot and the low 8 pairs of links of the second slot through the link switching module. In a default state, the low 8 pairs of links of the CPU main control module are connected to the low 8 pairs of links of the first slot; And includes the following steps: Step S1, periodically polling the in-place signal PRSNT of the CPU main control module, the in-place signal PRSNT is used to indicate whether the second slot is inserted, and the low level is effective. If it is not in place, the control signal SEL of the link switching module is controlled to be in a high level state, and the first slot realizes 16 pairs of links connected to the CPU main control module. If it is in place, jump to step S2; Step S2, controlling the control signal SEL of the link switching module to be in a low level state, and switching the lower 8 pairs of links of the CPU main control module to be connected to the 8 pairs of links of the second slot through the link switching module; The working state includes four states: a board in-place state, a pull-out detection state, a board out-of-place state, and an inserted detection state. The pull-out detection state and the inserted detection state are intermediate detection states between the board in-place state and the board out-of-place state. Periodically detect the in-place signal PRSNT, and if the low-level in-place signal reaches a preset number of times in succession, jump to the board in-place state; In the insertion detection state, the presence signal PRSNT is periodically detected, and if a high-level presence signal appears during the presence signal detection process for a preset number of consecutive times, the state is jumped to the board not in place state; When the board is in place, the in-place signal PRSNT is periodically detected, and when a high-level in-place signal is detected, the state is switched to the removal detection state; In the unplugging detection state, the in-place signal PRSNT is periodically detected, and if the low-level in-place signal reaches a preset number of times continuously, the board is switched to the in-place state; In the unplugging detection state, the in-place signal PRSNT is periodically detected, and if the high-level in-place signal reaches a preset number of times continuously, the state is jumped to the card not in-place state; When the board is not in place, the presence signal PRSNT is periodically detected, and when a low-level presence signal is detected, the system switches to the insertion detection state.
2. The server slot link adaptation method according to claim 1, characterized in that: The method further includes a configuration step, wherein a configuration control signal is sent to a control pin of the CPU main control module, thereby sending a control signal SEL for controlling the link switching module.
3. The server slot link adaptation method according to claim 1 or 2, characterized in that: When the board is in place, the port of the CPU main control module adapts to two slots with 8 pairs of links; when the board is not in place, the port of the CPU main control module adapts to a slot with 16 pairs of links; in the insertion detection state or the removal detection state, the CPU main control module does not send control instructions.
4. A server slot link adaptation system, characterized in that: The server slot link adaptation method as described in any one of claims 1 to 3 is adopted.
