Server
By introducing the design of storage switches and controlling power supply components in the server, the problem of low utilization of the server host storage resources is solved, and the flexible deployment and efficient use of storage resources are realized.
Patent Information
- Application Number
- CN202411925173.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-25
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2044-12-25
AI Technical Summary
In the prior art, the server host has a low utilization rate of storage resources, mainly because the storage resources of the PCIe card are fixed and cannot be flexibly adjusted.
A server is designed, which includes a server host, a storage switch, multiple storage components, a control component and a power supply component. The storage switch provides multiple storage components as a storage resource pool to the server host. The control component detects the resource adjustment information of the server host and adjusts the power supply status of each storage component through the power supply component to match the storage resource requirements of the server host.
By dynamically adjusting the power supply status of storage components, the matching between the storage resources currently used by the server host and the available storage resources is improved, and the utilization rate of storage resources is improved.
Smart Images

Figure CN119356622A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computers, and in particular, to a server. Background Art
[0002] With the continuous development of CXL (Compute Express Link, an open interconnection standard protocol) technology, the CXL memory resource pool built on the CXL bus provides convenience for the server host to flexibly use storage resources. At present, storage resources are usually provided to the server host in the form of connecting PCIe (Peripheral Component Interconnect Express, a quick peripheral interconnection standard) standard card. The storage components including MXC (Memory Expander Controller) and DIMM (Dual-Inline-Memory-Modules) are made into a standard card, which is inserted into the PCIe slot on the server motherboard to connect to the server host. The server host obtains the storage resource through the CXL bus. However, in this form, the PCIe standard card is powered by the connected server host as a whole, and the storage resources provided by the PCIe standard card to the server host are fixed. This inflexible storage resource provision solution makes the server host have a low utilization rate of storage resources. Summary of the invention
[0003] The embodiment of the present application provides a server to at least solve the problem of low utilization rate of storage resources in the related art.
[0004] According to an embodiment of the present application, a server is provided, comprising: a server host, a storage switch, a plurality of storage components, a control component and a power supply component, wherein the control component is connected to the power supply component, the storage switch is connected between the server host and the plurality of storage components, the power supply component is respectively connected to the plurality of storage components, and the control component is connected to the server host;
[0005] The storage switch is used to use the multiple storage components as a storage resource pool to provide storage resources for the server host;
[0006] The control component is used to detect resource adjustment information of the server host during the operation of the server host, wherein the resource adjustment information is used to indicate the adjustment status of the storage resources allocated by the storage switch to the server host; and adjust the power supply status of each storage component by the power supply component to match the resource adjustment information.
[0007] In an exemplary embodiment, the control component includes: a first control machine and a second control machine, the first control machine is connected to the second control machine, the first control machine is connected to the server host, and the second control machine is connected to the power supply component; the first control machine is used to detect the resource adjustment information according to the resource allocation information of the server host, wherein the resource allocation information is used to indicate the storage resources allocated by the storage switch to the server host; convert the resource adjustment information into state change information, wherein the state change information is used to indicate the target storage component among the multiple storage components whose usage status on the server host has changed; send the state change information to the second control machine; the second control machine is used to adjust the power supply status of the target storage component by the power supply component according to the state change information.
[0008] In an exemplary embodiment, the first control machine is used to: collect the current resource allocation information from the server host; compare the current resource allocation information with the resource allocation information collected last time; if the current resource allocation information is consistent with the resource allocation information collected last time, determine that the resource adjustment information is the first adjustment information, wherein the first adjustment information is used to indicate that the storage resources allocated by the storage switch to the server host have not been adjusted; if the current resource allocation information is inconsistent with the resource allocation information collected last time, determine that the resource adjustment information is the second adjustment information, wherein the second adjustment information is used to indicate that the storage resources allocated by the storage switch to the server host have been adjusted.
[0009] In an exemplary embodiment, the first control machine is used to: when the resource adjustment information is first adjustment information, convert the first adjustment information into first change information, wherein the first change information is used to indicate that the target storage component is not among the multiple storage components, and the status change information includes the first change information; when the resource adjustment information is second adjustment information, extract the target storage component from the current resource allocation information and the resource allocation information collected last time to obtain second change information, wherein the second change information is used to indicate that the usage status of the target storage component among the multiple storage components on the server host has changed, and the status change information includes the second change information.
[0010] In an exemplary embodiment, the first control machine is used to: determine the first storage component set currently used by the server host based on the current resource allocation information, and determine the second storage component set last used by the server host based on the resource allocation information collected last time; calculate the union and intersection of the first storage component set and the second storage component set; calculate the difference between the union and the intersection, wherein the storage component in the difference is the target storage component.
[0011] In an exemplary embodiment, the second control machine includes: a first controller and a second controller, the first controller is connected to the second controller, the first controller is connected to the first control machine, and the second controller is connected to the power supply component; the first controller is used to generate a power supply control signal for each storage component according to the state change information; the second controller is used to transmit the power supply control signal to the power supply component.
[0012] In an exemplary embodiment, the second controller includes: a first device and a second device, the first device is connected to the storage switch, the second device is connected to the multiple storage components, the first device is connected to the first controller, and the second device is also connected to the power supply component; the first controller is also used to write the power supply control signal to the first device; the first device is used to transmit the power supply control signal to the second device through the connection between the storage switch and the multiple storage components; the second device is used to transmit the power supply control signal to the power supply component.
[0013] In an exemplary embodiment, a plurality of first cable interfaces are deployed on the storage switch, a second cable interface is deployed on each of the plurality of storage components, the first cable interface is connected to the second cable interface in a one-to-one correspondence, the first device is connected to a power supply control pin of each of the first cable interfaces, and the second device is connected to a power supply control pin of each of the second cable interfaces; the first device is used to transmit the power supply control signal corresponding to each of the storage components to the second device through the first cable interface corresponding to each of the storage components according to the correspondence between each of the first cable interfaces and each of the storage components; the second device is used to receive the power supply control signal corresponding to each of the storage components from each of the second cable interfaces, and transmit the power supply control signal to the power supply component.
[0014] In an exemplary embodiment, a plurality of enable terminals are deployed on the power supply component, and the plurality of enable terminals correspond one-to-one to the plurality of storage components; the second device is connected to the plurality of enable terminals, and the power supply control signal corresponding to each of the storage components includes an enable signal corresponding to each of the storage components; the second device is used to transmit the enable signal corresponding to each of the storage components to the enable terminal corresponding to each of the storage components.
[0015] In an exemplary embodiment, multiple storage bits are created in the first device, and the multiple storage bits correspond one-to-one to the multiple storage components; the first controller is used to overwrite the power supply control signal corresponding to each of the storage components into the storage bit corresponding to each of the storage components; the first device is used to transmit the data on the storage bit corresponding to each of the storage components to the second device through the first cable interface corresponding to each of the storage components; the second device is used to control the enable end corresponding to each of the storage components according to the data transmitted on the second cable interface corresponding to each of the storage components.
[0016] In an exemplary embodiment, the power supply component includes multiple first power supply modules, each of the multiple first power supply modules is connected to the control component, and each of the first power supply modules is also connected to the multiple storage components one by one; the control component is used to generate a power supply control signal corresponding to each first power supply module according to the resource adjustment information; the first power supply module is used to supply power to the corresponding storage component according to the power supply control signal.
[0017] In an exemplary embodiment, the control component is connected to the multiple first power supply modules in a one-to-one correspondence through multiple first power supply channels; the control component is also used to send the power supply control signal to the corresponding first power supply module through each of the first power supply channels.
[0018] In an exemplary embodiment, a plurality of signal output terminals are deployed on the control component, and an enable terminal is deployed on each of the first power supply modules, and the plurality of signal output terminals are connected with the corresponding enable terminals to form the plurality of first power supply channels; the control component is used to send corresponding enable signals to the corresponding first power supply modules through each of the first power supply channels, wherein the power supply control signal includes the enable signal.
[0019] In an exemplary embodiment, each of the storage components includes: a storage controller, and one or more storage units; a power supply port is deployed on each of the first power supply modules, and the power supply port is used to connect the storage controller and the one or more storage units; the first power supply module is used to supply power to the storage controller and the one or more storage units through the power supply port according to the power supply control signal.
[0020] In an exemplary embodiment, the power supply port includes: a first port and one or more second ports, the first port is connected to the storage controller, and the one or more second ports are connected one-to-one to the one or more storage units; the first power supply module is used to convert the power supply voltage into a first input voltage of the storage controller according to the power supply control signal, and provide the first input voltage to the storage controller through the first port; and, according to the power supply control signal, convert the supply voltage into a second input voltage of the storage unit, and provide the second input voltage to the corresponding storage unit through the corresponding second port.
[0021] In an exemplary embodiment, the power supply component is also connected to the storage switch; the control component is also used to control the power supply component to supply power to the multiple storage components when the server host is started; control the power supply component to supply power to the storage switch when the multiple storage components are all powered on; and control the server host to start up when the storage switch is powered on.
[0022] In an exemplary embodiment, the power supply component includes: multiple first power supply modules and second power supply modules, each of the first power supply modules is also connected to the multiple storage components one by one; the second power supply module is connected to the storage switch; the multiple first power supply modules and the second power supply module are both connected to the control component; the control component is used to control the multiple first power supply modules to supply power to the multiple storage components when the server host is started, and receive the first feedback signals returned by the multiple first power supply modules to obtain multiple first feedback signals; when the multiple first feedback signals are all used to indicate that the corresponding storage components have been powered on, control the second power supply module to supply power to the storage switch, and receive the second feedback signal returned by the second power supply module; when the second feedback signal is used to indicate that the storage switch has been powered on, control the server host to start.
[0023] In an exemplary embodiment, the control component is connected to the multiple first power supply modules one-to-one through multiple first power supply channels and multiple first feedback channels, and is connected to the second power supply module through a second power supply channel and a second feedback channel; the control component is used to control the corresponding first power supply module to power the corresponding storage component through the first power supply channel, and receive the first feedback signal returned by the corresponding first power supply module through the corresponding first feedback channel; the control component is also used to control the second power supply module to power the storage switch through the second power supply channel, and receive the second feedback signal returned by the second power supply module through the second feedback channel.
[0024] In an exemplary embodiment, the control component includes: a third control machine, a fourth control machine and a fifth control machine, the third control machine, the fourth control machine and the fifth control machine are interconnected, the fourth control machine and the fifth control machine are both connected to the power supply component, and the third control machine is connected to the server host; the third control machine is used to control the power supply component to supply power to the multiple storage components through the fifth control machine when the server host is started; control the power supply component to supply power to the storage switch through the fourth control machine when the multiple storage components are powered on; and control the server host to start when the storage switch is powered on.
[0025] In an exemplary embodiment, the fourth control machine includes: a third device and a fourth device, the third device is connected to the fourth device, the fifth control machine includes: a fifth device and a sixth device, the fifth device is connected to the sixth device, and the third control machine, the third device and the fifth device are interconnected; the power supply component includes: a plurality of first power supply modules and a second power supply module, each of the first power supply modules is also used to be connected to the plurality of storage components in a one-to-one correspondence; the second power supply module is connected to the storage switch, the fourth device is connected to the second power supply module, and the sixth device is connected to all of the plurality of first power supply modules; the third control machine is used to notify the fifth device to supply power to the plurality of storage components when the server host is started; when the plurality of storage components are all powered on, notify the third device to supply power to the storage switch; when the storage switch is powered on, control the server host to start; the fifth device is used to control the plurality of first power supply modules to supply power to the plurality of storage components through the sixth device; the third device is used to control the second power supply module to supply power to the storage switch through the fourth device.
[0026] Through the present application, since the server includes a server host and multiple storage components and also includes a storage switch, a control component and a power supply component, the storage switch is connected between the server host and the multiple storage components, and the storage switch can use the multiple storage components as a storage resource pool to provide storage resources for the server host. In addition, the control component is connected to the server host while also being connected to the power supply component, and the power supply component is respectively connected to multiple storage components. Based on the above connection relationship, the control component can detect the adjustment of the storage resources allocated to the server host by the storage switch during the operation of the server host and adjust the power supply status of each storage component by the power supply component to match the storage resources allocated to the server host, so that the power supply status of each storage component in the server can be flexibly adjusted according to the usage changes of the storage resources of the server host, and the unused storage components are not powered, and the storage components that need to be used are powered normally, thereby improving the matching between the storage resources currently used by the server host in the server and the storage resources currently available in the server, and improving the utilization rate of the storage resources by the server host. Therefore, the problem of low utilization rate of storage resources in the related technology can be solved, and the effect of improving the utilization rate of storage resources can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 The structure of the server according to the embodiment of the present application is shown in FIG. Figure 1 ;
[0028] Figure 2 A schematic diagram of a connection method between a control component and a power supply component according to an embodiment of the present application Figure 1 ;
[0029] Figure 3 A schematic diagram of a connection method between a control component and a power supply component according to an embodiment of the present application Figure 2 ;
[0030] Figure 4 This is a schematic diagram of the structure of the server according to the embodiment of the present application. Figure 2 ;
[0031] Figure 5 Flowchart for powering on and off the server and reallocating storage resources;
[0032] Figure 6 is a connection diagram of the CPLD1 and the memory device interface according to an embodiment of the present application;
[0033] Figure 7 It is a schematic diagram of a CPLD2 power supply control solution according to an embodiment of the present application. DETAILED DESCRIPTION
[0034] The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0035] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0036] In this embodiment, a server is provided. Figure 1 This is a schematic diagram of the structure of the server according to the embodiment of the present application. Figure 1 ,like Figure 1 As shown, the server includes: a server host, a storage switch, multiple storage components, a control component and a power supply component, and the control component is connected to the power supply component (there are many possibilities for the specific connection method, Figure 1 The different possibilities are shown only with dashed lines. Figure 1 The dotted line in the figure indicates that the connection mode is not specifically limited), the storage switch is connected between the server host and the multiple storage components, the power supply component is respectively connected to the multiple storage components, and the control component is connected to the server host;
[0037] A storage switch is used to use multiple storage components as a storage resource pool to provide storage resources for the server host;
[0038] The control component is used to detect resource adjustment information of the server host during the operation of the server host, wherein the resource adjustment information is used to indicate the adjustment status of the storage resources allocated by the storage switch to the server host; and adjust the power supply status of each storage component by the power supply component to match the resource adjustment information.
[0039] Through the above content, since the server includes a server host and multiple storage components and also includes a storage switch, a control component and a power supply component, the storage switch is connected between the server host and the multiple storage components, and the storage switch can use the multiple storage components as a storage resource pool to provide storage resources for the server host. In addition, the control component is connected to the server host while also connected to the power supply component, and the power supply component is connected to multiple storage components respectively. The control component can detect the adjustment of the storage resources allocated to the server host by the storage switch based on the above connection relationship during the operation of the server host and adjust the power supply status of each storage component by the power supply component to match the storage resources allocated to the server host, so that the power supply status of each storage component in the server can be flexibly adjusted according to the usage changes of the storage resources of the server host. The unused storage components are not powered, and the storage components that need to be used are powered normally, thereby improving the matching between the storage resources currently used by the server host in the server and the storage resources currently available in the server, and improving the utilization rate of the storage resources by the server host. Therefore, the problem of low utilization rate of storage resources in related technologies can be solved, and the effect of improving the utilization rate of storage resources can be achieved.
[0040] Optionally, in the embodiments of the present application, the server host may refer to, but is not limited to, a computer hardware system specifically used for hosting and running server software. The server host usually has high performance, stability and reliability to meet various service requirements, such as website hosting, database management, file storage and sharing, etc. The server host is usually equipped with a high-performance processor to handle a large number of concurrent requests and high-load tasks. The server host requires sufficient memory to support the operation of multiple applications and services to ensure stable operation of the system. The server host usually uses a high-speed solid state drive (SSD) or a high-performance hard disk (HDD, Hybrid Hard Drive) to store data to increase the data reading and writing speed. The server host requires a high-speed and stable network connection to ensure the efficiency and reliability of data transmission. In order to ensure data security and high availability of the system, the server host usually has redundant power supplies, redundant network connections and data backup functions. The server host needs to have a certain degree of scalability so that more hardware resources, such as additional hard disks, memory or processors, can be added when the business grows.
[0041] Optionally, in an embodiment of the present application, a storage switch may be, but is not limited to, a switching device connected between a server host and multiple storage components, and using multiple storage components to form a storage resource pool to provide storage resources for the server host. For example, the storage switch may be a CXL switch, and the CXL switch integrates the storage resources provided by multiple storage components into a storage resource pool through the CXL storage resource pooling technology and provides it to the server host for use. Alternatively, the storage switch may be a SAN (Storage Area Network) switch, and the SAN switch integrates the storage resources provided by multiple storage components into a storage resource pool through the virtualized storage network resource pooling technology and provides it to the server host for use. More specifically, the SAN switch uses storage virtualization technology, such as LUN (Logical Unit Number) mapping, to virtualize the storage space of storage components of, for example, multiple physical storage arrays into a unified storage resource pool. In this resource pool, the storage space can span different physical devices, but to the server host, they appear to be a single storage device.
[0042] Optionally, in the embodiment of the present application, the multiple storage components may be, but are not limited to, multiple storage devices of the same type supporting resource pooling technology, such as multiple DRAMs (Dynamic Random Access Memory), or multiple SRAMs (Static Random Access Memory), or multiple NVDIMMs (Non-Volatile Dual In-line Memory Modules), etc. The multiple storage components may also be, but are not limited to, a combination of multiple different types of storage devices supporting resource pooling technology, such as a combination of multiple DRAMs and multiple SRAMs, etc.
[0043] Optionally, in an embodiment of the present application, a storage component may also include but is not limited to a storage controller and multiple storage units, the storage controller may include but is not limited to MXC, and the storage unit may include but is not limited to DRAM, SRAM, NVDIMM, etc.
[0044] Optionally, in an embodiment of the present application, a storage switch connected between a server host and multiple storage components is used to use multiple storage components as a storage resource pool to provide storage resources for the server host, replacing the solution in which the server host directly connects to a PCIe card that integrates multiple storage components and then obtains the storage resources integrated on the PCIe card. The storage switch can dynamically allocate storage resources to the server host according to the needs of the host business and flexible deployment, and the capacity of storage resources is no longer fixed. On this basis, some storage components are no longer used by the server host. In order to improve resource utilization and avoid resource waste, the present application proposes a solution for using a control component and a power supply component to control the power supply status of multiple storage components.
[0045] Optionally, the control component may be, but is not limited to, a device with a control function, such as various processors, such as a CPU (Central Processing Unit), an MCU (Microcontroller Unit), a BMC (Baseboard Management Controller), a CPLD (Complex Programmable Logic Devic) or an FPGA (Field-Programmable Gate Array). The control component may also be, but is not limited to, a combination of multiple devices with a control function, and the devices in the device combination corresponding to the control component respectively complete different parts of the function implemented by the control component, such as a combination of different processors, specifically a combination of a CPU and a BMC, a combination of a CPU and multiple BMCs, or a combination of a CPU, multiple BMCs and multiple CPLDs. This application does not make specific restrictions on this.
[0046] Optionally, in an embodiment of the present application, the power supply component may be, but is not limited to, a device that can be controlled to supply power to the outside. For example, it may be a combination of a relay and a power supply, or a combination of a transistor and a power supply. Optionally, the power supply component may also be, but is not limited to, a device that converts the received electric energy and outputs it to the outside. It is necessary to supply power to these devices that convert the received electric energy and output it to the outside in the server. These devices that convert the received electric energy and output it to the outside will adjust the output electric energy according to the instructions of the control component to achieve the adjustment of the power supply status of each storage component. Specifically, such a device may be a power management integrated circuit (PMIC, Power Management Integrated Circuit).
[0047] Optionally, in the embodiments of the present application, Figure 2A schematic diagram of a connection method between a control component and a power supply component according to an embodiment of the present application Figure 1 , Figure 3 A schematic diagram of a connection method between a control component and a power supply component according to an embodiment of the present application Figure 2 The connection between the control component and the power supply component can be, but is not limited to, Figure 2 The control component shown is directly connected to the power supply component, or it can be but not limited to the following Figure 3 The control component and the power supply component are indirectly connected through the connection between the control component and the storage switch, the connection between the storage switch and multiple storage components, and the connection between the power supply component and multiple storage components. The connection method between the control component and the power supply component can be flexibly selected according to the needs of the application scenario, but is not limited to. For example, when the interface pins of the storage switch and multiple storage components have power supply control pins or idle pins, an indirect connection method can be selected to reuse the storage switch, the interfaces of multiple storage components, and the connection cables between the storage switch and multiple storage components. For example, when the control component and the power supply component are integrated on a circuit board, a direct connection method between the control component and the power supply component can be adopted to reduce the connection lines across the circuit board.
[0048] Optionally, in the embodiment of the present application, the resource adjustment information includes but is not limited to the resource adjustment requirements sent by the host to the storage switch, and the control component can determine the adjustment operation of the storage switch to allocate storage resources to the server host according to the resource adjustment requirements, and further determine the adjustment of the storage resources allocated by the storage switch to the server host. Optionally, the resource adjustment information can also be obtained by comparing the results of the resource allocation information on the server host periodically collected by the control component.
[0049] Optionally, in an embodiment of the present application, the control component is used to detect resource adjustment information of the server host during the operation of the server host, including but not limited to sending adjustment requirement acquisition information by the control component to the host, and after receiving the adjustment requirement acquisition information, the host will also send the resource adjustment requirement to be sent to the storage switch to the control component, or the control component sends resource allocation acquisition information to the server host, and after receiving the resource allocation acquisition information, the host will return the current resource allocation information of the server host to the control component. The control component stores the resource allocation information sent by the server host last time, and based on the comparison results of the two resource allocation information, it can be determined which storage components' usage status has changed.
[0050] Optionally, in an embodiment of the present application, the control component is also used to adjust the power supply status of each storage component by the power supply component to match the resource adjustment information, including but not limited to the control component outputting the power supply control signal of each storage component that matches the resource adjustment information and transmitting it to the power supply component, or after the control component determines the target storage component whose usage status has changed on the server host, the control component determines the power supply control signal of the target storage component as a power supply control signal having the opposite control effect of the power supply control signal of the target storage component output last and outputs it to the power supply component, for example, if the power supply control signal of the target storage component last time instructs the power supply component to supply power to the target storage component, then the power supply control signal output this time is a control signal instructing the power supply component to stop supplying power to the target storage component.
[0051] It can be seen from the above that after using the control component and the power supply component to control the power supply status of multiple storage components, the storage components that are not allocated to the server host by the storage switch can be stopped from being powered, and the storage components that are newly allocated to the server host by the storage switch can be powered on, thereby ensuring the normal use of storage resources by the server host while avoiding waste of resources.
[0052] As an optional implementation, the control component includes: a first control machine and a second control machine, the first control machine is connected to the second control machine, the first control machine is connected to the server host, and the second control machine is connected to the power supply component; the first control machine is used to detect resource adjustment information based on resource allocation information of the server host, wherein the resource allocation information is used to indicate the storage resources allocated by the storage switch to the server host; convert the resource adjustment information into state change information, wherein the state change information is used to indicate a target storage component among multiple storage components whose usage status on the server host has changed; send the state change information to the second control machine; the second control machine is used to adjust the power supply status of the target storage component by the power supply component according to the state change information.
[0053] Optionally, in an embodiment of the present application, the control component may, but is not limited to, include a first control machine for converting resource adjustment information of a server host into state change information of a target storage component indicating that a usage state transition has occurred, and a second control machine for adjusting the power supply component to the power supply state of the target storage component according to the state change information.
[0054] Optionally, in an embodiment of the present application, the correspondence between the storage resources used by the server host and the storage resources provided by each storage component may be recorded in the first control machine but is not limited to, so that the first control machine can realize the conversion of resource adjustment information into state change information.
[0055] Optionally, in an embodiment of the present application, the first control machine and the second control machine may be, but are not limited to, a device with a control function or a combination of multiple devices with a control function. The devices in the device combination corresponding to the first control machine respectively complete different parts of the functions implemented by the first control machine, and the devices in the device combination corresponding to the second control machine respectively complete different parts of the functions implemented by the second control machine. For example, the first control machine may be a processor, and the second control machine may be a combination of a BMC and two CPLDs.
[0056] Through the above, a two-layer control mechanism is realized through the division of labor and cooperation between the first control machine and the second control machine, in which the first control machine focuses on monitoring and analyzing resource requirements, and the second control machine focuses on the actual execution of resource adjustment. This mechanism enables resource management to quickly respond to host requirements and efficiently perform resource adjustment operations, enhancing the overall coordination and performance of the server.
[0057] As an optional implementation, the first control machine is used to: collect current resource allocation information from the server host; compare the current resource allocation information with the resource allocation information collected last time; if the current resource allocation information is consistent with the resource allocation information collected last time, determine the resource adjustment information as the first adjustment information, wherein the first adjustment information is used to indicate that the storage resources allocated by the storage switch to the server host have not been adjusted; if the current resource allocation information is inconsistent with the resource allocation information collected last time, determine the resource adjustment information as the second adjustment information, wherein the second adjustment information is used to indicate that the storage resources allocated by the storage switch to the server host have been adjusted.
[0058] Optionally, in an embodiment of the present application, collecting current resource allocation information from the server host includes but is not limited to the first control machine requesting the server host to obtain the current resource allocation information of the server host at a fixed frequency, or the first control machine monitoring the communication between the server host and the storage switch, and upon monitoring that a communication between the server host and the storage switch is completed, requesting the server host to obtain the current resource allocation information of the server host.
[0059] Through the above, the first control machine continuously collects resource allocation information from the server host, which reflects the current usage of resources in the storage resource pool. This continuous monitoring mechanism enables the system to track the dynamic changes of resources in real time and provides a basis for dynamic resource adjustment.
[0060] As an optional implementation, the first control machine is used to: when the resource adjustment information is the first adjustment information, convert the first adjustment information into the first change information, wherein the first change information is used to indicate that there is no target storage component among the multiple storage components, and the state change information includes the first change information; when the resource adjustment information is the second adjustment information, extract the target storage component from the current resource allocation information and the resource allocation information collected last time to obtain the second change information, wherein the second change information is used to indicate that the usage status of the target storage component among the multiple storage components on the server host has changed, and the state change information includes the second change information.
[0061] Optionally, in an embodiment of the present application, extracting the target storage component from the current resource allocation information and the resource allocation information collected last time can be to determine what changes have occurred in the storage resources allocated to the server host based on the current resource allocation information and the resource allocation information collected last time, and then determine which storage components' usage status has changed, or to determine the current usage status of each storage component based on the current resource allocation information and determine the usage status of each storage component at the time of the last collection based on the resource allocation information collected last time, and then determine which storage components' usage status has changed.
[0062] Through the above content, the generation and conversion process of resource adjustment information is refined, the intelligence level of server storage resource management is improved, and the accuracy, efficiency and flexibility of resource adjustment are ensured.
[0063] As an optional implementation, the first control machine is used to: determine the first storage component set currently used by the server host based on the current resource allocation information, and determine the second storage component set last used by the server host based on the resource allocation information collected last time; calculate the union and intersection of the first storage component set and the second storage component set; calculate the difference between the union and the intersection, wherein the storage component in the difference is the target storage component.
[0064] Optionally, in an embodiment of the present application, after the target storage component is obtained by calculating the difference between the union and the intersection, the specific change in the usage status of the target storage component is determined, including but not limited to determining the specific change in the usage status of the target storage component by searching for the target storage component in the first storage component set or the second storage component set. For example, after the target storage component is obtained by calculating the difference between the union and the intersection, the target storage component is searched in the first storage component set; if the target storage component is not found, it is determined that the target storage component is a storage component that the server host has stopped using; if the target storage component is found, it is determined that the target storage component is a storage component that the server host has newly used.
[0065] Through the above content, it is further clarified how the first control machine accurately determines the logic of the target storage component, and accurately identifies the specific content of resource changes through set operations, providing more detailed and accurate data support for resource adjustment.
[0066] As an optional implementation, the second control machine includes: a first controller and a second controller, the first controller is connected to the second controller, the first controller is connected to the first control machine, and the second controller is connected to the power supply component; the first controller is used to generate a power supply control signal for each storage component according to the state change information; the second controller is used to transmit the power supply control signal to the power supply component.
[0067] Optionally, in an embodiment of the present application, the first controller and the second controller may be, but are not limited to, a device having a control function or a combination of multiple devices having a control function. The devices in the device combination corresponding to the first controller respectively perform different parts of the functions implemented by the first controller, and the devices in the device combination corresponding to the second controller respectively perform different parts of the functions implemented by the second controller. For example, the first controller may be a BMC, and the second controller may be a combination of two CPLDs.
[0068] Optionally, in an embodiment of the present application, the connection between the second controller and the power supply component may be, but is not limited to, a direct connection between the second controller and the power supply component, or an indirect connection between the second controller and the power supply component by connecting to a storage switch, which can be flexibly configured as needed.
[0069] Optionally, in an embodiment of the present application, including but not limited to recording the power supply control signal last output by each storage component in the first controller, the current power supply control signal for each storage component can be generated by combining the target storage component indicated by the state change information and the power supply control signal last output by each storage component.
[0070] Optionally, in an embodiment of the present application, the state change information includes but is not limited to the target storage component and the type of change in the usage state of the target storage component. For example, if the state change information is to stop using storage component A, the first controller can determine, based on the state change information, that the power supply control signal A of storage component A is a signal instructing the power supply component to stop supplying power to storage component A. The second controller transmits the power supply control signal A to the power supply component, and the power supply component changes the power supply state of storage component A with reference to the power supply control signal A. The power supply states of other storage components remain unchanged because the power supply component has not received the corresponding new power supply control signal.
[0071] Through the above content, a distributed control structure of the first controller and the second controller is introduced, which not only increases the level of control, but also makes the control process more modular and professional, and improves the efficiency and accuracy of control.
[0072] As an optional implementation, the second controller includes: a first device and a second device, the first device is connected to a storage switch, the second device is connected to multiple storage components, the first device is connected to the first controller, and the second device is also connected to a power supply component; the first controller is also used to write a power supply control signal to the first device; the first device is used to transmit the power supply control signal to the second device through the connection between the storage switch and the multiple storage components; the second device is used to transmit the power supply control signal to the power supply component.
[0073] Optionally, in the embodiment of the present application, both the first device and the second device may be, but are not limited to, a control device, such as a CPLD, or an FPGA, etc. Optionally, there is no limitation on the device types of the first device and the second device, and the second device may be a control device of the same type as the first device, or a control device of a different type from the first device.
[0074] Optionally, in an embodiment of the present application, the first device is indirectly connected to the second device through a connection between the first device and a storage switch, a connection between the storage switch and multiple storage components, and a connection between the multiple storage components and the second device.
[0075] Through the above content, the storage switch, as the intermediate layer for power supply control signal transmission, can provide redundant signal transmission paths. Even if a path has a problem, the system can continue to transmit the power supply control signal through other paths, thereby maintaining the stable operation of the system.
[0076] As an optional implementation, multiple first cable interfaces are deployed on the storage switch, and a second cable interface is deployed on each of the multiple storage components. The first cable interfaces are connected to the second cable interfaces in a one-to-one correspondence. The first device is connected to the power supply control pin of each first cable interface, and the second device is connected to the power supply control pin of each second cable interface. The first device is used to transmit the power supply control signal corresponding to each storage component to the second device through the first cable interface corresponding to each storage component according to the correspondence between each first cable interface and each storage component; the second device is used to receive the power supply control signal corresponding to each storage component from each second cable interface, and transmit the power supply control signal to the power supply component.
[0077] Optionally, in an embodiment of the present application, the first cable interface and the second cable interface are interfaces with power supply control pins. The power supply control pins of the first cable interface and the second cable interface may be provided by the interface itself, or may be modified from other pins of the interface. The present application does not make any specific limitation on this.
[0078] Optionally, in an embodiment of the present application, the first cable interface and the second cable interface may be, but are not limited to, interfaces of the same type or interfaces of different types. When the first cable interface and the second cable interface are interfaces of different types, a corresponding adapter cable is required to connect the first cable interface and the second cable interface.
[0079] Optionally, the connection between the first cable interface and the second cable interface includes, in addition to the connection between the power supply control pin of the first cable interface and the power supply control pin of the second cable interface, also includes the connection between the data transmission pin of the first cable interface and the data transmission pin of the second cable interface. The data read by the server host from each storage component and the data that the server host needs to write into each storage component are transmitted through the connection between the data transmission pin of the first cable interface and the data transmission pin of the second cable interface.
[0080] Through the above content, the first device can accurately control the power supply status of each storage component by transmitting the power supply control signal through the power supply control pins in the cable interface of the storage switch and each storage component. This fine-grained control capability allows the system administrator or automated control strategy to independently power on or off the storage resources according to the real-time load and business needs of the server host, thereby improving resource utilization efficiency and reducing unnecessary power consumption.
[0081] As an optional implementation, multiple enable terminals are deployed on the power supply component, and the multiple enable terminals correspond one-to-one to the multiple storage components; the second device is connected to the multiple enable terminals, and the power supply control signal corresponding to each storage component includes the enable signal corresponding to each storage component; the second device is used to transmit the enable signal corresponding to each storage component to the enable terminal corresponding to each storage component.
[0082] Optionally, in an embodiment of the present application, the power supply control signal corresponding to each storage component received by the second device may include but is not limited to an enable signal corresponding to each storage component, and the second device needs to transmit the corresponding enable signal to the enable terminal corresponding to each storage component.
[0083] Optionally, in an embodiment of the present application, including but not limited to, when the falling edge of the power supply control signal received by the second device arrives, the second device sends a low enable signal to the enable end on the power supply component corresponding to the power supply control signal; when the rising edge of the power supply control signal received by the second device arrives, the second device sends a high enable signal to the enable end on the power supply component corresponding to the power supply control signal.
[0084] As an optional implementation, multiple storage bits are created in the first device, and the multiple storage bits correspond one-to-one to the multiple storage components; the first controller is used to overwrite the power supply control signal corresponding to each storage component into the storage bit corresponding to each storage component; the first device is used to transmit the data on the storage bit corresponding to each storage component to the second device through the first cable interface corresponding to each storage component; the second device is used to control the enable end corresponding to each storage component according to the data transmitted on the second cable interface corresponding to each storage component.
[0085] Optionally, in an embodiment of the present application, a method of creating multiple storage bits in the first device may be but is not limited to creating one or more registers in the first device, and the storage bits of one or more registers are the storage bits created in the first device.
[0086] Through the above content, by utilizing the corresponding mechanism among the storage bit, the first cable interface, the second cable interface and the enable end, the corresponding power supply control signal accurately produces the correct power supply control effect, avoids the occurrence of power supply control errors, realizes the accurate, fast and flexible transmission and control of the power supply control signal, and improves the manageability, response speed and resource utilization of the server.
[0087] As an optional implementation, the power supply component includes multiple first power supply modules, each of the multiple first power supply modules is connected to the control component, and each first power supply module is also connected one-to-one with multiple storage components; the control component is used to generate a power supply control signal corresponding to each first power supply module according to resource adjustment information; the first power supply module is used to supply power to the corresponding storage component according to the power supply control signal.
[0088] Optionally, in an embodiment of the present application, the connection between the first power supply module and the storage component includes but is not limited to each first power supply module being respectively connected to each sub-part in each storage component, or each first power supply module being respectively connected to a storage control device in each storage component. For example, in the case where each storage component includes a storage controller and one or more storage units, the first power supply module corresponding to the storage component is respectively connected to the storage controller and one or more storage units, and supplies power to the storage controller and one or more storage units respectively; or the first power supply module corresponding to the storage component is connected to the storage controller, and the first power supply module directly supplies power to the storage controller, and indirectly supplies power to one or more storage units through the connection between the storage controller and one or more storage units.
[0089] Through the above content, each storage component is configured with a corresponding first power supply module, and each storage component is powered by the corresponding first power supply module. The independent power supply module design makes the allocation of storage resources more flexible. When the storage resources need to be expanded or adjusted, the first power supply module can be added or adjusted separately without making major changes to the entire power supply component, which helps the scalability and adaptability of the system.
[0090] As an optional implementation, the control component is connected to multiple first power supply modules one-to-one through multiple first power supply channels; the control component is also used to send a power supply control signal to the corresponding first power supply module through each first power supply channel.
[0091] Optionally, in an embodiment of the present application, the transmission of power supply control signals between the control component and multiple first power supply modules may be, but is not limited to, transmitted through corresponding first power supply channels. Multiple redundant channels may be, but are not limited to, set up between the control component and multiple first power supply modules as a disaster recovery plan for multiple first power supply channels. When one of the first power supply channels cannot be used normally, the corresponding redundant channel is used to transmit the power supply control signal.
[0092] As an optional implementation, a plurality of signal output terminals are deployed on the control component, an enable terminal is deployed on each first power supply module, and the plurality of signal output terminals are connected with the corresponding enable terminals to form a plurality of first power supply channels; the control component is used to send a corresponding enable signal to the corresponding first power supply module through each first power supply channel, wherein the power supply control signal includes an enable signal.
[0093] Optionally, in an embodiment of the present application, including but not limited to, multiple signal input terminals are also deployed on the control component, and feedback terminals are also deployed on each first power supply module, each feedback terminal is connected to the corresponding signal input terminal to form multiple first feedback channels, and each first power supply module is used to send a corresponding first feedback signal to the corresponding first power supply module through the corresponding first feedback channel, wherein the first feedback signal is used to indicate the power-on status of the corresponding storage component.
[0094] As an optional embodiment, each storage component includes: a storage controller, and one or more storage units; a power supply port is deployed on each first power supply module, and the power supply port is used to connect the storage controller, and one or more storage units; the first power supply module is used to power the storage controller, and one or more storage units through the power supply port according to a power supply control signal.
[0095] Optionally, in an embodiment of the present application, the storage controller may be, but is not limited to, a device for managing and controlling multiple storage units, such as an MXC.
[0096] Optionally, in an embodiment of the present application, the storage unit may be, but is not limited to, a device used to store data and programs in a server, such as a DRAM, SRAM, NVDIMM, or the like.
[0097] Optionally, in an embodiment of the present application, including but not limited to deploying one or more power supply ports on each first power supply module, when one power supply port is deployed, this one power supply port is simultaneously connected to the storage controller and one or more storage units, and when multiple power supply ports are deployed, these multiple power supply ports are respectively connected to the storage controller and one or more storage units.
[0098] As an optional implementation, the power supply port includes: a first port and one or more second ports, the first port is connected to the storage controller, and the one or more second ports are connected one-to-one to one or more storage units; a first power supply module, used to convert the power supply voltage into a first input voltage of the storage controller according to a power supply control signal, and provide the first input voltage to the storage controller through the first port; and, according to the power supply control signal, convert the power supply voltage into a second input voltage of the storage unit, and provide the second input voltage to the corresponding storage unit through the corresponding second port.
[0099] Optionally, in an embodiment of the present application, the first input voltage is a power supply voltage required to maintain the normal operation of the storage controller, and the second input voltage is a power supply voltage required to maintain the normal operation of the storage unit. Generally speaking, there is a difference between the power supply voltage required by the storage controller and the power supply voltage required by the storage unit. Therefore, the first power supply module needs to provide different power supply ports to separately power the storage controller and the storage unit.
[0100] Through the above content, according to the different requirements of the storage controller and the storage unit, the corresponding input voltage is provided to the storage controller and the storage unit through different power supply channels, ensuring that the provided voltage is the correct required voltage and ensuring the normal power supply control of the storage component.
[0101] As an optional implementation, the power supply component is also connected to the storage switch; the control component is also used to control the power supply component to supply power to multiple storage components when the server host is started; when multiple storage components are powered on, control the power supply component to supply power to the storage switch; when the storage switch is powered on, control the server host to start up.
[0102] Optionally, in an embodiment of the present application, the startup operation performed on the server host can be understood as sending a startup instruction or a startup electrical signal to the server host, and this startup instruction or startup electrical signal is used to trigger the startup of the server host. When the startup operation is performed on the server host, the control component first controls the power supply component to power multiple storage components, that is, first controls the power supply component to start providing power to the multiple storage components, and when the multiple storage components are all powered on, that is, the multiple storage components have successfully obtained the power required for normal operation from the power supply component, the power supply component is controlled to power the storage switch, that is, the power supply component is controlled to start providing power to the storage switch, and when the storage switch is powered on, that is, the storage switch has successfully obtained the power required for normal operation from the power supply component, the server host is controlled to start, that is, the aforementioned startup instruction or startup electrical signal is sent to the power management module of the server host. After receiving the startup instruction or startup electrical signal, the power management module will control the power supply unit of the server host to provide power to the server host, and the server host starts.
[0103] Through the above content, after the server host is started, that is, the startup demand is generated, the power supply component is controlled to supply power to the storage component and the storage switch, and the server host is controlled to start when the storage component and the storage switch are powered on, to ensure that the storage component and the storage switch are ready to power on when the server host is started. The server host can immediately access the storage resources when it starts without waiting, thereby accelerating the initialization process of the server and improving the overall response speed of the server.
[0104] As an optional embodiment, the power supply component includes: multiple first power supply modules and second power supply modules, each first power supply module is also connected to multiple storage components in a one-to-one correspondence; the second power supply module is connected to the storage switch; the multiple first power supply modules and the second power supply modules are both connected to the control component; the control component is used to control the multiple first power supply modules to power the multiple storage components when the server host is started, and receive the first feedback signals returned by the multiple first power supply modules to obtain multiple first feedback signals; when the multiple first feedback signals are all used to indicate that the corresponding storage components have been powered on, control the second power supply module to power the storage switch and receive the second feedback signal returned by the second power supply module; when the second feedback signal is used to indicate that the storage switch has been powered on, control the server host to start.
[0105] Optionally, in the embodiment of the present application, including but not limited to dividing a second power supply module and multiple first power supply modules in the power supply component, respectively used to power the storage switch and multiple storage components, to reduce the possibility of erroneous power-on. In addition, these power supply modules can also return corresponding feedback signals to the control component, so that the control component can timely learn the power-on status of the storage component and the storage switch, so that the control component can better control the startup process of the entire server.
[0106] As an optional implementation, the control component is connected to multiple first power supply modules one-to-one through multiple first power supply channels and multiple first feedback channels, and the control component is connected to the second power supply module through a second power supply channel and a second feedback channel; the control component is used to control the corresponding first power supply module to power the corresponding storage component through the first power supply channel, and receive the first feedback signal returned by the corresponding first power supply module through the corresponding first feedback channel; the control component is also used to control the second power supply module to power the storage switch through the second power supply channel, and receive the second feedback signal returned by the second power supply module through the second feedback channel.
[0107] Optionally, in an embodiment of the present application, the control component's control over the second power supply module and the plurality of first power supply modules includes but is not limited to being completed through the cooperation of a plurality of control devices.
[0108] As an optional implementation, the control component includes: a third control machine, a fourth control machine and a fifth control machine, the third control machine, the fourth control machine and the fifth control machine are interconnected, the fourth control machine and the fifth control machine are both connected to the power supply component, and the third control machine is connected to the server host; the third control machine is used to control the power supply component to supply power to multiple storage components through the fifth control machine when the server host is started; when the multiple storage components are powered on, control the power supply component to supply power to the storage switch through the fourth control machine; when the storage switch is powered on, control the server host to start.
[0109] Optionally, in an embodiment of the present application, the interconnection between the third control machine, the fourth control machine and the fifth control machine may be, but is not limited to, achieved through a network connection, and the third control machine, the fourth control machine and the fifth control machine may be, but is not limited to, all connected to a network switch.
[0110] Optionally, in an embodiment of the present application, the third control machine controls the startup of the server host when the storage switch is powered on, including but not limited to the interaction between the third control machine and the baseboard management controller of the server host. The third control machine includes but is not limited to sending instructions to the baseboard management controller of the server host to trigger the baseboard management controller to start the server host.
[0111] As an optional implementation, the fourth control machine includes: a third device and a fourth device, the third device and the fourth device are connected, the fifth control machine includes: a fifth device and a sixth device, the fifth device and the sixth device are connected, and the third control machine, the third device and the fifth device are interconnected; the power supply component includes: multiple first power supply modules and second power supply modules, each first power supply module is also used to be connected to multiple storage components in a one-to-one correspondence; the second power supply module is connected to the storage switch, the fourth device is connected to the second power supply module, and the sixth device is connected to all the first power supply modules; the third control machine is used to notify the fifth device to power the multiple storage components when the server host is started; when the multiple storage components are powered on, notify the third device to power the storage switch; when the storage switch is powered on, control the server host to start; the fifth device is used to control the multiple first power supply modules to power the multiple storage components through the sixth device; the third device is used to control the second power supply module to power the storage switch through the fourth device.
[0112] Optionally, in the embodiment of the present application, the third device, the fourth device, the fifth device and the sixth device are all control devices, for example, they may be BMC, CPLD, FPGA and the like.
[0113] Optionally, in an embodiment of the present application, the third device and the fifth device may be but are not limited to BMC, and the fourth device and the sixth device may be but are not limited to CPLD, that is, the fourth control machine and the fifth control machine may be but are not limited to a combination of a BMC and a CPLD. In such a combination, the logical functions of the third device and the fifth device are more complex, and some simple control operations are assigned to the fourth device and the sixth device with simpler logical functions to execute, thereby releasing some of the computing resources of the third device and the fifth device, so that the third device and the fourth device can realize more other complex functions and improve the overall operation efficiency of the server.
[0114] As an optional implementation, after the server is powered on and started successfully with the cooperation of the third control machine, the third device, the fourth device, the fifth device, the sixth device, the multiple first power supply modules and the second power supply modules, during the operation of the server host, the third control machine (equivalent to the aforementioned first control machine) can detect resource adjustment information according to the resource allocation information of the server host, and convert the resource adjustment information into state change information, and send the state change information to the third device (equivalent to the aforementioned first controller); the third device can generate power supply control signals for each storage component according to the state change information, and write the power supply control signals to the fourth device (equivalent to the aforementioned first device); the fourth device transmits the power supply control signal to the sixth device (equivalent to the aforementioned second device) through the connection between the storage switch and the multiple storage components; the sixth device can transmit the power supply control signal to the corresponding first power supply module; the first power supply module can supply power to the corresponding storage component according to the power supply control signal, so as to realize the flexible allocation of storage resources in the server. The more specific operation cooperation mode between the third control machine, the third device, the fourth device, the sixth device and the multiple first power supply modules is consistent with the specific operation cooperation mode between the aforementioned first control machine, the first controller, the first device, the second device and the multiple first power supply modules.
[0115] Optionally, a more specific server is also given in the application. Figure 4 This is a schematic diagram of the structure of the server according to the embodiment of the present application. Figure 2 ,like Figure 4 As shown, it is mainly composed of two parts, one is the server host and the corresponding storage configuration device, and the other is the memory box. In the memory box, there are two BaseBoards (respectively recorded as BaseBoard1 and BaseBoard2) for carrying various management units, CPLD logic control units and power supply modules of the memory exchange board and memory expansion board. There are three types of management units, namely, the detachable mCPU (a processor) (i.e. the aforementioned third control machine or the first control machine), the network management unit and the BMC. There is no mCPU on the BaseBoard2 connected to the memory expansion board. The first configuration supported by the memory box is 1 memory exchange board with 1 memory expansion board, and the second is 1 memory exchange board with 2 memory expansion boards. Users can flexibly choose according to business needs when using it.
[0116] The internal modules of the memory exchange board mainly include CXL Switch (i.e. the aforementioned storage switch), and the external interfaces include PCIe interface and memory device interface (i.e. the aforementioned first cable interface). The PCIe resource of the host is connected to the uplink port of SW (i.e. the aforementioned CXL2.0 Switch) through CDFP cable, and the downlink of SW - memory device interface is connected to the memory expansion board through CDFP cable. The memory exchange board can be connected to BaseBoard1 through MCIO (Multimode ConnectorInsertion / Extraction, multimode fiber insertion / extraction) cable. MCIO is mainly used to transmit the monitoring signal of BMC1 (i.e. the aforementioned third device or first controller) to the memory exchange board, I2C communication signal, and CPLD power control signal. The mCPU, BMC1 and network management unit on BaseBoard1 are interconnected in pairs, CPLD1 (i.e. the aforementioned fourth device or first device) is connected to BMC1, and CPLD1 is connected to the power supply module (i.e. the aforementioned second power supply module). Both CPLD1 and the power supply module are connected to the memory exchange board.
[0117] The memory expansion board is mainly equipped with 8 MXCs as memory controllers (i.e. the aforementioned storage controllers). Its upstream interface (i.e. the aforementioned second cable interface) is connected to the memory switch board through a CDFP cable, and the downstream interface is connected to the memory device (i.e. the aforementioned storage unit). The memory device can be a DDR5 DIMM (Dual-Inline-Memory-Modules) strip. Each MXC can support up to 8 DIMMs, and the entire memory expansion board can support up to 64 DIMMs. Table 1 is Figure 1 The memory resource pooling system configuration of the server shown involves 2 memory expansion boards and 4 memory expansion boards, which can expand a total of 256 DIMMs in full configuration. Similarly, the memory expansion board can be connected to BaseBoard2 through an MCIO cable. MCIO is mainly used for BMC2 (the fifth device mentioned above) to monitor the memory expansion board, I2C communication signals, and CPLD power control signals. BMC2 on BaseBoard2 is connected to the network management unit, CPLD2 (the sixth device or the second device mentioned above) is connected to BMC2, and CPLD2 is connected to the power supply module. CPLD2 and the power supply module (the first power supply module mentioned above) are both connected to the memory expansion board.
[0118] Table 1
[0119]
[0120] The mCPU and each BMC can communicate through the network switch and the network management unit on each BaseBoard. In the memory box, BMC1 on BaseBoard1 serves as the master BMC to manage the entire memory box.
[0121] The above introduces the overall architecture of the server. For the configuration in Table 1, Figure 5 This is a flowchart for powering on and off the entire server and reallocating storage resources. The overall power-on sequence is to power on the memory expansion board first, then the memory switch board, and finally the server host. During the operation of the server host, after the host issues an instruction to reallocate memory resources, it is obtained by the mCPU and then passed to the BMC1 and CPLD1 of the memory switch board in sequence. The CPLD2 of the memory expansion board finally realizes the power-on and power-off control of the MXC and DIMM through the CDFP cable.
[0122] More specifically, BMC1 and CPLD1 use the CDFP cable to transmit the power supply control signal to CPLD2, which involves the connection between CPLD1 and the downstream of SW - the memory device interface. Figure 6 1 is a connection diagram of the CPLD1 and the memory device interface according to an embodiment of the present application. Figure 6 As shown, the CDFP connector of the memory exchange board (i.e. the aforementioned memory device interface) needs to lead out a specific pin - the pin corresponding to the Power Enable signal (i.e. the aforementioned power supply control pin), and it is necessary to ensure that the pin sequence of the CDFP connector of the memory exchange board is consistent with the pin sequence of the memory expansion board. The control end of each Power Enable signal (i.e. the PWREN signal, i.e. the aforementioned power supply control signal) is CPLD1, which is connected to the CDFP connector of the memory expansion board through a CDFP cable, and the power supply control of MXC and DIMM is realized through CPLD2. In addition, the connection relationship between the CDFP connector of the memory exchange board and the memory expansion board is not fixed. All the downstream ports of the memory exchange board can be connected to any CDFP port of the CDFP connector of the memory expansion board at will, and the memory device under this port can be used.
[0123] After the power supply control signal is transmitted to CPLD2 through the CDFP cable and the CDFP interface, CPLD2 transmits the enable signal included in the power supply control signal to the corresponding power supply module. Figure 7 is a schematic diagram of a CPLD2 power supply control solution according to an embodiment of the present application, such as Figure 7As shown, the combination of 8 MXCs and DIMMs on the memory expansion board (i.e., the aforementioned storage components) all have independent power supply modules (the power supply module here is the power supply module in BaseBoard2, i.e., the aforementioned first power supply module), the first Power rail (i.e., the aforementioned first power supply channel) of each power supply module - the input control of P12V is enabled by CPLD2, and the last Power rail (i.e., the aforementioned first feedback channel) - the Power good signal of P0V9 (i.e., the aforementioned first feedback signal) is sent to CPLD2 to indicate the power status of the combination of MXC and DIMM. In this way, each combination of MXC and DIMM can be powered on and off independently, meeting the requirements of memory resource reallocation.
[0124] For the logical interaction between BMC1, CPLD1 and CPLD2, the present application also provides an optional implementation method. Specifically, first define 4 bytes in CPLD1 to store the power control signal Power Enable. The 4 bytes total 32 bits (i.e., the aforementioned multiple storage bits) correspond to the 32 ports of the two memory switch boards. BMC1 interacts with CPLD1 through the I2C bus to control the Power Enable Pin (i.e., the aforementioned power control pin) connected to CPLD1. BMC can restart MXC. Each storage bit corresponds to a specific combination of MXC and DIMM on the memory expansion board, which depends on the specific connection relationship of the CDFP cable. More specifically, the control can be implemented in the code using the following expression:
[0125] a) Define four registers:
[0126] wire [7:0] w_bmcTOcpld_SW0_CDFP_PWREN_0;
[0127] wire [7:0] w_bmcTOcpld_SW0_CDFP_PWREN_1;
[0128] wire [7:0] w_bmcTOcpld_SW1_CDFP_PWREN_0;
[0129] wire [7:0] w_bmcTOcpld_SW1_CDFP_PWREN_1;
[0130] b) Assign values through the assign statement:
[0131] For example, assign o_PWREN_CDFP0_N_SW0 = w_bmcTOcpld_SW0_CDFP_PWREN_0 [7];
[0132] Assign the 32 bits in sequence to the corresponding power supply control pins connected to the CPLD1 according to the above format.
[0133] c) Data transmission is achieved between BMC and CPLD through the I2C communication module of CPLD.
[0134] More specifically, the interaction between BMC1 and CPLD1 and CPLD2 involves the interaction when the server is powered on and the interaction during the operation of the server host. When the server is powered on, mCPU and BMC2 control the memory expansion board CPLD2 to directly pull up the P12V_0~P12V_7 level, so that the power supply module supplies power to all MXC and DIMM combinations, and then pull up the MXC ready signal after receiving the corresponding Power good signal for 200ms. During the operation of the server host, when the storage resources allocated by the storage switch to the server host are adjusted, CPLD2 monitors the rising and falling edges of the power supply control signal PWREN input from the CDFP interface in real time. When the falling edge of PWREN input from the CDFP interface is triggered, the corresponding P12V VR (Voltage Regulator) EN is pulled down, so that the power supply module stops supplying power to the corresponding MXC and DIMM. When the rising edge of PWREN input from the CDFP interface is triggered, the corresponding P12V VR EN is pulled high, so that the power supply module starts supplying power to the corresponding MXC and DIMM. The coordination involving BMC1 is:
[0135] Power off: BMC1 sets the corresponding bit position in the register to 0 (which port depends on the specific connection relationship), and then uses CPLD1 to pull down the PWREN of the CDFP interface corresponding to the MXC group that needs to be powered off.
[0136] Power on: BMC1 sets the corresponding bit position in the register to 1 (which port depends on the specific connection relationship), and then uses CPLD1 to pull up the PWREN of the CDFP interface corresponding to the MXC group that needs to be powered on.
[0137] Through the above content, the hardware level adopts the method of supplying power to each MXC and DIMM separately, and the logic control coordinates the power on and off of the memory resource pool through the interactive communication between CPLD and BMC, so as to realize the dynamic allocation of CXL memory resources in the memory resource pool. It can dynamically allocate CXL memory resources to the host according to the needs of the host business and flexible deployment, thereby improving the utilization rate of the entire memory and reducing the cost of memory use.
[0138] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application shall be included in the protection scope of the present application.
Claims
1. A server, It is characterized in that The device comprises: a server host, a storage switch, a plurality of storage components, a control component and a power supply component, wherein the control component is connected to the power supply component, the storage switch is connected between the server host and the plurality of storage components, the power supply component is respectively connected to the plurality of storage components, and the control component is connected to the server host; The storage switch is used to use the multiple storage components as a storage resource pool to provide storage resources for the server host; The control component is used to detect resource adjustment information of the server host during the operation of the server host, wherein the resource adjustment information is used to indicate the adjustment status of the storage resources allocated by the storage switch to the server host; and adjust the power supply status of each storage component by the power supply component to match the resource adjustment information.
2. The server according to claim 1, characterized in that: The control component comprises: a first control machine and a second control machine, the first control machine is connected to the second control machine, the first control machine is connected to the server host, and the second control machine is connected to the power supply component; The first control machine is used to detect the resource adjustment information according to the resource allocation information of the server host, wherein the resource allocation information is used to indicate the storage resources allocated by the storage switch to the server host; convert the resource adjustment information into state change information, wherein the state change information is used to indicate the target storage component of the plurality of storage components whose usage status on the server host has changed; and send the state change information to the second control machine; The second control machine is used to adjust the power supply state of the power supply component to the target storage component according to the state change information.
3. The server according to claim 2, characterized in that: The first control machine is used for: Collecting the current resource allocation information from the server host; Comparing the current resource allocation information with the resource allocation information collected last time; When the current resource allocation information is consistent with the resource allocation information collected last time, determining that the resource adjustment information is first adjustment information, wherein the first adjustment information is used to indicate that the storage resources allocated by the storage switch to the server host have not been adjusted; When the current resource allocation information is inconsistent with the resource allocation information collected last time, the resource adjustment information is determined to be second adjustment information, wherein the second adjustment information is used to indicate that the storage resources allocated by the storage switch to the server host have been adjusted.
4. The server according to claim 3, characterized in that: The first control machine is used for: In a case where the resource adjustment information is first adjustment information, converting the first adjustment information into first change information, wherein the first change information is used to indicate that the target storage component is not included in the plurality of storage components, and the state change information includes the first change information; In the case where the resource adjustment information is the second adjustment information, the target storage component is extracted from the current resource allocation information and the resource allocation information collected last time to obtain second change information, wherein the second change information is used to indicate that the usage status of the target storage component among the multiple storage components on the server host has changed, and the status change information includes the second change information.
5. The server according to claim 4, characterized in that: The first control machine is used for: Determine a first storage component set currently used by the server host according to the current resource allocation information, and determine a second storage component set last used by the server host according to the resource allocation information collected last time; Calculating the union and intersection of the first storage component set and the second storage component set; A difference set between the union and the intersection is calculated, wherein the storage component in the difference set is the target storage component.
6. The server according to claim 2, characterized in that: The second control machine comprises: a first controller and a second controller, the first controller is connected to the second controller, the first controller is connected to the first control machine, and the second controller is connected to the power supply component; The first controller is used to generate a power supply control signal for each storage component according to the state change information; The second controller is used to transmit the power supply control signal to the power supply component.
7. The server according to claim 6, characterized in that: The second controller includes: a first device and a second device, the first device is connected to the storage switch, the second device is connected to the plurality of storage components, the first device is connected to the first controller, and the second device is also connected to the power supply component; The first controller is further used to write the power supply control signal into the first device; The first device is used to transmit the power supply control signal to the second device through the connection between the storage switch and the plurality of storage components; The second device is used to transmit the power supply control signal to the power supply component.
8. The server according to claim 7, characterized in that: A plurality of first cable interfaces are deployed on the storage switch, a second cable interface is deployed on each of the plurality of storage components, the first cable interfaces are connected to the second cable interfaces in a one-to-one correspondence, the first device is connected to a power supply control pin of each of the first cable interfaces, and the second device is connected to a power supply control pin of each of the second cable interfaces; The first device is used to transmit the power supply control signal corresponding to each storage component to the second device through the first cable interface corresponding to each storage component according to the corresponding relationship between each first cable interface and each storage component; The second device is used to receive the power supply control signal corresponding to each of the storage components from each of the second cable interfaces, and transmit the power supply control signal to the power supply component.
9. The server according to claim 8, characterized in that: A plurality of enabling terminals are disposed on the power supply component, and the plurality of enabling terminals correspond one to one with the plurality of storage components; The second device is connected to the plurality of enable terminals, and the power supply control signal corresponding to each of the storage components includes an enable signal corresponding to each of the storage components; The second device is used to transmit the enable signal corresponding to each of the storage components to the enable terminal corresponding to each of the storage components.
10. The server according to claim 9, characterized in that A plurality of storage bits are created in the first device, the plurality of storage bits corresponding one-to-one to the plurality of storage components; The first controller is used to write the power supply control signal corresponding to each storage component into the storage bit corresponding to each storage component; The first device is used to transmit the data on the storage bit corresponding to each storage component to the second device through the first cable interface corresponding to each storage component; The second device is used to control the enabling end corresponding to each storage component according to the data transmitted on the second cable interface corresponding to each storage component.
11. The server according to claim 1, characterized in that: The power supply component includes a plurality of first power supply modules, each of the plurality of first power supply modules is connected to the control component, and each of the first power supply modules is also connected to the plurality of storage components one by one; The control component is used to generate a power supply control signal corresponding to each first power supply module according to the resource adjustment information; The first power supply module is used to supply power to the corresponding storage component according to the power supply control signal.
12. The server according to claim 11, characterized in that The control component is connected to the plurality of first power supply modules in a one-to-one correspondence through a plurality of first power supply channels; The control component is further used to send the power supply control signal to the corresponding first power supply module through each of the first power supply channels.
13. The server according to claim 12, characterized in that: A plurality of signal output terminals are disposed on the control component, an enabling terminal is disposed on each of the first power supply modules, and the plurality of signal output terminals are connected with the corresponding enabling terminals to form the plurality of first power supply channels; The control component is used to send a corresponding enable signal to the corresponding first power supply module through each of the first power supply channels, wherein the power supply control signal includes the enable signal.
14. The server according to claim 11, characterized in that: Each of the storage components includes: a storage controller, and one or more storage units; A power supply port is disposed on each of the first power supply modules, and the power supply port is used to connect the storage controller and the one or more storage units; The first power supply module is used to supply power to the storage controller and the one or more storage units through the power supply port according to the power supply control signal.
15. The server according to claim 14, characterized in that: The power supply port includes: a first port, and one or more second ports, the first port is connected to the storage controller, and the one or more second ports are connected to the one or more storage units in a one-to-one correspondence; The first power supply module is used to convert the power supply voltage into the first input voltage of the storage controller according to the power supply control signal, and provide the first input voltage to the storage controller through the first port; and, according to the power supply control signal, convert the power supply voltage into the second input voltage of the storage unit, and provide the second input voltage to the corresponding storage unit through the corresponding second port.
16. The server according to claim 1, characterized in that The power supply component is also connected to the storage switch; The control component is further used to control the power supply component to supply power to the plurality of storage components when the server host is started; When the plurality of storage components are powered on, the power supply component is controlled to supply power to the storage switch; and when the storage switch is powered on, the server host is controlled to start.
17. The server according to claim 16, characterized in that The power supply component includes: a plurality of first power supply modules and a second power supply module, each of the first power supply modules is also connected to the plurality of storage components one by one; the second power supply module is connected to the storage switch; the plurality of first power supply modules and the second power supply module are both connected to the control component; The control component is used to control the multiple first power supply modules to supply power to the multiple storage components and receive first feedback signals returned by the multiple first power supply modules to obtain multiple first feedback signals when the server host is started; control the second power supply module to supply power to the storage switch and receive the second feedback signal returned by the second power supply module when the multiple first feedback signals are all used to indicate that the corresponding storage components are powered on; and control the server host to start up when the second feedback signal is used to indicate that the storage switch is powered on.
18. The server according to claim 17, characterized in that: The control component is connected to the multiple first power supply modules in a one-to-one correspondence through multiple first power supply channels and multiple first feedback channels, and the control component is connected to the second power supply module through the second power supply channel and the second feedback channel; The control component is used to control the corresponding first power supply module to supply power to the corresponding storage component through the first power supply channel, and receive the first feedback signal returned by the corresponding first power supply module through the corresponding first feedback channel; The control component is further used to control the second power supply module to supply power to the storage switch through the second power supply channel, and receive a second feedback signal returned by the second power supply module through the second feedback channel.
19. The server according to claim 16, characterized in that The control component includes: a third control machine, a fourth control machine and a fifth control machine, the third control machine, the fourth control machine and the fifth control machine are interconnected, the fourth control machine and the fifth control machine are both connected to the power supply component, and the third control machine is connected to the server host; The third control machine is used to control the power supply component to supply power to the multiple storage components through the fifth control machine when the server host has been started; control the power supply component to supply power to the storage switch through the fourth control machine when the multiple storage components are all powered on; and control the server host to start up when the storage switch is powered on.
20. The server according to claim 19, characterized in that The fourth control machine includes: a third device and a fourth device, the third device is connected to the fourth device, the fifth control machine includes: a fifth device and a sixth device, the fifth device is connected to the sixth device, and the third control machine, the third device and the fifth device are interconnected; The power supply component includes: a plurality of first power supply modules and a second power supply module, each of the first power supply modules is also used to be connected to the plurality of storage components in a one-to-one correspondence; the second power supply module is connected to the storage switch, the fourth device is connected to the second power supply module, and the sixth device is connected to all of the plurality of first power supply modules; The third control machine is used to notify the fifth device to supply power to the multiple storage components when the server host is started; notify the third device to supply power to the storage switch when the multiple storage components are all powered on; and control the server host to start when the storage switch is powered on; The fifth device is used to control the plurality of first power supply modules to supply power to the plurality of storage components through the sixth device; The third device is used to control the second power supply module to supply power to the storage switch through the fourth device.
Citation Information
Patent Citations
Server and starting method thereof
CN103777974A
Energy saving method of cold storage servers
CN105278656A
Data Processing System And Method of Operating Same
CN110442303A
Power supply method, hard disk and computing equipment
CN116126127A
Sequence top-and-down electricity system and method for knife sheet type server system initial state
CN1987734A
Cited By
Server
WO2026137987A1