The present invention relates in general to the field of high data availability storage controllers, and particularly to their use in elevated temperature environments.
Redundant Array of Inexpensive Disk (RAID) systems have become the predominant form of mass storage systems in most computer systems today that are used in applications that require high performance, large amounts of storage, and/or high data availability, such as transaction processing, banking, medical applications, database servers, internet servers, mail servers, scientific computing, and a host of other applications. A RAID controller controls a group of multiple physical disk drives in such a manner as to present a single logical disk drive (or multiple logical disk drives) to a computer operating system. RAID controllers employ the techniques of data striping and data redundancy to increase performance and data availability.
Mass storage systems, such as RAID systems, include digital circuitry that is designed to operate within specific temperature ranges. If the temperature of the circuitry exceeds particular values, the circuits will cease to function properly, potentially causing data corruption or loss. Furthermore, as the density of storage systems increases, it becomes increasingly more difficult to cool them.
Current storage controller systems respond to elevated temperatures by first providing a warning to a system operator indicating the temperature has reached a warning threshold. If the system operator does not take necessary action to stop the temperature from rising—such as increasing air circulation around the system, lowering the room temperature, or reducing the amount of activity by the system—eventually the controller temperature will reach a second threshold near the temperature at which the circuits are known to fail. At this second temperature threshold, the storage controller will stop receiving I/O requests from the host computers in order to avoid data loss or corruption. In single storage controller environments, this will result in a loss of data availability. Even in a redundant storage controller environment, eventually both storage controllers may reach the second temperature threshold, with the same data unavailability consequence.
Data unavailability is undesirable and may be totally unacceptable in many mission critical applications, such as certain telecommunication industry applications. For example, the Network Equipment Building System (NEBS) standard imposes rigorous criteria for telecommunications equipment. One of the criteria is that the equipment ensures data availability within a relatively large temperature range present in telecommunications locations. What is needed is a solution to enable storage controllers to continue to operate and provide data availability under larger temperature ranges, such as the NEBS criteria, for example.
In some computing environments, it is unacceptable for a storage system to reach a state where the data is unavailable, yet it is acceptable to make the data available at a reduced performance level. Advantageously, the present invention reduces the clock frequency of various storage controller circuits, according to various embodiments described herein, to enable the system to continue to provide data availability to the host computers even in elevated temperature environments, albeit at a possibly reduced performance level. Advantageously, the present invention reduces the clock frequencies without aborting I/O request servicing, therefore continuing to make the data on the connected disk drives available to the host computers, without incurring loss or corruption of the data.
In one aspect, the present invention provides a storage controller configured to operate under elevated temperature conditions. The storage controller includes a memory, configured to buffer data transferred between host computers and storage devices connected to the storage controller. The storage controller also includes a memory controller, configured to control the memory. The storage controller also includes a CPU, configured to detect that a temperature of the memory controller has exceeded a predetermined threshold while operating at a first frequency, place the memory into self-refresh mode after detecting that the temperature of the memory controller has exceeded the predetermined threshold, reduce the operating frequency of the memory controller to a second frequency after placing the memory into self-refresh mode, and take the memory out of self-refresh mode after reducing the operating frequency of the memory controller to the second frequency.
In another aspect, the present invention provides a storage controller configured to operate under elevated temperature conditions. The storage controller includes a memory, configured to buffer data transferred between host computers and storage devices connected to the storage controller. The storage controller also includes a memory controller, configured to control the memory. The storage controller also includes at least one interface controller, configured to request access to the memory. The storage controller also includes a bridge circuit, configured to bridge the at least one interface controller to the memory controller. The storage controller also includes a CPU, configured to detect that a temperature of the memory controller has exceeded a predetermined threshold while operating at a first frequency, control the bridge circuit to deny access to the memory by the at least one interface controller after detecting that the temperature of the memory controller has exceeded the predetermined threshold, reduce the operating frequency of the memory controller to a second frequency after denying access to the memory, and grant access to the memory by the at least one interface controller after reducing the operating frequency of the memory controller to the second frequency.
In another aspect, the present invention provides a storage controller configured to operate under elevated temperature conditions. The storage controller includes an interface controller, configured to interface the storage controller to host computers. The storage controller also includes a memory subsystem, configured to buffer data requested by the host computers, the data being received from disk drives controlled by the storage controller. The storage controller also includes a bus bridge, configured to bridge the interface controller and the memory subsystem. The storage controller also includes a CPU, configured to detect that a temperature of the bus bridge has exceeded a predetermined threshold while operating at a first frequency, program the bus bridge to deny access to the memory subsystem by the interface controller in response to detecting that the temperature of the bus bridge has exceeded the predetermined threshold, reduce the operating frequency of the bus bridge to a second frequency after denying access to the memory subsystem, and grant access to the memory by the interface controller after reducing the operating frequency of the bus bridge to the second frequency.
In another aspect, the present invention provides a redundant storage controller system configured to operate under elevated temperature conditions. The system controller includes first and second storage controllers, coupled by a serial communications link, each of the controllers having a integrated circuit configured to control communications on the link. The storage controllers are configured to detect that a temperature of at least one of the integrated circuits has exceeded a predetermined threshold while operating at a first frequency, suspend transfers of messages on the serial communications link in response to detecting that the temperature of the integrated circuit has exceeded the predetermined threshold, reduce the operating frequency of the integrated circuits to a second frequency after suspending transfers of messages on the serial communications link, and resume transfers of messages on the serial communications link after reducing the operating frequency of the integrated circuits to the second frequency.
In another aspect, the present invention provides a redundant storage controller system configured to operate under elevated temperature conditions. The system includes first and second storage controllers, each configured to control disk drives coupled thereto and to service I/O requests from hosts for data on the disk drives. The storage controllers are configured to detect that a temperature of the first storage controller has exceeded a predetermined threshold while operating at least a portion of the first storage controller at a first frequency, fail over from the first storage controller to the second storage controller to service the host I/O requests after detecting that the temperature of the first storage controller has exceeded the predetermined threshold, reduce the operating frequency of the portion of the first storage controller to a second frequency after failing over, and fail back to the first storage controller to service at least a portion of the host I/O requests after reducing the operating frequency of the portion of the first storage controller to the second frequency.
In another aspect, the present invention provides a method for allowing a storage controller to operate under elevated temperature conditions, the storage controller having a memory for buffering data transferred between host computers and storage devices connected to the storage controller, the storage controller further having a memory controller configured to control the memory. The method includes detecting that a temperature of the memory controller has exceeded a predetermined threshold while operating at a first frequency. The method also includes placing the memory into self-refresh mode, in response to detecting that the temperature of the memory controller has exceeded the predetermined threshold. The method also includes reducing the operating frequency of the memory controller to a second frequency, after placing the memory into self-refresh mode. The method also includes taking the memory out of self-refresh mode, after reducing the operating frequency of the memory controller to the second frequency.
In another aspect, the present invention provides a method for allowing a storage controller to operate under elevated temperature conditions, the storage controller having a memory for buffering data transferred between host computers and storage devices connected to the storage controller, the storage controller further having a memory controller configured to control the memory. The method includes detecting that a temperature of the memory controller has exceeded a predetermined threshold while operating at a first frequency. The method also includes denying access to the memory by one or more requestors requesting access thereto, in response to detecting that the temperature of the memory controller has exceeded the predetermined threshold. The method also includes reducing the operating frequency of the memory controller to a second frequency, after denying access to the memory. The method also includes granting access to the memory by the one or more requestors, after reducing the operating frequency of the memory controller to the second frequency.
In another aspect, the present invention provides a method for allowing a storage controller to operate under elevated temperature conditions, the storage controller having a bus bridge configured to bridge an interface controller and a memory subsystem, the interface controller configured to interface the storage controller to host computers, the memory subsystem configured to buffer data requested by the host computers. The method includes detecting that a temperature of the bus bridge has exceeded a predetermined threshold while operating at a first frequency. The method also includes denying access to the memory subsystem by the interface controller, in response to detecting that the temperature of the bus bridge has exceeded the predetermined threshold. The method also includes reducing the operating frequency of the bus bridge to a second frequency, after denying access to the memory subsystem. The method also includes granting access to the memory by the interface controller, after reducing the operating frequency of the bus bridge to the second frequency.
In another aspect, the present invention provides a method for allowing a redundant storage controller system to operate under elevated temperature conditions, the system having first and second storage controllers coupled by a serial communications link, each of the controllers having a integrated circuit configured to control communications on the link. The method includes detecting that a temperature of the integrated circuit of the first storage controller has exceeded a predetermined threshold while operating at a first frequency. The method also includes suspending transfers of messages on the serial communications link between the controllers, in response to detecting that the temperature of the integrated circuit has exceeded the predetermined threshold. The method also includes reducing the operating frequency of the integrated circuits to a second frequency, after suspending transfers of messages on the serial communications link. The method also includes resuming transfers of messages on the serial communications link between the controllers, after reducing the operating frequency of the integrated circuits to the second frequency.
In another aspect, the present invention provides a method for allowing a redundant storage controller system to operate under elevated temperature conditions, the system having first and second storage controllers each configured to control disk drives coupled thereto and to service I/O requests from hosts for data on the disk drives. The method includes detecting that a temperature of the first storage controller has exceeded a predetermined threshold while operating at least a portion of the first storage controller at a first frequency. The method also includes failing over from the first storage controller to the second storage controller to service the host I/O requests, after detecting that the temperature of the first storage controller has exceeded the predetermined threshold. The method also includes reducing the operating frequency of the portion of the first storage controller to a second frequency, after failing over. The method also includes failing back to the first storage controller to service at least a portion of the host I/O requests, after reducing the operating frequency of the portion of the first storage controller to the second frequency.
The amount of heat generated by the digital circuits of a storage controller is a function of the frequency at which the various circuits operate, among other factors. The amount of heat generated directly affects the operating temperatures of the circuits. Thus, one means of reducing the temperature of a storage controller is to reduce the operating frequency of the various circuits according to the methods described herein. Advantageously, the embodiments reduce the frequency of storage controller circuits while the storage controllers continue to service I/O requests from host computers and therefore continue to make the data on the connected disk drives available to the host computers without incurring loss or corruption of the data while reducing the clock frequencies. Additionally, reducing the clock frequencies of the circuits of the storage controllers may also advantageously enable the system to continue to operate in an elevated temperature environment in which the system could not otherwise continue to operate if the circuits were operating at the normal higher clock frequency. This is due to the fact that, generally speaking, if a digital circuit will fail at a temperature while operating at a first frequency, it will not fail at the same temperature while operating at second frequency if the second frequency is sufficiently lower than the first frequency.
Referring now to
Each RAID controller 102 includes a CPU 108, a memory 104 coupled to the CPU 108, a disk interface 128 for interfacing to disk arrays 116 comprising a plurality of physical storage devices such as disk drives, a host interface 126 for interfacing with host computers 114 via a network 193, and a cache memory 144 for caching data transferred between the disk arrays 116 and the hosts 114. Each RAID controller 102 also includes a bus bridge/memory controller 124, coupled to the CPU 108, disk interface 128, host interface 126, and cache memory 144. The bus bridge/memory controller 124 includes a link interface 182 for interfacing to a communications link 118. The bus bridge/memory controller 124 also includes a memory controller 186 for controlling the cache memory 144. The bus bridge/memory controller 124 also includes control and status registers (CSRs) 188, described in more detail with respect to
The RAID controllers 102 are coupled to one another by a communications link 118. The CPU 108 programs a DMA controller in the bus bridge/memory controller 124 to transfer messages on the PCI-Express link 118 to the partner RAID controller 102. Preferably, the link interface 182 includes a PCI-Express interface 182 for interfacing to a PCI-Express link 118. The PCI-Express link 118 is an efficient high-speed serial link designed to transfer data between components within a computer system as described in the PCI Express Base Specification Revision 1.0a, Apr. 15, 2003. The PCI Express specification is managed and disseminated through the PCI Special Interest Group (SIG) found at www.pcisig.com. PCI-Express is a serial architecture that replaces the parallel bus implementations of the PCI and PCI-X bus specification to provide platforms with greater performance, while using a much lower pin count. A complete discussion of PCI Express is beyond the scope of this specification, but a thorough background and description can be found in the following books which are incorporated herein by reference for all purposes: Introduction to PCI Express, A Hardware and Software Developer's Guide, by Adam Wilen, Justin Schade, Ron Thornburg; The Complete PCI Express Reference, Design Insights for Hardware and Software Developers, by Edward Solari and Brad Congdon; and PCI Express System Architecture, by Ravi Budruk, Don Anderson, Tom Shanley; all of which are available at www.amazon.com. In one embodiment, the RAID controllers 102 are hot-pluggable into the backplane. Other embodiments are contemplated, including but not limited to, a FibreChannel link or Serial Attached SCSI (SAS) link. In one embodiment, the communications link 118 comprises signal traces on a backplane or mid-plane of a chassis into which the RAID controllers 102 plug.
The CPU 108, or processor 108, or CPU complex 108, may be any processor capable of executing stored programs, including but not limited to, for example, a processor and chipset, such as an x86 architecture processor and what are commonly referred to as a North Bridge or Memory Control Hub (MCH) and a South Bridge or I/O Control Hub (ICH), which includes I/O bus interfaces, such as an interface to an ISA bus or a PCI-family bus. In one embodiment, the CPU 108 comprises an Intel Mobile Sempron processor in which software execution on the CPU 108 can adjust the operating clock frequency and voltage of the CPU 108. In one embodiment, the CPU complex 108 comprises a Transmeta TM8800 processor that includes an integrated North Bridge and an ALi M1563S South Bridge. In another embodiment, the CPU 108 comprises an AMD Elan SC-520 microcontroller. In another embodiment, the CPU 108 comprises an Intel Celeron M processor and an MCH and ICH.
In one embodiment, the CPU memory 104 comprises a double-data-rate (DDR) RAM, and the CPU 108 is coupled to the DDR RAM 104 via a DDR bus, which may be presented by a North Bridge or MCH, for example. In one embodiment, the CPU 108 and bus bridge/memory controller 124 are coupled by a local bus, such as a PCI, PCI-X, PCI-Express, or other PCI family local bus. The bus bridge/memory controller 124 includes a bus interface circuit (referred to in
In one embodiment, the host interface 126 and disk interface 128 comprise PCI-X devices coupled to the bus bridge/memory controller 124 via respective PCI-X buses. The bus bridge/memory controller 124 includes a bus interface circuit (referred to in
The cache memory 144 is used to buffer and cache user data as it is transferred between host computers 114 and disk arrays 116 via the host interface 126 and disk interface 128, respectively. In one embodiment, the cache memory 144 is backed up by a rechargeable energy source in case of a loss of main power. In one embodiment, the rechargeable energy source is a battery. In one embodiment, the rechargeable energy source is a super-capacitor. A FLASH memory 162, or other non-volatile memory, is also coupled to the CPU 108 and initially stores the program instructions executed by the CPU 108 which are copied from the FLASH memory 162 to the CPU memory 104 during boot up of the RAID controller 102.
The disk interface 128 interfaces the RAID controller 102 to the disk arrays 116, which comprise disk drives or other mass storage devices, including but not limited to, tape drives, solid-state disks (SSD), and optical storage devices, such as CDROM or DVD drives. The disk arrays 116 store user data. The disk interface 128 may include, but is not limited to, the following interfaces: Fibre Channel, Small Computer Systems Interface (SCSI), Advanced Technology Attachment (ATA), Serial Attached SCSI (SAS), Serial Advanced Technology Attachment (SATA), Ethernet, Infiniband, HIPPI, ESCON, iSCSI, or FICON. The RAID controller 102 reads and writes data from or to the disk arrays 116 in response to I/O requests received from host computers 114. The disk interface 128 is coupled to the bus bridge 124 via a local bus, such as a PCI, PCI-X, or other PCI family local bus.
The host interface 126 interfaces the RAID controller 102 with the host computers 114. In one embodiment, the RAID controller 102 is a local bus-based controller, such as a controller that plugs into, or is integrated into, a local I/O bus of the host computer system 114, such as a PCI, PCI-X, CompactPCI, PCI-Express, PCI-X2, EISA, VESA, VME, RapidIO, AGP, ISA, 3GIO, HyperTransport, Futurebus, MultiBus, or any other local bus. In this type of embodiment, the host interface 126 comprises a local bus interface of the local bus type. In another embodiment, the RAID controller 102 is a standalone controller in a separate enclosure from the host computers 114 that issue I/O requests to the RAID controller 102. For example, the RAID controller 102 may be part of a storage area network (SAN). In this type of embodiment, the host interface 126 may comprise various interfaces such as Fibre Channel, Ethernet, InfiniBand, SCSI, HIPPI, Token Ring, Arcnet, FDDI, LocalTalk, ESCON, FICON, ATM, SAS, SATA, iSCSI, and the like. The host interface 126 is coupled to the bus bridge 124 via a local bus, such as a PCI, PCI-X, or other PCI family local bus.
The CPU 108, host interface 126, and disk interface 128, read and write data from and to the cache memory 144 via the bus bridge 124. The CPU 108 fetches and executes instructions of programs stored in the CPU memory 104 that control the transfer of data between the disk arrays 116 and the hosts 114. The CPU 108 receives commands from the hosts 114 to transfer data to or from the disk arrays 116. In response, the CPU 108 issues commands to the disk interface 128 to accomplish data transfers with the disk arrays 116. Additionally, the CPU 108 provides command completions to the hosts 114 via the host interface 126. The CPU 108 may also perform storage controller functions such as RAID control, logical block translation, buffer management, and data caching.
The RAID controller 102 includes three temperature sensors, referred to collectively as temperature sensors 152. A first temperature sensor 152-1 senses the temperature of the bus bridge/memory controller 124 and provides the temperature to the CPU 108. A second temperature sensor 152-2 senses the temperature of the CPU 108 and provides the temperature to the CPU 108. A third temperature sensor 152-3 senses the temperature of the RAID controller 102 circuit board and provides the temperature to the CPU 108.
The RAID controller 102 also includes a clock generator 196 coupled to the CPU 108 and bus bridge/memory controller 124. The clock generator 196 generates a plurality of clock signals 166 for use by the RAID controller 102. In one embodiment, the clock generator 196 generates a first clock signal 166 that controls the memory controller 186 and that the memory controller 186 uses to generate a clock signal on the bus coupling the memory controller 186 and the cache memory 144; a second clock signal 166 that controls the PCI-Express link interface 182 and that the PCI-Express link interface 182 uses to generate signals on the PCI-Express link 118; and a third clock signal 166 that controls the host PCI-X interface 132 and the disk PCI-X interface 136 and that the host PCI-X interface 132 and the disk PCI-X interface 136 use to generate a clock signal on the buses coupling the host interface 126 to the host PCI-X interface 132 and the disk interface 128 to the disk PCI-X interface 136, respectively. The CPU 108 programs the clock generator 196 to generate the desired frequency on each of the clock output signals 166, and in particular, to raise and lower the clock frequency of different circuits in response to detecting that the temperatures of the circuits have reached predetermined thresholds, as described below.
Referring now to
The bus bridge/memory controller 124 also includes the local bus interface 136 of
The PCI-Express interface 182 performs the PCI-Express protocol on the PCI-Express link 118, including transmitting and receiving PCI-Express packets, such as PCI-Express transaction layer packets (TLPs) and data link layer packets (DLLPs), and in particular memory read and write request TLPs. In one embodiment, the PCI-Express interface 182 substantially conforms to relevant portions of the PCI Express Base Specification Revision 1.0a, Apr. 15, 2003. The control logic 214 is coupled to a direct memory access controller (DMAC) 222 that is programmable by the CPU 108 to transfer messages from the cache memory 144 to the partner RAID controller 102 via the PCI-Express link 118.
Referring now to
The CSRs 188 include a PCI-Express clock frequency register 232. The CPU 108 programs the PCI-Express clock frequency register 232 to set the clock frequency at which the PCI-Express interface 182 transmits messages on the PCI-Express link 118 to the partner RAID controller 102.
The CSRs 188 also include a DRAM refresh register 234 that includes a self-refresh enable bit 242. The CPU 108 sets the self-refresh enable bit 242 to place the cache memory 144 into self-refresh mode and clears the self-refresh enable bit 242 to take the cache memory 144 out of self-refresh mode.
The CSRs 188 also include a bus arbiter disable register 236 that includes a bus arbitration D disable bit 262 and a bus arbitration H disable bit 264. The CPU 108 sets the bus arbitration D disable bit 262 to disable the bus arbiter 134 from granting the host interface 126 access to the cache memory 144 and clears the bus arbitration D disable bit 262 to enable the bus arbiter 134 to grant the host interface 126 access to the cache memory 144. Similarly, the CPU 108 sets the bus arbitration H disable bit 264 to disable the bus arbiter 138 from granting the disk interface 128 access to the cache memory 144 and clears the bus arbitration H disable bit 264 to enable the bus arbiter 138 to grant the disk interface 128 access to the cache memory 144.
The CSRs 188 also include a DCM disable register 238 that includes a PCI-Express DCM disable bit 282, a DDR-SDRAM DCM disable bit 284, and a PCI-X DCM disable bit 286. The CPU 108 sets the PCI-Express DCM disable bit 282 to disable the clock signals to the PCI-Express interface 182. The CPU 108 sets the DDR-SDRAM DCM disable bit 284 to disable the clock signals to the memory controller 186. The CPU 108 sets the PCI-X DCM disable bit 286 to disable the clock signals to the PCI-X interfaces 132 and 136.
Referring now to
At block 302, the CPU 108 samples the temperatures from the temperature sensors 152 and determines that the temperature of the bus bridge/memory controller 124 is above a predetermined upper threshold and that the memory controller 186 and bus interfaces 132/136 are operating at a high frequency, i.e., at a frequency that is higher than the lowest frequency in the set of possible frequencies that the code running on the CPU 108 is configured to set the memory controller 186 or bus interfaces 132/136. The set of possible frequencies is at least two frequencies for the memory controller 186 and at least two frequencies for the bus interfaces 132/136; however, embodiments are contemplated in which the sets include more then two frequencies in order to allow more fine-grained frequency reduction and the accompanying effect on heat generation by the bus bridge/memory controller 124. In these embodiments, the predetermined threshold temperatures that trigger a frequency reduction may be monotonically increasing in correspondence with each reduction in operating frequency. In one embodiment, the CPU 108 determines from the bus bridge/memory controller 124 temperature sensor 152-1 that the temperature is above the predetermined threshold. In another embodiment, the CPU 108 determines from the general circuit board temperature sensor 152-3 that the temperature is above the predetermined threshold, such as in an embodiment in which the RAID controller 102 includes the circuit board temperature sensor 152-3 but does not include a distinct temperature sensor for the bus bridge/memory controller 124. That is, the determination that a frequency adjustment is required may be made in response to temperature samples of various sources. Flow proceeds to block 304.
At block 304, the two RAID controllers 102 suspend message transfers on the communications link 118. Advantageously, suspending message transfers on the communications link 118 prevents the link interface 182 from accessing the cache memory 144 to avoid data loss or corruption while the frequencies of the clocks to the memory controller 186 and bus interfaces 132/136 are being reduced. In one embodiment, the RAID controllers 102 suspend message transfers on the communications link 118 by communicating via an alternate communications path, such as via the communication path by which the RAID controllers 102 communicate with the disk array 116, such as via a FibreChannel or SAS fabric, as described with respect to
At block 306, the CPU 108 commences refraining from accessing the cache memory 144. That is, the CPU 108 refrains from reading or writing the cache memory 144 or causing other devices (such as the DMAC 222, disk interface 128, or host interface 126) to read or write the cache memory 144. In one embodiment, the steps of
At block 308, the CPU 108 waits for all data transfers outstanding within the bus bridge/memory controller 124 to drain, or complete. In one embodiment, the CPU 108 spin waits in a code loop for an amount of time that is greater than the maximum amount of time for any outstanding transfers within the bus bridge/memory controller 124 to drain to or from the cache memory 144, which is a function of the bus width and speed and the worst case size of the outstanding transfers. In one embodiment, the maximum amount of wait time is on the order of microseconds. Flow proceeds to block 312.
At block 312, the CPU 108 sets the bus arbitration D disable bit 262 and the bus arbitration H disable bit 264 of the bus arbiter disable register 236 of
At block 314, the CPU 108 places the cache memory 144 into self-refresh mode by setting the self-refresh enable bit 242 in the DRAM refresh register 234 of
At block 316, the CPU 108 disables the DCMs 184 by setting the DDR-SDRAM clock module disable bit 284 and the PCI-X clock module disable bit 286 to stop the clocks to the memory controller 186 and bus interfaces 132/136. Flow proceeds to block 318.
At block 318, the CPU 108 programs the clock generator 196 to reduce the frequency of the clocks 166 generated by the clock generator 196 for the memory controller 186 and the bus interfaces 132/136. In one embodiment, the reduced clock frequency is a frequency at which the memory controller 186 and the bus interfaces 132/136 can continue to operate even at an upper operating temperature value of the NEBS criteria. In one embodiment, the clock generator 196 is an ICS308 serial programmable quad PLL versaclock synthesizer provided by Integrated Circuit Systems, and the CPU 108 writes a predetermined sequence of bits to the clock generator 196 to program the desired frequency into the clock generator 196. In one embodiment, the CPU 108 may only reduce the clock frequency of the memory controller 186 or the bus interfaces 132/136, but not both, even though the CPU 108 determines at block 302 that both are operating at a high frequency. For example, the CPU 108 may determine that the rate at which the temperature of the bus bridge/memory controller 124 is rising is small enough that the frequency of only one of the clocks 166 needs to be reduced in order to accomplish the necessary heat reduction. Furthermore, as discussed above, embodiments are contemplated in which the memory controller 186 and bus interfaces 132/136 are included in two or more distinct integrated circuits and thus their temperatures may be separately sampled. In such embodiments, the CPU 108 may reduce the frequency of the clock 166 of the distinct circuits individually or in combination. In one embodiment, the bus bridge/memory controller 124 may also include control registers that the CPU 108 may program to reduce the frequency of the clocks provided to the memory controller 186 and bus interfaces 132/136. Still further, embodiments are contemplated in which the clock generation circuitry is internal to the bus bridge/memory controller 124, rather than the RAID controller 102 having a discrete clock generator 196. Flow proceeds to block 322.
At block 322, the CPU 108 enables the DCMs 184 by clearing the DDR-SDRAM clock module disable bit 284 and the PCI-X clock module disable bit 286 to provide the clocks to the memory controller 186 and bus interfaces 132/136. Flow proceeds to block 324.
At block 324, the CPU 108 verifies that the new clock frequency programmed at block 318 is locked in. In one embodiment, the bus bridge/memory controller 124 includes three phase-locked loop (PLL) circuits that are controlled by the three clock signals 166 generated by the clock generator 196 to the memory controller 186, bus interfaces 132/136, and link interface 182. The CPU 108 verifies that the PLLs are locked in before proceeding. Flow proceeds to block 326.
At block 326, the CPU 108 takes the cache memory 144 out of self-refresh mode by clearing the self-refresh enable bit 242 in the DRAM refresh register 234. Flow proceeds to block 328.
At block 328, the CPU 108 clears the bus arbitration D disable bit 262 and the bus arbitration H disable bit 264 of the bus arbiter disable register 236 in order to enable the arbiters 134/138 so that the bus interfaces 132/136 can grant ownership of their respective buses in order to enable access to the cache memory 144 by the host interface 126 and the disk interface 128. If any outstanding requests are queued in the disk interface 128 or host interface 126, they may now be processed when the bus interfaces 132/136 grant ownership of their respective buses to the host interface 126 and the disk interface 128. Flow proceeds to block 332.
At block 332, the CPU 108 resumes accessing the cache memory 144. That is, the CPU 108 resumes reading and writing the cache memory 144 and causing other devices to read and write the cache memory 144 as necessary. Flow proceeds to block 334.
At block 334, the two RAID controllers 102 resume message transfers on the communications link 118. Flow ends at block 334.
As may be observed from
Referring now to
At block 402, the CPU 108 of one of the RAID controllers 102, denoted controller A 102A, samples the temperatures from the temperature sensors 152 and determines that the temperature of the bus bridge/memory controller 124 is above a predetermined upper threshold and that the communications link interface 182 is operating at a high frequency, i.e., at a frequency that is higher than the lowest frequency in the set of possible frequencies that the code running on the CPU 108 is configured to set the link interface 182. The set of possible frequencies is at least two frequencies for the link interface 182; however, embodiments are contemplated in which the sets include more then two frequencies in order to allow more fine-grained frequency reduction and the accompanying effect on heat generation by the bus bridge/memory controller 124. In one embodiment, the CPU 108 determines from the bus bridge/memory controller 124 temperature sensor 152-1 that the temperature is above the predetermined threshold. In another embodiment, the CPU 108 determines from the general circuit board temperature sensor 152-3 that the temperature is above the predetermined threshold, such as in an embodiment in which the RAID controller 102 includes the circuit board temperature sensor 152-3 but does not include a distinct temperature sensor for the bus bridge/memory controller 124. That is, the determination that a frequency adjustment is required may be made in response to temperature samples of various sources. Flow proceeds to block 404.
At block 404, controller A 102A sends a message to the partner RAID controller 102, denoted controller B 102B, via the communications link 118 requesting suspension of message transfers on the communications link 118 so that the frequency of the clock on the communications link 118 may be changed. Flow proceeds to block 406.
At block 406, controller B 102B stops sending messages on the communications link 118 and sends a message to controller A 102A indicating that it is ready to communicate via an alternate communications path. In one embodiment, the path through the disk interface 128 to the disk arrays 116 is used as the alternate communications path between the storage controllers 102. For example, each storage controller 102 may appear as a SCSI target device on a SAS or FibreChannel fabric, and each controller 102 may transmit SCSI commands that include the messages to the partner controller 102 over the fabric, as described below with respect to blocks 408 to 414. Flow proceeds to block 408.
At block 408, controller A 102A receives the message from controller B 102B transmitted at block 406 and in response stops sending messages on the communications link 118, waits for all messages it has sent on the communications link 118 to drain, and then sends a message to controller B 102B via the alternate path indicating that all messages on the communications link 118 have drained. Flow proceeds to block 412.
At block 412, controller B 102B receives the message from controller A 102A transmitted at block 408 and in response sends a message via the alternate path to controller A 102A indicating it has received the message. Flow proceeds to block 414.
At block 414, controller A 102A receives the message from controller B 102B transmitted at block 412. Flow proceeds to block 416.
At block 416, in response to receiving the message at block 414, the CPU 108 of controller A 102A sets the PCI-Express DCM disable bit 282 of
At block 418, the CPU 108 of controller A 102A programs the clock generator 196 to reduce the frequency of the clock 166 generated by the clock generator 196 for the link interface 182. In one embodiment, the reduced clock frequency is a frequency at which the link interface 182 can continue to operate even at an upper operating temperature value of the NEBS criteria. Embodiments are contemplated in which the clock generation circuitry for the link interface 182 is internal to the bus bridge/memory controller 124, rather than the RAID controller 102 having a discrete clock generator 196. Flow proceeds to block 422.
At block 422, the CPU 108 of controller A 102A clears the PCI-Express DCM disable bit 282 to enable the clock signals to the PCI-Express interface 182. Flow proceeds to block 424.
At block 424, the CPU 108 of controller A 102A verifies that the new clock frequency programmed at block 418 is locked into the PLL. Flow proceeds to block 426.
At block 426, controller A 102A sends a message to controller B 102B to indicate that the communications link 118 clock frequency has been successfully lowered and that controller B 102B may now send messages to controller A 102A via the communications link 118 rather than via the alternate path. In one embodiment, the storage controllers 102 also exchange messages to indicate that all messages sent via the alternate path have drained. Flow ends at block 426.
Referring now to
At block 502, the CPU 108 of controller A 102A samples the temperatures from the temperature sensors 152 and determines that the temperature of the bus bridge/memory controller 124 is above a predetermined upper threshold and that the communications link interface 182 is operating at a high frequency, similar to the step at block 402 of
At block 504, controller A 102A sends a message to controller B 102B via the communications link 118 instructing controller B 102B to reduce the communications link 118 frequency when controller B 102B subsequently reboots. Flow proceeds to block 506.
At block 506, controller B 102B receives the message transmitted at block 504 and in response saves the new clock frequency value, i.e., the lower desired clock frequency value, into a non-volatile memory of controller B 102B, such as the FLASH memory 162. Flow proceeds to block 508.
At block 508, controller B 102B sends a message to controller A 102A indicating it is ready to be rebooted. In one embodiment, controller B 102B flushes any cached data to the disk arrays 116 before sending the message. Flow proceeds to block 512.
At block 512, controller A 102A receives the message transmitted at block 508 and in response kills controller B 102B. The controller A 102A kills controller B 102B by putting controller B 102B in reset, which stops the clocks on the controller B 102B, which effectively stops controller B 102B from generating heat. In one embodiment, controller A 102A and controller B 102B are plugged into a common backplane or mid-plane that includes signal traces that enable each of the storage controllers 102 to generate a reset signal to put its partner controller 102 in reset. In one embodiment, the reset signals each comprise a two-wire connection that connects a complex programmable logic device (CPLD) included on each of the controllers 102. In one embodiment, the CPU 108 of the killing storage controller 102 writes to its CPLD a predetermined kill sequence of bits that are decoded by the CPLD on the partner storage controller 102. If the receiving partner storage controller 102 CPLD decodes the predetermined kill sequence, then the receiving CPLD asserts the reset signal on the partner storage controller 102 to stop all the devices on the partner storage controller 102. Conversely, the surviving storage controller 102 may subsequently transmit a predetermined unkill sequence of bits to cause the CPLD of the partner storage controller 102 to take the partner storage controller 102 out of reset. Additionally, failover from controller B 102B to controller A 102A occurs. That is, whereas controller B 102B was previously servicing I/O requests from some or all of the host computers 114, controller A 102A begins servicing all the I/O requests from the host computers 114 in the absence of controller B 102B. Flow proceeds to block 514.
At block 514, controller A 102A reduces the clock frequency of the clock 166 generated by the clock generator 196 for the link interface 182 in a manner similar to the steps described above with respect to blocks 416 through 424 of
At block 516, controller A 102A unkills controller B 102B, i.e., takes controller B 102B out of reset. Flow proceeds to block 518.
At block 518, controller B 102B begins to reboot in response to being taken out of reset by controller A 102A at block 516. Flow proceeds to block 522.
At block 522, the CPU 108 of controller B 102B, in the process of rebooting, reads the new clock frequency value from the non-volatile memory that was written at block 506. Flow proceeds to block 524.
At block 524, the CPU 108 of controller B 102B sets the clock frequency of the clock 166 generated by the clock generator 196 for the link interface 182, in a manner similar to the steps described above with respect to blocks 416 through 424 of
The embodiment of
Referring now to
At block 602, the CPU 108 samples the temperatures from the temperature sensors 152 and determines that the temperature of the CPU 108 is above a predetermined upper threshold and that the CPU 108 is operating at a high frequency, i.e., at a frequency that is higher than the lowest frequency in the set of possible frequencies that the code running on the CPU 108 is configured to set the CPU 108. The set of possible frequencies is at least two frequencies for the CPU 108; however, embodiments are contemplated in which the sets include more then two frequencies in order to allow more fine-grained frequency reduction and the accompanying effect on heat generation by the CPU 108. In one embodiment, the CPU 108 determines from the CPU 108 temperature sensor 152-2 that the temperature is above the predetermined threshold. In another embodiment, the CPU 108 determines from the general circuit board temperature sensor 152-3 that the temperature is above the predetermined threshold, such as in an embodiment in which the RAID controller 102 includes the circuit board temperature sensor 152-3 but does not include a distinct temperature sensor for the CPU 108. That is, the determination that a frequency adjustment is required may be made in response to temperature samples of various sources. Flow proceeds to block 604.
At block 604, the CPU 108 reduces its own clock frequency and voltage. In one embodiment, the reduced clock frequency is a frequency at which the CPU 108 can continue to operate even at an upper operating temperature value of the NEBS criteria. Flow ends at block 604.
Referring now to
At block 702, the CPU 108 samples the temperature from the circuit board temperature sensor 152-3 and determines that the temperature is above a predetermined upper threshold and that the one or more of the CPU 108, memory controller 186, bus interfaces 132/136, and link interface 182 is operating at a high frequency, i.e., at a frequency that is higher than the lowest frequency in the set of possible frequencies that the code running on the CPU 108 is configured to set them. Flow proceeds to block 704.
At block 704, the CPU 108 reduces its own clock frequency and voltage (as described above with respect to
Referring now to
At block 802, the CPU 108 of controller A 102A samples the temperatures from the temperature sensors 152 and determines that the temperature of the bus bridge/memory controller 124 is above a predetermined upper threshold and that the memory controller 186 and bus interfaces 132/136 are operating at a high frequency. Flow proceeds to block 804.
At block 804, controller A 102A saves the lower clock frequency values, i.e., the lower desired clock frequency values, of the memory controller 186 and bus interfaces 132/136 into a non-volatile memory of controller A 102A. Flow proceeds to block 806.
At block 806, controller A 102A sends a message to controller B 102B requesting to be rebooted. In one embodiment, controller A 102A flushes any cached data to the disk arrays 116 before sending the message. Flow proceeds to block 808.
At block 808, controller B 102B receives the message transmitted at block 806 and in response kills controller A 102A and subsequently unkills controller A 102A to cause controller A 102A to reboot. Additionally, failover from controller A 102A to controller B 102B occurs. Flow proceeds to block 812.
At block 812, the CPU 108 of controller A 102A, in the process of rebooting, reads the new clock frequency values from the non-volatile memory that were written at block 804. Flow proceeds to block 814.
At block 814, the CPU 108 of controllerA 102A sets the clock frequency of the clock 166 generated by the clock generator 196 for the memory controller 186 and bus interfaces 132/136 to the value read at block 812. Flow ends at block 814.
In alternate embodiments, rather than lower the clock frequency for both the memory controller 186 and bus interfaces 132/136, the steps of
Referring now to
At block 902, the CPU 108 of controller A 102A samples the temperatures from the temperature sensors 152 and determines that the temperature of controller A 102A is above a predetermined upper threshold. In one embodiment, the system 100 operates according to the steps of
At block 904, controller A 102A sends a message to controller B 102B via the communications link 118 requesting to be killed. Flow proceeds to block 906.
At block 906, controller B 102B receives the message transmitted at block 904 and in response kills controller A 102A. Additionally, failover from controller A 102A to controller B 102B occurs. Flow proceeds to block 908.
At block 908, the CPU 108 of controller B 102B samples the temperatures from the temperature sensors 152 of controller B 102B. Flow proceeds to block 912.
At block 912, controller B 102B, knowing that it is currently holding controller A 102A in a reset state, estimates from its own temperatures sampled at block 908, the temperature of controller A 102A, and waits until the estimated temperature of controller A 102A has dropped below a predetermined lower threshold due to the fact that the clocks have not been running on controller A 102A while it is in reset. If controller A 102A and controller B 102B are in relatively close physical proximity, then the temperature sensors 152 of controller B 102B, and in particular the circuit board temperature sensor 152-3, may reasonably approximately provide the temperature of controller A 102A. Flow proceeds to block 914.
At block 914, controller B 102B unkills controller A 102A, controller A 102A boots back up, and failback to controller A 102A occurs. Flow ends at block 914.
Embodiments of
Furthermore, embodiments of
In addition to the embodiments of
Referring now to
At block 1002, the CPU 108 samples the temperatures from the temperature sensors 152 and determines that the temperature of the bus bridge/memory controller 124 is below a predetermined lower threshold and that the memory controller 186 and bus interfaces 132/136 are operating at a low frequency, i.e., at a frequency that is lower than the highest frequency in the set of possible frequencies that the code running on the CPU 108 is configured to set the memory controller 186 or bus interfaces 132/136. Flow proceeds to block 304.
Blocks 304 through 316 of
At block 1018, the CPU 108 programs the clock generator 196 to increase the frequency of the clocks 166 generated by the clock generator 196 for the memory controller 186 and the bus interfaces 132/136. In one embodiment, the CPU 108 may only increase the clock frequency of the memory controller 186 or the bus interfaces 132/136, but not both, even though the CPU 108 determines at block 302 that both are operating at a low frequency. For example, the CPU 108 may determine that the rate at which the temperature of the bus bridge/memory controller 124 is dropping is small enough that the frequency of only one of the clocks 166 can be increased without causing an undesirable heat increase. Furthermore, as discussed above, embodiments are contemplated in which the memory controller 186 and bus interfaces 132/136 are included in two or more distinct integrated circuits and thus their temperatures may be separately sampled. In such embodiments, the CPU 108 may increase the frequency of the clock 166 of the distinct circuits individually or in combination. Flow proceeds to block 322.
Blocks 322 through 334 of
Referring now to
At block 1102, the CPU 108 of one of the RAID controllers 102, denoted controller A 102A, samples the temperatures from the temperature sensors 152 and determines that the temperature of the bus bridge/memory controller 124 is below a predetermined lower threshold and that the communications link interface 182 is operating at a low frequency, i.e., at a frequency that is lower than the highest frequency in the set of possible frequencies that the code running on the CPU 108 is configured to set the link interface 182. Flow proceeds to block 404.
Blocks 404 through 316 of
At block 1118, the CPU 108 of controller A 102A programs the clock generator 196 to increase the frequency of the clock 166 generated by the clock generator 196 for the link interface 182. Flow proceeds to block 422.
Blocks 422 through 426 of
Referring now to
At block 1202, the CPU 108 of controller A 102A samples the temperatures from the temperature sensors 152 and determines that the temperature of the bus bridge/memory controller 124 is below a predetermined lower threshold and that the communications link interface 182 is operating at a low frequency. Flow proceeds to block 1204.
At block 1204, controller A 102A sends a message to controller B 102B via the communications link 118 instructing controller B 102B to increase the communications link 118 frequency when controller B 102B subsequently reboots. Flow proceeds to block 506.
Blocks 506 through 512 of
At block 1214, controller A 102A increases the clock frequency of the clock 166 generated by the clock generator 196 for the link interface 182 in a manner similar to the steps described above with respect to blocks 416 through 424 of
Blocks 516 through 524 of
Referring now to
At block 1302, the CPU 108 samples the temperatures from the temperature sensors 152 and determines that the temperature of the CPU 108 is below a predetermined lower threshold and that the CPU 108 is operating at a low frequency, i.e., at a frequency that is lower than the highest frequency in the set of possible frequencies that the code running on the CPU 108 is configured to set the CPU 108. Flow proceeds to block 1304.
At block 1304, the CPU 108 increases its own clock frequency and voltage. Flow ends at block 1304.
Referring now to
At block 1402, the CPU 108 samples the temperature from the circuit board temperature sensor 152-3 and determines that the temperature is below a predetermined lower threshold and that the one or more of the CPU 108, memory controller 186, bus interfaces 132/136, and link interface 182 is operating at a low frequency, i.e., at a frequency that is lower than the highest frequency in the set of possible frequencies that the code running on the CPU 108 is configured to set them. Flow proceeds to block 1404.
At block 1404, the CPU 108 increases its own clock frequency and voltage (as described above with respect to
Referring now to
At block 1502, the CPU 108 of controller A 102A samples the temperatures from the temperature sensors 152 and determines that the temperature of the bus bridge/memory controller 124 is below a predetermined lower threshold and that the memory controller 186 and bus interfaces 132/136 are operating at a low frequency. Flow proceeds to block 1504.
At block 1504, controller A 102A saves the higher clock frequency values, i.e., the higher desired clock frequency values, of the memory controller 186 and bus interfaces 132/136 into a non-volatile memory of controller A 102A. Flow proceeds to block 806.
The steps at block 806 through 814 of
In alternate embodiments, rather than raise the clock frequency for both the memory controller 186 and bus interfaces 132/136, the steps of
Although
Although the present invention and its objects, features, and advantages have been described in detail, other embodiments are encompassed by the invention. For example, although embodiments have been described in which the only frequency is reduced for the various integrated circuits, other embodiments are contemplated in which the voltage is also reduced, if the integrated circuit supports operation at multiple voltage levels, in order to further reduce the amount of heat generated by the integrated circuit. Additionally, although embodiments have been described in which the system includes redundant storage controllers, single, non-redundant storage controller embodiments are also contemplated that employ the operating frequency reduction methods described herein to enable a single storage controller to continue to operate at elevated temperatures, such as the embodiments of
Finally, those skilled in the art should appreciate that they can readily use the disclosed conception and specific embodiments as a basis for designing or modifying other structures for carrying out the same purposes of the present invention without departing from the spirit and scope of the invention as defined by the appended claims.