Server, expansion device, and power control method for expansion device

The server's power control system, with an expansion device having a power control unit for independent power management, addresses the lack of host machine independence and inefficient power usage in existing methods by enabling fine-grained power control within the expansion device, reducing power consumption while ensuring performance.

WO2024185065A1PCT designated stage expired Publication Date: 2024-09-12NIPPON TELEGRAPH & TELEPHONE CORP

Patent Information

Application Number
PCT/JP2023/008774
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-08
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

Existing power control methods for expansion devices in computer systems, such as GPUs and FPGAs, are not host machine independent and fail to minimize standby power consumption effectively, as they rely on specific server implementations and interfaces.

Method used

A server with a CPU executing an application program and an expansion device featuring a power control unit that independently manages power supply lines for functional units, allowing on/off control in response to application requests, using power switches to optimize power usage.

Benefits of technology

This approach reduces power consumption of expansion devices without relying on server implementations, ensuring performance requirements are met while minimizing standby power consumption and achieving host machine independence.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023008774_12092024_PF_FP_ABST
    Figure JP2023008774_12092024_PF_FP_ABST
Patent Text Reader

Abstract

A server (100) comprises: a CPU (110) that executes an APL (3); and an expansion device (120) having an arithmetic unit (122) that receives power source supply different from power source supply to the CPU (110) and that adds a function to the server (100). The expansion device (120) is provided with a power source control unit (131) that executes on / off control for each of power source lines #1, #2 for the arithmetic unit (122) in response to a demand from the APL (3), and with power source switches (132, 133) that are provided on the power source lines #1, #2 for supplying power source to the arithmetic unit (122) and that receives a control signal from the power source control unit (131) to perform switching between supplying and cutting-off of the input power source.
Need to check novelty before this filing date? Find Prior Art

Description

Server, expansion device, and method for controlling power supply to an expansion device

[0001] The present invention relates to a server, an expansion device, and a power control method for an expansion device.

[0002] In a computer system, an accelerator (hereinafter referred to as an ACC as appropriate) or an expansion device such as a network interface card (NIC) is connected to a computer (hereinafter referred to as a server). In the concept of a virtual radio access network (vRAN) system, it is assumed that processing of a general-purpose server will be performed using not only a central processing unit (CPU) but also expansion devices such as a field programmable gate array (FPGA), a graphics processing unit (GPU), or an application specific integrated circuit (ASIC).

[0003] The concept of the vRAN system is that general-purpose servers will process data using not only CPUs but also extension devices such as accelerators and GPUs. Since extension devices consume a large amount of power, reducing their power consumption is a particular challenge. The following are conventional technologies for reducing the power consumption of extension devices:

[0004] 11 is a diagram explaining power control in PCI-Express (Peripheral Component Interconnect-Express, hereinafter referred to as PCIe where appropriate) hot plug (see Non-Patent Document 1). A server 1 includes a motherboard 10 equipped with a CPU 11, a hot plug controller 12, and an expansion bus 13, an expansion device 20 equipped with a processing unit 21, and a power supply unit 30 that supplies power to the motherboard 10. The server 1 is equipped with one or more expansion devices 20. The expansion devices 20 are expansion cards such as accelerators and GPUs.

[0005] Existing servers 1 that support the PCIe hot plug function are capable of dynamically shutting down power to some buses. However, because the paths and devices that can be powered down are limited and this function cannot be applied to servers that do not have a power control mechanism, the following points must be kept in mind.

[0006] The hot plug controller 12 dynamically shuts down power using software. The hot plug controller 12 also shuts down multiple power supplies "at once" (symbol a in FIG. 11 ). Because it can shut down power to the entire card, it satisfies the requirement of minimizing standby power consumption. However, because it is limited to devices that support PCIe hot plug, it does not satisfy the requirement of host machine independence, i.e., versatility.

[0007] FIG. 12 is a diagram illustrating power control for a laptop PC (Personal Computer). A technology for a laptop PC's GPU that cuts off power supply to the GPU when it is not in use exists (see, for example, https: / / www.nvidia.com / en-us / geforce / technologies / optimus / technology / ; this corresponds to Non-Patent Document 1, which cites this as an implementation example of PCIe Hotplug). A laptop PC 2 equipped with an external GPU includes a GPU driver 41 and an ACPI (Advanced Configuration and Power Interface) 42 on an OS 40, and a CPU 51, an on-board GPU 52, and a power control unit 53 on a motherboard 50. The laptop PC 2 equipped with an external GPU supplies power to the external GPU (GPU 52) only when high performance is required (for example, when playing games).

[0008] The GPU driver 41 controls the GPU 52 and also controls the power supply to the GPU 52 using the ACPI 42 .

