Building a 256 or 512 GB RAM server

Capacity is only half the decision. How the DIMMs are spread across memory channels and processors decides how fast that memory runs.

Module
3 of 4
Level
Practitioner
Time
About 13 minutes

You will be able to

  • Calculate peak memory bandwidth from channels and transfer rate.
  • Lay out 256 GB or 512 GB with one identical module in every channel.
  • Name the balanced totals for processors with 12 channels.
  • Explain what a second module per channel and mixed modules cost.

How do you lay out 256 GB or 512 GB of server memory?

The short answer

Fill every memory channel on every processor with identical DIMMs, one per channel where you can: that gives the full peak memory bandwidth. On a two-socket server with eight channels per processor, that means 16 × 16 GB for 256 GB or 16 × 32 GB for 512 GB. On processors with 12 channels those totals do not divide evenly, so plan on a balanced size such as 384 GB or 768 GB instead; 16 channels divide them evenly.

In plain words

What this is
Memory reaches the processor through lanes called channels. Filling every lane evenly gives the server its full memory speed.
Who needs it
Anyone ordering or expanding memory for a server.
If you get it wrong
The server runs, but at a fraction of its memory speed, or the modules you bought do not mix.

Channels matter more than slots.

Each processor reaches its memory through a fixed number of channels. Data-centre processors commonly have 8 or 12 DDR5 channels each, and HPE's Gen13 DL525 has 16 on its one processor. Every memory channel has one or two DIMM slots. Bandwidth comes from the channels, not the slots: a processor with all 8 channels filled moves twice as much data per second as the same processor with 4 filled, whatever the capacity.

Peak bandwidth per channel is the transfer rate times 8 bytes. At 6,400 MT/s, the top DDR5 speed of HPE's Gen12 servers, that is 51.2 GB/s, so 8 channels give about 410 GB/s per processor and 12 channels about 614 GB/s. Real-world throughput is lower, but it scales the same way.

So the rules are simple: fill every channel, use one DIMM part number throughout, and give each processor the same memory.

8 × 32 GB = 256 GB

8 of 8 channels filled: full peak bandwidth

4 × 64 GB = 256 GB

4 of 8 channels filled: half the peak bandwidth

Illustrative: one processor with eight channels (A to H) and two slots per channel. Both layouts hold 256 GB; only the first uses every channel.

DIMM layouts for 256 GB and 512 GB.

One DIMM in every channel, all the same size. Where a target does not divide evenly across the channels, the table gives the nearest balanced sizes.

Balanced layouts at one DIMM per channel
PlatformFor 256 GBFor 512 GB
1 processor, 8 channels8 × 32 GB8 × 64 GB
2 processors, 8 channels each16 × 16 GB16 × 32 GB
1 processor, 16 channels16 × 16 GB16 × 32 GB
1 processor, 12 channelsNo even split: 12 × 16 GB = 192 GB or 12 × 32 GB = 384 GBNo even split: 12 × 32 GB = 384 GB or 12 × 64 GB = 768 GB
2 processors, 12 channels eachNo even split: 24 × 16 GB = 384 GBNo even split: 24 × 16 GB = 384 GB or 24 × 32 GB = 768 GB
Illustration: a DDR5 server memory module. A balanced layout puts the same module in every channel.Outline drawn to scale: DIMM, 133.35 × 31.25 mm. Chips and key position approximate.

16 GB DDR5 server modules are normally single-rank. Dual-rank modules usually sustain somewhat more bandwidth at one per channel, so for memory-bound work check the rank on the quotation.

DDR5 also comes in 24, 48 and 96 GB sizes. Where a platform supports them, they give balanced totals close to the targets: 12 × 24 GB = 288 GB, and 576 GB as 12 × 48 GB or 24 × 24 GB. Check the model's supported DIMM list before planning on them. The same arithmetic works for any channel count: divide the target by the number of channels and pick the DIMM size that matches.

These layouts leave the second slot in each channel free for later. Adding a second DIMM per channel can lower the memory speed on many platforms, and the new DIMMs must match the old ones.

Two processors, two pools of memory.

In a two-socket server each processor has its own memory. Either processor can read the other's, but more slowly, across the link between them: this is NUMA, non-uniform memory access. Give both processors the same DIMMs so each has the same capacity and bandwidth, and where you can, size virtual machines and database instances to fit within one processor's memory.

The second processor's slots work only when the second processor is fitted. A two-socket server bought with one processor can use only the first processor's slots, so plan processors and memory together.

One processor

  • Reaches 512 GB with larger DIMMs, such as 8 × 64 GB on eight channels
  • Lower licence cost where software is licensed per processor or per core
  • Half the channels and cores of a two-socket server with the same processors

Two processors

  • Reaches 512 GB with smaller DIMMs, such as 16 × 32 GB
  • Twice the memory channels, so twice the peak bandwidth
  • More cores to license, and more power to supply and cool

The rules that catch people out.

Worked example: 512 GB, three ways.

An example with assumed inputs, not a quotation or a customer case. Example platform: two processors, 8 memory channels each, 2 slots per channel, 32 slots in all. The 6,400 MT/s speed is the top figure for HPE Gen12; the real one depends on the processor, the DIMMs and how many share a channel.

Three ways to fit 512 GB (illustrative)
LayoutChannels filledDIMMs per channelPeak bandwidthFree slots
16 × 32 GB Best balance16 of 161819 GB/s16
32 × 16 GB16 of 162819 GB/s, or less if two per channel runs slowerNone
8 × 64 GB8 of 161410 GB/s24

