CephClusterGuide
Three compact storage servers with four drive bays each, cabled with blue Ethernet to a small network switch and flanked by two SSDs on a dark navy background
hardware

Ceph Hardware Recommendations for Small Clusters

Ceph hardware recommendations for small clusters: CPU threads and RAM per OSD, PLP SSDs, 10 Gb/s networking, and why N100 boxes fall short.

By CephClusterGuide Editorial · · 9 min read

For a small Ceph cluster, use enterprise SSDs with power-loss protection for OSDs and a separate boot SSD. For NVMe OSDs, start with six CPU threads per OSD before replication and size host RAM from the BlueStore memory target. For a hyper-converged deployment, Proxmox calls for at least three servers, preferably identical, and recommends at least 12 OSDs spread evenly across them. Proxmox also recommends dedicating at least 10 Gb/s to Ceph traffic. See the Ceph hardware recommendations and Proxmox’s hyper-converged Ceph guide.

For daemon-by-daemon minimums, see the Ceph minimum hardware requirements breakdown.

Figures come from the Ceph Tentacle documentation and Proxmox VE documentation, with Intel, Micron, ServeTheHome and the smartctl manual for specific details. The Proxmox VE Reef benchmark was published by Proxmox and last updated on December 11, 2023. No hands-on testing was performed for this guide.

Who should skip Ceph entirely

If your setup is one mini-PC and a NAS, you do not need Ceph. Keep the data on one box and back it up to the NAS or offsite. A hyper-converged Ceph setup calls for at least three servers in Proxmox’s guide.

Consider Ceph when storage has to survive an entire host going away: Proxmox HA with VM disks on RBD, Kubernetes persistent volumes, or CephFS shared across machines. Learning is a fair reason too, as long as you admit that is what you are doing, because a lab and the home of the only copy of the family photos have different hardware lists. Still choosing a platform? Read Ceph vs Gluster first.

What hardware does Ceph recommend per node?

Size CPU by OSD type and keep total host RAM above twice the combined BlueStore memory targets. Use a separate boot SSD and plan on one drive per OSD in most cases.

The table follows the Ceph Tentacle hardware recommendations and Proxmox’s hyper-converged Ceph guide.

ComponentRecommendationNotes
CPUBefore replication, 6 threads per NVMe OSD (4 minimum) and 3 per HDD OSD (1 minimum).CPU demand varies by CPU model, drive model and Ceph configuration. Hyperthreading is usually beneficial. Ceph lists 2 cores as the minimum per Monitor.
RAMTotal host RAM above OSD count × 4 GiB × 2 at the default BlueStore target.Proxmox recommends configuring OSDs with at least 8 GiB each for good performance.
OSD drivesEnterprise SSD with PLP, 1 TiB or larger. Target 1 drive write per day (DWPD) or more, based on workload.Proxmox recommends spreading OSDs and disk sizes evenly across nodes.
SSD shared by the OS and Monitor or Manager256 GB minimum, 960 GB or more recommended.Ceph lists 100 GB of storage per Monitor daemon.
ControllerHBA in IT/JBOD modeNo RAID controllers
NetworkCeph recommends at least 10 Gb/s in a datacenter and 25 Gb/s for substantial workloads. Its daemon table lists 1 Gb/s as the bare minimum.Proxmox recommends at least 10 Gb/s dedicated to Ceph. Its high-performance layout uses a separate 1 Gb/s network for corosync.

For three NVMe OSDs, Ceph’s per-OSD figures give 18 recommended threads and a 12-thread minimum before replication. Actual demand varies by CPU, drive and Ceph configuration. At the default BlueStore target, the baseline is 3 × 4 GiB × 2 = 24 GiB. Total host RAM should exceed that threshold, which already accounts for the OS and other Ceph daemons. Ceph recommends budgeting at least 20% extra for temporary spikes. The margin a system needs varies by configuration. Budget guest memory separately.

Ceph’s docs note that performance varies with configuration such as erasure coding and compression. That makes erasure coding versus replication partly a CPU budget decision, not only a capacity one.

Can you run Ceph on an N100 mini-PC?