[0009] The ACPI 42 references the ACPI table 60 to control the power supply status (AC adapter or battery), temperature, and GPU power supply to the PC. The ACPI table 60 is initialized by the BIOS (Basic Input Output System) at startup. Because the ACPI 42 is highly dependent on the BIOS implementation, the PC must be designed with the inclusion of this technology in mind. Therefore, the ACPI 42 does not satisfy the requirement for host machine independence. That is, like the PCIe hot plug-compatible server 1 shown in FIG. 11 , the ACPI 42 does not satisfy the requirement for host machine independence because its BIOS implementation is host machine-dependent. Furthermore, the laptop PC 2 equipped with an external GPU is a custom-designed PC equipped with a GPU, and therefore also does not satisfy the requirement for host machine independence.

[0010] Meanwhile, the power supply control unit 53 receives an instruction from the ACPI 42 and cuts off the power supply to the onboard GPU 52 (symbol b in FIG. 12 ). The power supply control unit 53 combines the on / off of the GPU 52 through power supply control with the power control function of the GPU 52 itself to optimize power consumption according to demand. This satisfies the requirement to minimize standby power consumption.

[0011] PRIMECLUSTER Global Link Services Manual 4.1 (Redundant Line Control Function) (Linux), [online], [Retrieved February 11, 2023], Internet: https: / / software.fujitsu.com / jp / manual / manualfiles / M050011 / J2UZ5341 / 06Z2B / hanet05 / hanet109.htm

[0012] However, as mentioned in Figures 11 and 12, power saving in expansion devices depends on the specifications of the server and the interface, making it difficult to use for general purposes. In other words, the issues are that power control must be achieved by the expansion device itself, independent of the specifications of the arithmetic circuit unit or the server (Requirement 1: Host machine independence), and that the power consumption of the expansion device must be kept to a minimum relative to the usage requests from the application (Requirement 2: Power saving).

[0013] The present invention was made in light of this background, and its objective is to reduce the power consumption of expansion devices without relying on the server implementation and while ensuring the performance required by application programs.

[0014] In order to solve the above-mentioned problems, a server is provided which comprises a CPU which executes an application program, and an expansion device which receives a power supply different from the power supply supplied to the CPU and has a functional unit for adding functions to the server, wherein the expansion device comprises a power control unit which performs on / off control for each power line for the functional unit in response to a request from the application program, and a switch which is provided on the power line which supplies power to the functional unit and receives a control signal from the power control unit to switch between supplying and cutting off the input power.

[0015] According to the present invention, it is possible to reduce the power consumption of expansion devices without relying on the implementation of the server, while ensuring the performance required by application programs.

[0016] FIG. 1 is a schematic configuration diagram of a power supply control system according to a first embodiment of the present invention. FIG. 1 is a diagram of the power supply control system of FIG. 1 as viewed from the perspective of software running on a server CPU. FIG. 2 is a diagram showing, in a table, an example of the power supply states of the PCIe slot power supply and the expansion connector power supply of the server according to the first embodiment of the present invention. FIG. 3 is a diagram showing an expansion device using PCIe and SMBus of the server according to the first embodiment of the present invention. FIG. 4 is a diagram showing an expansion device using PCIe of the server according to the first embodiment of the present invention. FIG. 5 is a flowchart showing the procedure for transitioning the server to a power saving state (power on → off) according to the first embodiment of the present invention. FIG. 6 is a flowchart showing the procedure for returning the server from a power saving state to a normal state (power off → on) according to the first embodiment of the present invention. FIG. 7 is a diagram showing an expansion device using PCIe of the server according to a second embodiment of the present invention. FIG. 8 is a diagram explaining the operating states of the expansion device of the server according to the second embodiment of the present invention. FIG. 9 is a hardware configuration diagram showing an example of a computer that realizes the functions of the server according to the first and second embodiments of the present invention. FIG. 10 is a diagram explaining power supply control in PCI-Express hot plug. FIG. 11 is a diagram explaining power supply control of a laptop PC.

[0017] A server power control system and the like according to an embodiment of the present invention (hereinafter referred to as "the present embodiment") will be described below with reference to the drawings. (First Embodiment) [Overall Configuration] Fig. 1 is a schematic configuration diagram of a power control system according to a first embodiment of the present invention. Fig. 1 is a diagram showing the power control system in a layered structure. As shown in Fig. 1, the power control system 1000 includes a server 100 arranged in hardware 70, an extended device manager 150, an operation instruction unit 151, and a power control instruction unit 153 on an OS / driver 80, and user applications and APL3 (application program) which is high-speed data transfer middleware arranged in a user space 90.

[0018] The server 100 comprises a CPU 110 mounted on a motherboard 111, an expansion device 120 having an arithmetic circuit unit 121 and a power supply circuit unit 130, and a power supply unit 140 that supplies power to the power supply circuit unit 130. The CPU 110 executes APL3 (application program). The CPU 110 operates on power supplied from a power supply board (power supply unit; not shown) connected to the motherboard 111.

[0019] The expansion device 120 receives a power supply different from that supplied to the CPU 110 and has a processing unit 122 (functional unit) for adding functions to the server 100 (details will be described later). The processing unit 122 is included in the processing circuit unit 121. The processing circuit unit 121 also includes a processing unit communication unit 123 (FIG. 2) (described later). The processing unit 122 is a calculation unit hardware that performs specific calculations at high speed based on input from the CPU 110. Specifically, the processing unit 122 is an accelerator such as a GPU, FPGA, or PLD.