Choose 16 × 32 GB. It fills every channel at one DIMM each, gives the full peak bandwidth and leaves 16 slots free.

32 × 16 GB fills every slot, so the only upgrade path is replacing DIMMs. 8 × 64 GB keeps the most slots free but leaves half the channels empty, halving the bandwidth. To reach 1 TB later, add 16 more 32 GB DIMMs of the same part number and expect the two-per-channel memory speed.

Pick the total in the configurator, choosing 384 GB or 768 GB where the processors have 12 channels. Our engineers then work out a balanced DIMM layout for the model, and the quotation lists the DIMMs by manufacturer part number and quantity.

Engineer's notes.

Before you order: check, and avoid these mistakes.

Decision checklist

Common mistakes

  1. Filling four of eight channels to reach the capacity.

    Why it hurts
    Peak bandwidth falls in proportion to the empty channels.
    Do this instead
    Use smaller modules in every channel.
  2. Aiming for exactly 256 GB or 512 GB on 12-channel processors.

    Why it hurts
    Those totals do not divide evenly across 12 channels.
    Do this instead
    Plan 384 GB or 768 GB, or sizes the model lists such as 24 or 48 GB.
  3. Mixing sizes, ranks or speeds.

    Why it hurts
    Mixing is restricted on many platforms, and memory runs at the slowest module's speed.
    Do this instead
    Buy one part number and match it when you expand.
  4. Fitting only one processor but counting both processors' slots.

    Why it hurts
    The second processor's slots work only when it is fitted.
    Do this instead
    Plan processors and memory together.

Check what you learned.

Check your understanding

  1. A processor has 8 channels at 6,400 MT/s. What is its peak memory bandwidth?

    Show the answer to question 1

    6,400 MT/s × 8 bytes = 51.2 GB/s per channel; × 8 channels is about 410 GB/s. Real throughput is lower.

  2. How do you reach 512 GB on a two-socket server with 8 channels per processor at one module per channel?

    Show the answer to question 2

    16 channels × 32 GB = 512 GB: sixteen 32 GB modules, each processor with eight.

  3. Why is there no even 256 GB split on a single 12-channel processor?

    Show the answer to question 3

    256 ÷ 12 is not a module size. Balanced totals are 12 × 16 GB = 192 GB or 12 × 32 GB = 384 GB.

  4. What does NUMA mean for a two-socket server?

    Show the answer to question 4

    Each processor has its own memory. Either can read the other's, but more slowly. Give both the same modules, and fit virtual machines and database instances within one processor's memory where you can.

Key takeaways

  1. Channels set bandwidth: fill every channel, one identical module each.
  2. 256 GB is 16 × 16 GB and 512 GB is 16 × 32 GB on two 8-channel processors.
  3. 12-channel processors want 384 GB or 768 GB, not 256 or 512.
  4. Two modules per channel can lower speed, and mixed modules are restricted.

Sources and standards

  1. Hewlett Packard Enterprise, HPE ProLiant DL380 Gen12 product page and QuickSpecs (a00073551enw), read . DDR5 memory up to 6,400 MT/s on a two-socket Intel Xeon 6 server.
  2. Hewlett Packard Enterprise, HPE ProLiant DL345 Gen12 product page, read . 5th Gen AMD EPYC, one socket, 24 DIMM slots.
  3. Hewlett Packard Enterprise, HPE ProLiant DL365 Gen11 product page, read . Two AMD EPYC processors, 12 DIMM channels per processor, DDR5 up to 6,400 MT/s.
  4. Wikipedia (readable summary), DDR5 SDRAM, read . Each DDR5 module has two independent subchannels of 32 data lines each, 64 data bits in all (80 data lines with ECC): the 8 bytes per transfer behind the bandwidth arithmetic.
  5. Hewlett Packard Enterprise, HPE ProLiant DL525 Gen13 product page, read . One AMD EPYC 9006 processor with 16 DDR5 memory channels.

Memory questions, answered.

Is 256 GB or 512 GB right for my server?

Add up what will run on it. For virtualization, that is the memory of every VM, the hypervisor's own needs and enough spare to take over a failed host's VMs in a cluster; for a database, the working set you want held in memory. Then round up to the next balanced layout for your platform, not to the next DIMM.

Can I start with 256 GB and upgrade to 512 GB later?

Yes, if you plan it. On an eight-channel two-socket server, 16 × 16 GB now plus 16 more of the same DIMM later gives 512 GB at two DIMMs per channel, which may run slower than 16 × 32 GB. If you know you will need 512 GB, buying 16 × 32 GB from the start keeps full speed.

Does a single-processor server support 512 GB?

Many do, with larger DIMMs: 8 × 64 GB on an eight-channel processor, for example. Check the model's maximum memory and supported DIMM sizes in its specification.

What happens if some memory channels are left empty?

The server runs, as long as the layout follows the population rules, but peak memory bandwidth falls in proportion to the empty channels. Capacity-bound work such as file serving may not notice; databases, analytics and simulation usually do.

Do you supply memory for servers we already run?

Yes, for HPE ProLiant servers. Send the model and generation, the processors fitted and the DIMMs installed now, and we quote matching memory with manufacturer part numbers on the quotation. For other brands, send the model and we confirm what we can supply.

What to tell us

  • The server model and generation, and the processors fitted
  • The memory fitted now (module part numbers if you have them)
  • The workload, so we can size the total
  • Whether you plan to expand later, and to what
  • When you need it

Get the memory right first time.

Send the server model, the processors and the memory fitted now, or just the workload. A server specialist replies with a balanced layout and a formal quotation.