Every few months someone asks why we do not just fill a rack to the top. The short answer is the circuit breaker. The longer answer is a spreadsheet, and this post is that spreadsheet with the numbers left in.
From circuit to usable watts
A standard rack in our Denver, Chicago and Ashburn sites has two feeds, A and B, each a 208 V, 30 A single-phase circuit. Electrical code treats anything that runs for three hours or more as a continuous load, and a continuous load may use at most 80% of the breaker rating:
208 V x 30 A x 0.8 = 4,992 W per feed
Our two high-density racks in Denver use three-phase instead, which changes the arithmetic:
1.732 x 208 V x 30 A x 0.8 = 8,646 W per feed
Losing a feed
Every server has two power supplies, one on each feed. Normal operation splits the load roughly in half. If feed B drops, feed A must carry the entire rack. So the budget for the rack is not the sum of both feeds. It is what a single feed can carry, minus some margin so that we are not running at the edge of the breaker when it happens.
We sell and schedule to 90% of one derated feed. For a standard rack that is 4.5 kW. For the three-phase racks it is 7.8 kW.
We test this. Each spring at each site we switch off one PDU on a rack that has real customers on it, with them warned in advance, and watch what the other side does. The first time we did it in Denver, a switch with a single power supply cord went dark. It had been installed by a previous tenant of the rack position and we had never noticed. Now the build checklist has a line for it.
Nameplate is not draw
The power supply label tells you what the supply can deliver. It says nothing about what the server will pull. If you add up nameplates you will conclude that a rack holds five servers. In practice it holds twice that many. We budget on measured numbers instead, taken with the PDU's per-outlet metering over SNMP while a stress profile runs for an hour.
| Class | PSU rating | Idle | Sustained | We budget |
|---|---|---|---|---|
| c1.16 | 800 W | 95 W | 260 W | 300 W |
| c2.32 | 1,100 W | 140 W | 410 W | 450 W |
| c3.64 | 1,600 W | 210 W | 690 W | 760 W |
| g1.1 (1 GPU) | 2,000 W | 260 W | 1,150 W | 1,300 W |
| g1.4 (4 GPU) | 3,000 W | 520 W | 2,480 W | 2,700 W |
| Top-of-rack switch | 350 W | 110 W | 150 W | 170 W |
The budget column is the sustained figure plus about 10%. GPU machines are the ones that surprise people, because their draw swings from idle to full in a second or two when a training job starts.
A typical standard rack ends up looking like this: two switches (340 W), eight c2.32 (3,600 W) and a spare slot. That is 3.9 kW against the 4.5 kW budget. A GPU rack is different: it holds three g1.1 and the switches, because three of them already use 3.9 kW. The g1.4 only goes in the three-phase racks, two to a rack.
Inrush and power-on order
When a rack loses both feeds and then comes back, every server starts at once, and each power supply pulls several times its running current for a few milliseconds. That is how you trip a breaker that was happily carrying the steady load. Our PDUs are configured to bring outlets up in groups with a one-second gap, and the servers are set to stay off after power loss rather than power on automatically. A human (or our API) turns them on in order.
Heat
All of this power turns into heat, at about 3,412 BTU per hour for every kilowatt. A 4.5 kW rack is a 15,000 BTU/h space heater. The colocation contracts specify inlet temperature at the front of the rack, and we have thermistors there. The usual way to go wrong is blanking panels: one missing 2U panel lets hot air recirculate and can add 3 or 4 degrees at the top of the rack. We count blanking panels in every audit.
What we get wrong
We budget conservatively, and rack space sits empty because of it. Roughly 12% of rack units across the three sites are unused, and most of that is a power decision, not a space one. We think that is correct for now. When one more server is the difference between losing a feed being a non-event and being a fire drill, we will take the empty slot.
Written by Marcus Webb. Comments, corrections and arguments to marcus.webb@ansiblecloud.io.