[0020] In this embodiment, the calculation unit 122 is used as an example of a functional unit for adding a function to the server 100, but as long as it is used to add a function to the server 100, it is not limited to the above-mentioned accelerator and may be, for example, a NIC.

[0021] Fig. 2 is a diagram of the power supply control system 1000 of Fig. 1 as viewed from the perspective of software 160 running on the CPU 110 of the server 100. The CPU 110 of the server 100 of Fig. 1 executes the software 160 of Fig. 2. The software 160 is implemented in userland (here, user space 90) other than the OS kernel, and is executed by the CPU 110. Fig. 2 shows an example in which the software 160 is implemented in userland, but the software may also be implemented in the kernel.

[0022] The software 160 includes an APL3, an extended device management unit 150 in which the APL3 performs software control, an operation instruction unit 151, a power supply control unit communication unit 152 that communicates with the operation circuit unit 121 of the server 100 under the software control of the operation instruction unit 151, a power supply control instruction unit 153, and a power supply control unit communication unit 154 that communicates with the power supply circuit unit 130 of the server 100 under the software control of the power supply control instruction unit 153.

[0023] <APL3> APL3 is software that uses the processing unit 122 of the expansion device 120. APL3 uses the expansion device 120 via the expansion device management unit 150.

[0024] <Expansion device management unit 150> The expansion device management unit 150 provides APL3 with an API (Application Programming Interface) for using the expansion device 120. The expansion device management unit 150 provides APL3 with power saving for the expansion device 120 as an API, and changes the power state by calling this API. The expansion device management unit 150 defines three power states as shown in the table in Fig. 3, and APL3 issues instructions for the power state.

[0025] FIG. 3 is a table showing examples of the power supply states of the PCIe slot power supply and the expansion connector power supply. As shown in FIG. 3, when the expansion device power supply state is "maximum performance," the PCIe slot power supply is "on," the expansion connector power supply is "on," and the operating clock is "maximum." When the expansion device power supply state is "standby," the PCIe slot power supply is "off," the expansion connector power supply is "off," and the operating clock is "none." When the expansion device power supply state is "degraded," the PCIe slot power supply is "on," the expansion connector power supply is "off," and the operating clock is "low." The degraded operation will be described later with reference to FIGS. 8 and 9.

[0026] The extended device management unit 150 stops the arithmetic circuit unit 121 through a lower driver in order to switch the device to a power-saving state. The extended device management unit 150 executes device-specific processing that is called when the power state is changed, in the order of the arithmetic instruction unit 151 and the power control instruction unit 153. The extended device management unit 150 also performs initialization by the arithmetic instruction unit 151 and power on / off instructions by the power control instruction unit 153 to the arithmetic circuit unit 121.

[0027] <Calculation instruction unit 151> The calculation instruction unit 151 sends power supply state change notifications from the expansion device management unit 150 to the power supply circuit unit 130 via the SMBus (System Management Bus), and also detects abnormalities in the power supply circuit unit 130. An implementation example of sending power supply state change notifications via the SMBus will be described later in Figure 4. The calculation instruction unit 151 is a device driver for handling the calculation circuit unit 121 of the expansion device 120. The calculation instruction unit 151 controls the start and stop of calculations, monitoring, etc., and transfers data to and from the host machine.

[0028] In this embodiment, the calculation instruction unit 151 instructs the calculation circuit unit 121 to control (execute calculations, stop calculations, and read status), and also instructs the movement of calculation target data between the server 100 and the expansion device 120 using DMA (Direct Memory Access). The calculation instruction unit 151 also has power-saving functions such as changing the operation clock specific to the calculation circuit unit 121 and limiting maximum power consumption. These functions are invoked when the power state is changed and before the power circuit unit 130 shuts down the power. The calculation instruction unit 151 switches to degenerate operation, which limits maximum power consumption to a specified range, and, if power is to be shut down, saves data being calculated and prepares to disconnect the calculation circuit unit 121.

[0029] <Power supply control instruction unit 153> The power supply control instruction unit 153 is a device driver that instructs the power supply control unit 131 of the power supply circuit unit 130 to control the power supply. The power supply control instruction unit 153 abstracts the operation of instructing the arithmetic circuit unit 121 to turn on / off the power supply and instructs the power supply control unit 131.

[0030] [Expansion Device 120] The expansion device 120 is hardware that implements specific functions and is connected to expand the functionality of the server 100. The expansion device 120 is composed of an arithmetic circuit unit 121, which is composed of hardware that achieves the desired function, and a power supply circuit unit 130 that monitors and controls the power supplied to the arithmetic circuit unit 121. The power required for operation of the expansion device 120 is supplied directly from the connected server 100, or an external power supply can be directly connected to the expansion device 120 itself. Specifically, the expansion device 120 includes a GPU, FPGA, or ASIC as the arithmetic circuit unit 121, and an expansion card equipped with a microcontroller or load switch that functions as the power supply circuit unit 130.

