﻿# Memory-region planning: alignment and allocation increment are separate constraints

Memory-region planning: alignment and allocation increment are separate constraints. A focused hardware-lifecycle guide covering the documented mechanism, an acceptance fixture, evidence and operational limits.

Author: Retrivium team
Updated: 2026-11-06
Canonical URL: https://retrivium.ai/journal/hw-memory-allocation-alignment-increment/
Language: en

A memory-region planner accepts a requested size because the device has enough total capacity. The request still violates its allocation boundary or increment. Capacity, placement alignment and allocation granularity are separate conditions when recommissioning memory for a new node configuration.

## The hardware contract

Redfish Memory describes AllocationAlignmentMiB as the boundary for region allocation and AllocationIncrementMiB as the allocation increment. Their units can match while their constraints differ. One value must not silently stand in for the other.

Keep those properties associated with the device and the supported region-configuration interface. Available capacity does not prove every start and length is valid. An absent constraint remains unknown rather than permission to accept arbitrary values or invent a universal page size for the hardware.

## Implementation details

Represent the requested region using explicit start, length, unit and device identity. Validate the constraints defined by the selected platform interface, including any additional region limits, before labeling the proposal admissible. Do not round a request silently and then claim the original size was accepted.

If the planner offers a corrected candidate, retain both original and revised values and explain the changed usable region. Reconcile neighboring regions so a local adjustment cannot create overlap elsewhere. This article reviews planning evidence and performs no persistent-memory configuration. The result should state which constraints were checked and which remain unresolved rather than derive all placement rules from the total capacity field or one convenient alignment value.

## A constructed acceptance test

Use a fixture where alignment and increment deliberately differ. Include a request satisfying both, one with an invalid start and one with an invalid length under the declared region rules. Keep sufficient total capacity in every case to expose a checker that validates only the headline size.

Add a planner adjustment that would overlap a neighboring region. The report must reject or explicitly resolve that conflict instead of accepting the rounded local candidate. Test unavailable constraints separately from a valid zero where the interface permits one. Retain requested and effective regions, applicable rules and exact acceptance decisions. This qualifies the planner without changing real hardware mappings or promising that a later platform operation will succeed.

## Recovery and limits

An admissible region proposal is not an applied configuration or a workload benchmark. After any separately authorized change, verify actual mappings, operating-system visibility and the intended consumer. Preserve the earlier region manifest for comparison and recovery. When constraint semantics are unavailable, report the limit rather than treating same-unit fields as interchangeable. The useful planning record makes capacity and allocation conditions independently reviewable before a node is accepted into its new role.

## Primary references

[DMTF Redfish Memory](https://redfish.dmtf.org/schemas/v1/Memory.v1_24_0.json); [DMTF Redfish ComputerSystem](https://redfish.dmtf.org/schemas/v1/ComputerSystem.v1_29_0.json).

This is a proposed acceptance procedure, not an executed Retrivium test. Preserve the observed implementation version and unresolved outcomes; the documentation does not certify a particular device or establish its remaining service life.

## Related reading

[RAM and VRAM: which memory matters for an AI server?](/journal/ram-vs-vram/); [A 128 GB RAM server for LLMs: useful roles beyond VRAM](/journal/server-128gb-ram-llm/).