An N100 mini-PC is better suited to a lab. Intel lists four cores and four threads, a 16 GB maximum that depends on memory type, one memory channel, no ECC support and a maximum of nine PCIe lanes. See Intel’s N100 specifications. The N100’s four threads match Ceph’s pre-replication minimum sizing figure for a single NVMe OSD, leaving little headroom in the CPU budget for other services. Actual OSD demand varies with the CPU, drive and Ceph configuration.

With one OSD at the default BlueStore target, Ceph’s doubling rule puts the host RAM threshold at 8 GiB, including the OS and other Ceph daemons. A system with 16 GB has limited room for spikes and guests. For a PLP drive in a small M.2 slot, Micron offers a 7450 in M.2 22x80 with power-loss protection, “specifically designed for server boot use”.

Three small boxes on a gigabit switch make a good classroom. Use it to learn cephadm, observe CRUSH placement and practice troubleshooting Ceph health warnings. Do not put VM disks you care about on it. With one N100 and a NAS, the sane design is services on the N100, data on the NAS, and no Ceph.

Which drives should you buy for Ceph OSDs?

Buy enterprise SSDs with power-loss protection and aim for at least 1 TiB per OSD. Use 1 DWPD as a buying target. Ceph says lower-endurance drives may suit some OSDs that store sequentially written, read-mostly data. Bargain client-class or off-brand SSDs may suffer a steep performance drop once their limited cache fills.

The docs say most Ceph OSD deployments do not require an SSD with greater endurance than 1 DWPD. For a used enterprise SATA or U.2 drive, review the SMART data before buying. Keep sizes even across nodes. Proxmox’s example favors four 500 GB disks per node over a mix of one 1 TB disk and three 250 GB disks.

To check a used drive before it becomes an OSD, read its SMART data with smartctl, per the smartctl manual:

# SATA (ATA) drive: the manual says -a is no longer recommended for ATA disks
sudo smartctl -x /dev/sdX

# NVMe drive (broadcast namespace)
sudo smartctl -a /dev/nvme0

# SAS (SCSI) SSD: request the extended report
sudo smartctl -x /dev/sdX

For SATA, check the vendor-specific usage attributes and power-on time where reported. For NVMe, check the health status and SMART/Health Information log. For SAS, check the SSD endurance indicator if reported. Look for power-on time in the background scan log if the SAS drive supports it. Check the error and self-test logs each drive provides. Confirm power-loss protection on the maker’s datasheet.

If bulk capacity has to be spinning disks:

  • If you offload WAL and DB from HDD OSDs to SSD, use four to five HDD OSDs per SATA SSD or up to fifteen per NVMe SSD.
  • For HDD OSDs, Ceph says drives larger than 8 TB may be best suited to storing large files or objects that are not at all performance-sensitive.
  • For HDD OSDs, Ceph says the default volatile write cache setting may not be optimal, and that disabling it may dramatically increase IOPS and decrease commit latency. The commands are below this list.
  • Proxmox recommends SSDs for small setups to shorten recovery and reduce the chance of another failure before recovery finishes.

Ceph’s docs encourage benchmarking a drive with fio and persisting the cache setting that performs best. Their example measures 4 KiB random write performance, and the cache is queried or disabled with hdparm, sdparm or smartctl. See the Ceph Tentacle hardware recommendations. The fio command writes to the raw device, so run it only on a drive that holds no data you need.

# 4 KiB random write test: this writes to the raw device, so use an empty drive only
sudo fio --name=/dev/sdX --ioengine=libaio --direct=1 --fsync=1 --readwrite=randwrite --blocksize=4k --runtime=300

# Query the volatile write cache
sudo hdparm -W /dev/sdX
sudo sdparm --get WCE /dev/sdX
sudo smartctl -g wcache /dev/sdX

# Disable the volatile write cache
sudo hdparm -W0 /dev/sdX
sudo sdparm --clear WCE /dev/sdX
sudo smartctl -s wcache,off /dev/sdX

The smartctl manual lists the wcache setting for ATA and SCSI drives that support it.

Skip the RAID controller. Proxmox advises using an HBA because Ceph handles redundancy and hardware RAID generally offers no performance or availability benefit. See Proxmox’s hyper-converged Ceph guide. Ceph’s docs add that RAID-mode (IR) HBAs may show higher latency than IT-mode ones. Use a plain HBA in IT mode for SATA or SAS.