[0031] The expansion device 120 is assumed to be implemented as a PCIe-compliant expansion card. The power supply unit 140 supplies standby power (3.3 VAUX) defined by the PCIe-compliant standard to the expansion device 120, ensuring that power is not interrupted regardless of the power status of the server 100 or the arithmetic circuit unit 121.

[0032] The power supply control unit 131 of the expansion device 120 is assumed to be a microcontroller connected to the SMBus of the PCIe slot. In response to a power supply state change command from the software 160 (FIG. 2), the power supply control unit 131 switches the on / off state of each power switch according to the definitions in the table of FIG.

[0033] In this way, in the expansion device 120 , the power control unit 131 exists independently of the CPU 110 and the power supply unit to the CPU 110 , and supplies a predetermined power to the processing unit 122 regardless of the power state of the CPU 110 and processing unit 122 .

[0034] <Arithmetic Circuit Unit 121> The arithmetic unit 122 realizes the intended functions of the expansion device 120. The arithmetic unit 122 is an accelerator such as a GPU, FPGA, or ASIC that can be used from APL3.

[0035] [Power Supply Circuit Section 130] The power supply circuit section 130 converts the power from the power supply unit 140 into a predetermined power supply and supplies it to the arithmetic circuit section 121. The power supply circuit section 130 includes a power supply control section 131, power supply lines #1 and #2, and power switches 132 and 133 that cut off the power supply lines #1 and #2.

[0036] <Power Supply Control Unit 131> In response to a request from APL 3, the power supply control unit 131 outputs a power supply control signal for turning on / off power switches 132 and 133 on power lines #1 and #2 to the calculation unit 122. The power supply control unit 131 also monitors the voltage to and power consumption of the calculation unit 122.

[0037] Specifically, the power supply control unit 131, in response to instructions from software 160 (FIG. 2), turns on / off the power supplied to the arithmetic circuit unit 121 for each of power lines #1 and #2, and monitors the voltage, power consumption, etc. The power supply control unit 131 switches on / off the power supplied to the arithmetic circuit unit 121 by switching a power control signal connected to power switches 132 and 133. The power supply control unit 131 is installed integrally with the arithmetic circuit unit 121 on the expansion device 120, but is considered an independent device from the arithmetic circuit unit 121 by the server 100, and is always available even if the power supply is cut off and the arithmetic circuit unit 121 becomes unavailable to the server 100.

[0038] <Power Switches 132, 133> The power switches 132, 133 are load switches that switch between supplying and cutting off the input power based on the state of a power control signal. Specifically, the power switches 132, 133 can be configured to use a mechanical relay, a module called an SSR (Solid State Relay), or a discrete MOSFET (Metal-Oxide-Semiconductor Field Effect Transistor). The power switches 132, 133 can be provided on each of the power lines #1, #2. Alternatively, the power inputs can be combined into one, and the power control unit 131 can limit the output power capacity based on the input power capacity. The power switches 132, 133 are provided on the power lines #1, #2 that supply power to the calculation unit 122, and switch between supplying and cutting off the input power in response to a control signal from the power control unit 131.

[0039] [Power Supply Unit 140] The power supply unit 140 supplies the necessary power from the input power source to each component in the server 100. Specifically, the power supply unit 140 corresponds to the power supply unit of the server 100 main body, and supplies power to the motherboard and the expansion power connector of the PCIe expansion card corresponding to the expansion device 120. The power supply unit 140 supplies standby power to the power supply control unit 131. The power supply unit 140 supplies PCIe slot power to the arithmetic circuit unit 121 via power line #1 and power switch 132. The power supply unit 140 supplies expansion power to the arithmetic circuit unit 121 via power line #2 and power switch 133.

[0040] [Implementation Example of Expansion Device 120] An implementation example of the expansion device 120 will be described.

[0041] <Implementation Example 1> Figure 4 shows an expansion device 120A that uses PCIe and SMBus. The expansion device 120A is an implementation example of the expansion device 120 in Figures 1 and 2. As shown in Figure 4, the expansion device 120A comprises an arithmetic circuit unit 121A and a power supply circuit unit 130. The arithmetic circuit unit 121A comprises an arithmetic unit 122A consisting of an FPGA / ASIC, and a VRM (Voltage Regulator Module) 124A. The power supply of the arithmetic unit 122A is controlled by the PCIe hot plug function from the power supply control unit communication unit 152 (Figure 2). The VRM 124A converts the power supplied from the power supply circuit unit 130 into a specified power supply voltage used by the arithmetic unit 122A and supplies it stably.

[0042] The power supply circuit section 130 includes a power supply control section 131, which is made up of a microcontroller, and a power switch 132. The power supply control section 131 receives power from the power supply unit 140 (FIGS. 1 and 2) and also receives an SMBus signal from the power supply control section communication section 154 (FIG. 2). The SMBus is a two-wire serial bus interface consisting of a clock signal line and a data signal line. Each device connected to the bus has a unique address, and the SMBus communicates between devices in a P2P (Peer-to-Peer) manner based on this address.

[0043] In this implementation example, the microcontroller corresponding to the power supply control unit 131 is connected to the SMBus, and the arithmetic circuit unit 121A is connected to the host machine via PCIe. When the arithmetic circuit unit 121A is powered off by an instruction to the power supply control unit 131 to transition to a power saving state, PCIe becomes unavailable and only instructions can be sent to the power supply control unit 131 via the SMBus.

[0044] <Implementation Example 2> Fig. 5 is a diagram showing an expansion device 120B that uses PCIe. The expansion device 120B is an implementation example of the expansion device 120 in Figs. 1 and 2. As shown in Fig. 5, the expansion device 120B comprises an arithmetic circuit unit 121B, a power supply circuit unit 130, and a PCIe bridge 135. The arithmetic circuit unit 121B comprises an arithmetic unit 122B made up of an FPGA / ASIC, and a VRM 124B. The power supply of the arithmetic unit 122B is controlled by the PCIe hot plug function from the PCIe bridge 135.

[0045] In this implementation example, the power supply control unit 131 (microcontroller) is connected via a PCIe bridge 135 through a branched PCIe.

[0046] The operation of the server 100 of the power supply control system 1000 configured as described above will be described below. [Power Supply State Change Procedure] The power supply state change procedures ("standby," "maximum performance," and "degraded") will be described. - Standby (power off of calculation unit 122) In Figures 1 and 2, when APL 3 instructs the expansion device management unit 150 to transition to the standby state, the calculation instruction unit 151 first ends the calculation being executed, saves temporary data, and prepares for removal of the PCIe endpoint of the calculation circuit unit 121.

[0047] Next, the power supply control instruction unit 153 instructs the power supply control unit 131 (microcontroller) to transition to a standby state by using an SMBus command (register write). As a result, the on / off states of the load switches of the power switches 132 and 133 are switched to a state (all off) corresponding to the "standby" power state shown in Figure 3, and power to the arithmetic circuit unit 121 is cut off. At this point, the arithmetic circuit unit 121 becomes unrecognizable by the software 160 (Figure 2).

[0048] Maximum performance (power on) When APL3 instructs the expansion device manager 150 to transition to the maximum performance state, the power control instruction unit 153 first instructs the power control unit 131 (microcontroller) to transition to the power on state for the power circuit unit 130 using an SMBus command (register write). This switches the on / off state of the load switches of the power switches 132 and 133 to the state (all on) corresponding to the "maximum performance" power state shown in Figure 3, and power is supplied to the arithmetic circuit unit 121.

[0049] Next, the arithmetic instruction unit 151 redetects and initializes the PCIe endpoint of the arithmetic circuit unit 121, saves temporary data (this is only done when transitioning from a power-off state), and switches the operating clock to the maximum.

[0050] Degradation When transitioning from a maximum performance state to a degraded state, the procedure for transitioning to the degraded state differs depending on whether the transition is from (1) a power-on state or (2) a power-off state, in order to ensure that the power consumption of the calculation unit 122 is less than the maximum power that can be supplied.

[0051] (1) When transitioning from a power-on state, the calculation instruction unit 151 switches the operating clock to a speed that keeps the power consumption within the power that can be supplied from the slot, and instructs the power supply circuit unit 130 to transition to a degenerated state, causing the load switch to turn on only the slot power.

[0052] (2) When transitioning from the power-off state: The system first transitions to the maximum performance state described above, and then transitions to the degraded state in accordance with (1) above when transitioning from the power-on state. The power state change procedure has been described above. Next, an example of the processing of the extended device management and utilization function will be described.

[0053] 6 is a flowchart showing the procedure for transitioning to a power-saving state (power on → power off). In step S11, the extended device management unit 150 releases the driver for the processing unit 122. This terminates the device driver and puts the resources into an unused state.

[0054] In step S12, the power supply control instruction unit 153 releases the PCIe device of the computing unit 122. By releasing the resource, the PCIe device becomes invisible to the OS.

[0055] In step S13, the power supply control unit 131 instructs the processor 122 to power off, and then ends this flow. By powering off the processor 122, the PCIe link is down and the processor 122 transitions to a power saving state.

[0056] 7 is a flowchart showing the procedure for returning from the power saving state to the normal state (power OFF → power ON). In step S21, the power control unit 131 instructs the processor 122 to be powered ON. This restores power to the processor 122 devices, resulting in a PCIe link-up.

[0057] In step S22, the power supply control instruction unit 153 scans for PCIe devices, detects the PCIe devices, and allocates resources to them.

[0058] In step S23, the expansion device manager 150 registers the driver for the processor 122 and ends this flow, thereby completing the initialization of the PCIe device.