How fast does the Ceph network need to be?

Ceph recommends at least 10 Gb/s in a datacenter and 25 Gb/s for substantial workloads. The daemon table lists 1 Gb/s as the bare minimum. Proxmox recommends at least 10 Gb/s dedicated to Ceph traffic in a hyper-converged deployment.

Ceph’s replication example gives about three hours for 1 TiB over 1 Gb/s and twenty minutes over 10 Gb/s. For 10 TiB, the figures are thirty hours and three hours, respectively. A longer recovery window leaves more time for failures to overlap. See the Ceph Tentacle hardware recommendations.

In Proxmox’s hyper-converged Ceph Reef benchmark with fast SSDs, a 10 Gbit/s network could quickly become the bottleneck with even one very fast drive. The benchmark found that 25 Gbit/s could also be a bottleneck. For a full mesh, it lists simple routing as an option when fallback is unnecessary. See the Proxmox VE Ceph benchmark summary.

Proxmox’s high-performance layout puts corosync on a separate 1 Gb/s network. Ceph recovery traffic on a shared network can interfere with corosync and cause a loss of cluster quorum. See Proxmox’s hyper-converged Ceph guide. Ceph’s docs also recommend bonding across separate switches to tolerate network failures and maintenance.

Three builds that make sense

TierNodesPer nodeCeph networkGood for
Lab3 × N100-class mini-PC1 SSD OSD, 16 GB RAM1 or 2.5 GbELearning cephadm, CRUSH and failure drills
Homelab with real data4 × 10 GbE mini-server (MS-01 class), 8 OSDs total, below Proxmox’s 12-OSD recommendationBoot SSD, 64 GB RAM and 2 PLP NVMe OSDs if both drives fit10 GbE through a switchProxmox HA, RBD VM disks, CephFS
Small office4 to 5 used 1U/2U serversIT-mode HBA, 8 to 10 OSDs, 128 GB RAM25 GbE bonded across two switchesOffice VM disks and shared files

The MS-01 configuration reviewed by ServeTheHome had dual SFP+ 10 GbE on an Intel X710 and two 2.5 GbE ports. See ServeTheHome’s MS-01 review. The review lists 64 GB as the supported maximum for that configuration and three M.2 slots for 2280 or 22110 drives. The primary slot also supports a 7 mm U.2 drive via an adapter. The motherboard switch must be in the M.2 position before an M.2 drive is installed in that primary slot. The review warns that with the switch in U.2 mode, installing an M.2 drive has a solid chance of damaging it. The fan prevents drives with heatsinks from fitting in the other two slots, so check clearance for the boot drive and both PLP SSDs. See page 2 of the review.

The boot SSD and two OSDs fill all three storage slots in this layout. At two OSDs per node, the same layout stays below 12 OSDs across the three- to five-node range.

The bottom row follows the docs’ own example of a 1U server with 8 to 10 OSDs being well provisioned at 128 GB. To grow your cluster, follow the cephadm OSD guide. Keep the CRUSH failure domain at host level as covered in Ceph pools, placement groups and CRUSH rules. Replication copies an accidental delete to every replica. Keep a backup on the NAS or offsite.

FAQ

How many nodes does a Ceph cluster need?

For a hyper-converged Proxmox VE cluster, plan on at least three servers, preferably identical. Proxmox recommends at least 12 OSDs spread evenly across those servers. See Proxmox’s hyper-converged Ceph guide. For per-daemon minimums, see Ceph hardware requirements.

Sources

  1. Ceph Documentation (Tentacle): Hardware Recommendations
  2. Proxmox VE Documentation: Deploy Hyper-Converged Ceph Cluster
  3. Proxmox VE Ceph Benchmark 2023/12 (vendor-published)
  4. Intel Processor N100 Specifications
  5. ServeTheHome: Minisforum MS-01 Review, the 10GbE with PCIe Slot Mini PC
  6. ServeTheHome: Minisforum MS-01 Review, page 2 (storage and memory)
  7. Micron 7450 NVMe SSD
  8. smartctl(8) manual page (smartmontools)

Related