[0059] Second Embodiment FIG. 8 is a diagram showing an expansion device 120C using PCIe in a server according to a second embodiment of the present invention. The expansion device 120C is an implementation example of the expansion device 120 shown in FIGS. 1 and 2. This embodiment is an example of degenerate operation using control of power lines #1 and #2. As shown in FIG. 8, the expansion device 120C comprises an arithmetic circuit unit 121C, a power supply circuit unit 130C, and a PCIe bridge 135. The arithmetic circuit unit 121C comprises an arithmetic unit 122C consisting of an FPGA / ASIC, a VRM 124C, and RAM 125C. The power supply of the arithmetic unit 122C is controlled by the PCIe hot plug function from the PCIe bridge 135. The power supply circuit unit 130C comprises a power supply control unit 131 consisting of a microcontroller and multiple power switches 132C.

[0060] The expansion device 120C is provided with a plurality of power switches 132C, a VRM 124C, and a computing unit 122C, and is configured to have a degenerate operation mode added in addition to powering on / off the computing unit 122C.

[0061] Figure 9 is a diagram explaining the operating state of the expansion device 120C in Figure 8. When the power switch 132C is fully OFF, the maximum power capacity [W] is 0 and operation is in "power saving mode." Also, when this switch state is fully OFF, no memory is retained by the RAM 125C. When the power switch 132C is in the 3.3V AUX only state, the maximum power capacity [W] is approximately 1W and operation is in "standby" mode. Also, when this switch state is in the 3.3V AUX only state, the memory contents of the RAM 125C are retained.

[0062] When the switch state of the power switch 132C is slot power supply, the maximum power capacity [W] is approximately 75W, and operation is "degenerate operation." Also, when this switch state is slot power supply, the expansion device 120C operates with power consumption limited. When the switch state of the power switch 132C is slot power supply and expansion power supply, the maximum power capacity [W] is 75W + 250W, and operation is "maximum performance."

[0063] In this way, the expansion device 120C is provided with a power switch 132C for each power supply path (slot, expansion power supply) or each arithmetic circuit unit 121C, and determines which arithmetic circuit unit 121C to operate according to the required performance. Furthermore, by using the standby power supply to transition the on-board memory to self-refresh mode, a function is implemented to retain the contents of the memory when the power supply to the arithmetic circuit unit 121C is stopped.

[0064] [Hardware Configuration] The server 100 according to each of the above embodiments is realized by a computer 900 having a configuration such as that shown in Fig. 10. Fig. 10 is a hardware configuration diagram showing an example of a computer 900 that realizes the functions of the server 100. The computer 900 has a CPU 901, RAM 902, ROM 903, HDD 904, accelerator 905, input / output interface (I / F) 906, media interface (I / F) 907, and communication interface (I / F) 908. The accelerator 905 corresponds to the arithmetic unit 122 of the arithmetic circuit unit 121 of the expansion device 120 of the server 100 shown in Figs. 1 and 2.

[0065] The accelerator 905 is the calculation unit 122 (FIGS. 1 and 2) that processes at least one of data from the communication I / F 908 and data from the RAM 902 at high speed. Note that the accelerator 905 may be of a type (look-aside type) that executes processing from the CPU 901 or RAM 902 and then returns the execution result to the CPU 901 or RAM 902. On the other hand, the accelerator 905 may be of a type (in-line type) that performs processing between the communication I / F 908 and the CPU 901 or RAM 902.

[0066] The accelerator 905 is connected to an external device 915 via a communication I / F 908. The input / output I / F 906 is connected to an input / output device 916. The media I / F 907 reads and writes data from and to a recording medium 917.

[0067] The CPU 901 operates based on a program stored in the ROM 903 or HDD 904, and controls each part of the server 100 shown in Figures 1 and 2 by executing a program (also called an application or an app for short) loaded into the RAM 902. This program can also be distributed via a communication line or recorded on a recording medium 917 such as a CD-ROM. The ROM 903 stores a boot program executed by the CPU 901 when the computer 900 starts up, programs that depend on the hardware of the computer 900, and the like.

[0068] The CPU 901 controls an input / output device 916, which is made up of input units such as a mouse and a keyboard, and output units such as a display and a printer, via an input / output I / F 906. The CPU 901 acquires data from the input / output device 916 via the input / output I / F 906, and outputs generated data to the input / output device 916. Note that a GPU (Graphics Processing Unit) or the like may be used as a processor together with the CPU 901.

[0069] The HDD 904 stores programs executed by the CPU 901 and data used by the programs. The communication I / F 908 receives data from other devices via a communication network (e.g., NW (Network)) and outputs the data to the CPU 901, and also transmits data generated by the CPU 901 to other devices via the communication network.

[0070] The media I / F 907 reads a program or data stored in a recording medium 917 and outputs it to the CPU 901 via the RAM 902. The CPU 901 loads a program related to a target process from the recording medium 917 onto the RAM 902 via the media I / F 907, and executes the loaded program. The recording medium 917 is an optical recording medium such as a DVD (Digital Versatile Disc) or a PD (Phase Change Rewritable Disc), a magneto-optical recording medium such as an MO (Magneto Optical Disc), a magnetic recording medium, a conductive memory tape medium, or a semiconductor memory.

[0071] For example, when the computer 900 functions as the server 100 configured as one device according to this embodiment, the CPU 901 of the computer 900 executes a program loaded onto the RAM 902 to realize the functions of the server 100. Furthermore, the HDD 904 stores data in the RAM 902. The CPU 901 reads and executes a program related to a target process from the recording medium 917. Alternatively, the CPU 901 may read a program related to a target process from another device via a communication network.

[0072] [Effects] As described above, the server 100 comprises a CPU 110 (FIG. 1) that executes an application program (APL3), and an expansion device 120 (FIGS. 1 and 2) that receives a power supply different from the power supply to the CPU 110 and has a functional unit (arithmetic unit 122) for adding functions to the server 100 (FIGS. 1 and 2), and the expansion device 120 comprises a power control unit 131 that performs on / off control for each of the power lines #1 and #2 for the functional unit in response to a request from the application program, and power switches 132 and 133 that are provided on the power lines #1 and #2 that supply power to the functional unit and that receive a control signal from the power control unit 131 to switch between supplying and cutting off the input power.

[0073] In this way, the server 100 (FIGS. 1 and 2) can complete power control in response to requests from application programs within the expansion device 120 by using the power control unit 131 and power switches 132 and 133 provided within the expansion device 120. In other words, a power-saving state is achieved that is complete within the expansion device 120. Because power control is handled by the expansion device 120 alone, power control of the functional unit (the processing unit 122) can be performed without depending on the specifications of the processing circuit unit 121 or the server 100. This allows the server 100 to meet the requirement of being "host machine independent."

[0074] Furthermore, the server 100 (FIGS. 1 and 2) can control power supply according to requests (demands) from application programs by providing a power supply control unit 131 in the expansion device 120 that can turn on / off the power supplied to the functional unit (computing unit 122) for each of power lines #1 and #2. That is, the server 100 separates the power supply for the functional unit (computing unit 122) in the expansion device 120, and the power supply control unit 131 controls the on / off of each of power lines #1 and #2 individually according to requests (demands) from the application programs. This allows power supply control from the application programs, and by providing detailed power control according to requests (demands) from the application programs, the server 100 can meet the requirement of "minimizing standby power consumption."

[0075] As a result, the server 100 is able to reduce (ideally minimize) the power consumption of the expansion device 120 without relying on the server implementation and while ensuring the performance required by the application program.

[0076] In the server 100 (FIGS. 1 and 2), the functional unit (the computing unit 122) is an accelerator or a NIC that executes specific processing of an application program.

[0077] By doing this, the server 100 (Figures 1 and 2) can control power supply in accordance with requests (demands) from application programs, regardless of whether the functional unit is an accelerator such as a GPU, FPGA, or PLD, or a NIC.

[0078] The server 100 (Figure 2) is equipped with a motherboard 111 on which the CPU 110 is placed, and the expansion device 120 has a power supply control unit 131 that exists independently of the power supply to the CPU 110 mounted on the motherboard 111, and supplies a specified power supply to the processing unit 122 regardless of the power state of the CPU 110 and the processing unit 122.

[0079] By doing this, the server 100 (Figure 1) can complete power control in response to requests from application programs within the expansion device 120 without being affected by the power supply status to the CPU 110, and can perform power control of the functional unit (arithmetic unit 122) without depending on the specifications of the arithmetic circuit unit 121 or the server 100.

[0080] In the server 100 (FIGS. 1 and 2), the expansion device 120B (FIG. 5) is implemented as an expansion card conforming to PCI-Express, and the power supply control unit 131 is a microcontroller connected to the SMBus of the PCI-Express slot. The power supply control unit 131 supplies standby power as defined by the PCI-Express standard to the processing unit 122 regardless of the power state of the CPU 110 and the processing unit 122.

[0081] By doing this, the expansion device 120B (power control unit 131) allows the microcontroller connected to the SMBus of the PCI-Express slot to perform power control in response to requests from application programs.

[0082] The server 100 (FIG. 1) has software 160 (FIG. 2) that is implemented in the OS or userland and executed by the CPU 110. The software 160 provides power saving for the expansion device 120 to the application program as an API, and also has an expansion device management unit 150 (FIG. 2) that instructs the power control unit 131 on the power status based on the API call of the application program.

[0083] By doing so, the server 100 (extended device manager 150) (FIG. 1) can use API calls to simplify and generalize the creation of power control programs, making them easy to implement.

[0084] The expansion device 120 (FIGS. 1 and 2) has an operating unit 122 for adding functions to the server 100 (FIGS. 1 and 2), and is equipped with a power supply control unit 131 that performs on / off control for each of the power supply lines #1 and #2 for the functional unit (operating unit 122) in response to a request from an application program, and power switches 132 and 133 that are provided on the power supply lines #1 and #2 that supply power to the functional unit, and that receive a control signal from the power supply control unit 131 and switch between supplying and cutting off the input power.

[0085] In this way, the expansion device 120 can control the power supply to the functional unit (the calculation unit 122) without depending on the specifications of the calculation circuit unit 121 or the server 100. Furthermore, the power supply control unit 131 individually controls the on / off of each power supply line #1, #2 in response to requests (demands) from the application program, allowing the expansion device 120 to perform fine-tuned power supply control in response to requests (demands) from the application program. As a result, the expansion device 120 can reduce (ideally minimize) its own power consumption without depending on the implementation of the server 100, while still ensuring the performance required by the application program.

[0086] The expansion device 120B (Figure 5) is implemented in the server 100 as an expansion card conforming to PCI-Express, and the power supply control unit 131 is a microcontroller connected to the SMBus of the PCI-Express slot. The power supply control unit 131 supplies standby power as defined by the PCI-Express standard to the functional unit (calculation unit 122) regardless of the power state of the functional unit (calculation unit 122).

[0087] By doing this, when the expansion device 120B is implemented in the server 100 as a PCI-Express compliant expansion card, the power supply control unit 131 allows the microcontroller connected to the SMBus of the PCI-Express slot to perform power control in response to requests from the application program.

[0088] Furthermore, the above-described configurations, functions, processing units, processing means, etc. may be partially or entirely implemented in hardware, for example, by designing them as integrated circuits. The above-described configurations, functions, etc. may also be implemented by software that causes a processor to interpret and execute programs that implement the respective functions. Information such as programs, tables, and files that implement the respective functions may be stored in a memory, a recording device such as a hard disk or a solid-state drive (SSD), or a recording medium such as an integrated circuit (IC) card, a secure digital (SD) card, or an optical disk.

[0089] 3 APL (application program) 70 Hardware 80 OS / driver 90 User space 100 Server 111 Motherboard 110 CPU 120, 120A, 120B Expansion device 121, 121A, 121B Arithmetic circuit unit 122, 122A, 122B Arithmetic unit (functional unit) 124A, 124B VRM 130 Power supply circuit unit 131 Power supply control unit 132, 133 Power switch 135 PCIe Bridge 140 Power supply unit 150 Expansion device management unit 151 Arithmetic instruction unit 152 Power supply control unit communication unit 153 Power control instruction unit 154 Power supply control unit communication unit 160 Software 1000 Power supply control system #1, #2 Power line

Claims

1. A server comprising a CPU (Central Processing Unit) that executes an application program, and an expansion device that receives a power supply different from the power supply to the CPU and has a functional unit for adding functions to the server, wherein the expansion device comprises a power control unit that performs on / off control for each power line for the functional unit in response to a request from the application program, and a switch that is provided on the power line that supplies power to the functional unit and receives a control signal from the power control unit to switch between supplying or cutting off the input power.

2. The server according to claim 1, wherein the functional unit is an accelerator that executes specific processing of an application program, or a NIC (Network Interface Card).

3. A server as described in claim 1, comprising a motherboard on which the CPU is placed, wherein the expansion device is characterized in that the power control unit exists independently of the power supply to the CPU mounted on the motherboard and supplies a specified power to the functional unit regardless of the power supply state of the CPU and the functional unit.

4. The server described in claim 1, characterized in that the expansion device is implemented as an expansion card compliant with PCI-Express, the power supply control unit is a microcontroller connected to the SMBus (System Management Bus) of a PCI-Express slot, and the power supply control unit supplies standby power defined by the PCI-Express standard to the functional unit regardless of the power supply state of the CPU and the functional unit.

5. A server as described in claim 1, characterized in that it has software implemented in an OS (Operating System) or user space and executed by the CPU, the software having an extended device management unit that provides power saving of the extended device to the application program as an API (Application Programming Interface) and instructs the power control unit on the power state based on an API call from the application program.

6. An expansion device having a functional unit for adding functions to a server, comprising: a power control unit that performs on / off control for each power line for the functional unit in response to a request from an application program; and a switch that is provided on the power line that supplies power to the functional unit and that receives a control signal from the power control unit and switches between supplying and cutting off the input power.

7. The expansion device according to claim 6, which is implemented in the server as an expansion card compliant with PCI-Express (Peripheral Component Interconnect-Express), the power supply control unit is a microcontroller connected to the SMBus (The System Management Bus) of the PCI-Express slot, and the power supply control unit supplies standby power defined by the PCI-Express standard to the functional unit regardless of the power state of the functional unit.

8. A power control method for an expansion device having a functional unit for adding functions to a server, characterized in that the expansion device has a procedure for performing on / off control for each power line for the functional unit in response to a request from an application program, and a procedure for receiving the on / off control signal using a switch provided on the power line that supplies power to the functional unit to switch between supplying or cutting off the input power.

Citation Information

Patent Citations

  • Power control method

    JP2002149288A

  • Computer system, power supply controller and method or managing power supply

    JP2003044177A

  • Portable electronic equipment used with lid opened, control method of electronic equipment, and program

    JP2005352897A

  • I / O extension device group and I / O extension device

    JP2015035177A

  • System power source management method and computer system

    JP2019102078A

Cited By

  • Equipment power supply system and server

    CN119718038A