System Requirements

Validated hardware (MX1P)

Validated host platforms

Vendor Part Name CPU
Supermicro SYS-221H-TNR Intel Xeon 6
Supermicro SYS-222HA-TN Intel Xeon 6
Gigabyte G494-ZB0-AAP2 AMD EPYC 9005
Gigabyte G494-SB0-AAP2 Intel Xeon 6
Dell R770 Intel Xeon 6

Validated DDR5 RDIMM modules

Vendor Part Number Density Speed (MT/s)
Samsung M321R8GA0EB2-CCP 64GB 6400
Samsung M321R8GA0EB2-CCPKC 64GB 6400
Samsung M321RAJA0MB2-CCPWF 128GB 6400
SK hynix HMCG94AHBRA481N 64GB 6400
SK hynix HMCG94AGBRA181N-AA 64GB 5600
Micron MTC40F2046S1RC64BD2 64GB 6400
Micron MTC40F2047S1RC64BB1 128GB 6400

BIOS configuration

AMD platforms

  • SPM(Special Purpose Memory) configuration

    AMD CBS → CXL Common Options → CXL Memory Attribute : Enabled
    Warning
    If disabled, the CXL memory lacks the EFI_MEMORY_SP attribute, causing the OS to boot it as standard system-ram(CPU-less NUMA node via SRAT).
    Once it is integrated into system memory, it cannot be reconfigured to DAX.

  • Use CPU address space

    AMD CBS → CXL Common Options → CXL Physical Addressing : System address
    Warning
    If not set to System address, a mismatch between SPA(System Physical Address) and HPA(Host Physical Address) occurs.
    It prevents the HDM(Host-managed Device Memory) Decoder from validating the memory range, making it impossible to create a CXL region.
    Without a valid region, the memory cannot be assigned to DAX.

  • Enable multi-vector MSI

    AMD CBS → NBIO Common Options → IOMMU/Security → IOMMU : Enabled
    Warning
    If disabled, Interrupt Remapping is unavailable, limiting the CXL device to a single MSI vector.
    Because the device uses multi-vector MSI, this option must be enabled.


OS

OS Release status SDK tarball
Ubuntu 24.04 LTS Stable - officially supported xcena_sdk_<ver>_ubuntu_24.04.tar.xz
openSUSE Leap 16.0 Experimental xcena_sdk_<ver>_opensuse-leap_16.0.tar.xz
RHEL 9.6+ / Rocky Linux 9.6+ / AlmaLinux 9.6+ Experimental xcena_sdk_<ver>_el9.tar.xz

Experimental targets

openSUSE Leap and RHEL 9 support is preview-quality. The install and host-setup flow is verified on validated hardware - openSUSE Leap 16.0 and Rocky Linux 9.6 - but Ubuntu remains the officially supported target. Report installation failures with the distribution and kernel version.

On Red Hat Enterprise Linux itself, enable CodeReady Builder and EPEL before installing. The SDK’s build dependencies (dkms, fmt-devel, gtest) live there, and unlike Rocky/AlmaLinux they are not reachable from the stock repositories:

sudo subscription-manager repos --enable codeready-builder-for-rhel-9-$(arch)-rpms
sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm

CXL memory host setup

The CXL Contiguous Memory Allocator (ccma) reserves physically contiguous device memory for computation. install.sh installs the module and writes its boot configuration. After installation and a reboot the module is loaded, but in system-ram mode it reserves nothing until you set a reserve share (step 2 below).

The default memory setup has three parts.

  1. The kernel brings CXL memory online as system-ram. The memory appears as a non-uniform memory access (NUMA) node without CPUs. A NUMA node identifies memory with a particular location relative to the host CPUs.
  2. ccma loads before the DAX kmem driver, so a share reserved at boot is taken while the node is still unfragmented. The installer sets sysram_reserve_pct=0: nothing is reserved, the whole node stays ordinary host memory, and device allocations have no memory to use. To run device workloads in system-ram mode, set a reserve share first. Run the ccma installer (driver/ccma/install.sh) with --reserve-pct=60 and reboot to reserve 60% of each CXL node from boot, or arm it at runtime with echo 60 | sudo tee /sys/class/misc/ccma/reserve_pct. Arming a node that the host already uses is best effort; cat /sys/class/misc/ccma/meminfo shows how many chunks it reserved. On a node already in use, arming works best in ZONE_MOVABLE (daxctl reconfigure-device --mode=system-ram --movable); otherwise ccma warns and may reserve less. A runtime setting does not survive a reboot; install with --reserve-pct to keep the share.
  3. pxl_resourced detects ccma and uses its reserved chunks for device allocations.

The installer writes /etc/modprobe.d/ccma.conf, /etc/modules-load.d/ccma.conf, and a udev rescan rule. Those settings apply again after reboot, including when DAX device numbers change. Keep the supplied module parameters unless the device configuration requires a change. In particular, an incompatible chunk_size can prevent device memory allocation.

devdax mode

Converting the CXL memory to devdax dedicates the whole region to device memory: no NUMA node is created for the host, and nearly the full region capacity becomes device compute memory instead of the share reserved in system-ram mode. Use it when:

  • Physical multi-host deployment (legacy pxl_resourced multi-host mode) - devdax mode is required: that coordinator accesses the shared region through /dev/daxN.N directly, and the shared region must not be managed by ccma (remove ccma from those hosts with driver/ccma/uninstall.sh). This is a different setup from independent SDK containers; do not apply that uninstall step to the container mode below.
  • Independent SDK containers (shared-device coordinator) - devdax mode is required, with ccma kept installed: ccma manages the devdax source and keeps the coordinator’s metadata prefix out of its allocations.
  • Maximum device-memory capacity matters more than using the CXL node as host NUMA memory.

scripts/setup_host.sh applies three changes for devdax mode.

  1. Add memhp_default_state=offline to the kernel command line. The parameter prevents the kernel from automatically bringing new memory online.
  2. Override the distribution’s memory auto-online udev rule. The override prevents userspace from bringing that memory online afterward.
  3. Install xcena-devdax.service to convert XCENA DAX devices at each boot. The service reapplies the conversion after the kernel binds the devices again. A systemd preset keeps the service enabled when systemctl preset-all runs.

Run the script once and reboot:

sudo ./scripts/setup_host.sh
sudo reboot

To include host setup during installation, use ./install.sh --with-host-setup. The installer skips that setup by default.

To return to system-ram, undo all three changes before rebooting; sudo ./scripts/setup_host.sh --revert does this. Remove memhp_default_state=offline, delete the udev override, disable xcena-devdax.service, and delete its preset /etc/systemd/system-preset/50-xcena-devdax.preset. Leaving the offline parameter active can leave the device memory unavailable to both allocation modes.

Once the kernel uses CXL memory for pages it cannot migrate, conversion to devdax can fail with Device or resource busy. Keeping the memory offline during boot avoids that condition.

Note

xcena-devdax.service converts only dax devices under an XCENA CXL region (PCI vendor 0x20a6). If the XCENA memory instead surfaces as a soft-reserved hmem dax - a dax device not under /sys/bus/cxl/devices/region*, usually with the CXL region left disabled - the CXL region failed to form. Recheck the BIOS CXL Physical Addressing = System address / HDM decoder settings above.

Manual equivalent - what setup_host.sh does, for reference or advanced setups

1. Kernel cmdline - add memhp_default_state=offline (append to GRUB_CMDLINE_LINUX in /etc/default/grub, keeping existing parameters), then apply per bootloader and reboot:

sudo update-grub                                                     # Ubuntu
sudo grub2-mkconfig -o /boot/grub2/grub.cfg                          # openSUSE
sudo grubby --update-kernel=ALL --args=memhp_default_state=offline   # RHEL 9 (BLS)
sudo reboot

Verify after reboot: cat /proc/cmdline | grep memhp_default_state.

2. udev override - the distro rule that force-onlines hot-plugged memory (90-daxctl-device.rules / 80-hotplug-cpu-mem.rules / 40-redhat.rules) is shadowed under /etc/udev/rules.d/ with its online action disabled, so memhp_default_state=offline is not undone at boot.

3. boot-time conversion - xcena-devdax.service runs daxctl reconfigure-device --mode=devdax on the XCENA dax devices at each boot (the kernel re-binds them to system-ram otherwise). /etc/systemd/system-preset/50-xcena-devdax.preset (enable xcena-devdax.service) keeps it enabled through systemctl preset-all, which otherwise applies the distribution’s default (disable on RHEL 9).


Required system packages

Ubuntu (apt):

build-essential cmake ninja-build wget
python3-dev python3-pip python3-venv libncurses6
libglib2.0-0 libslirp0 liburing2 libcurl3-gnutls

openSUSE Leap 16 (zypper - daxctl is provided by the ndctl package):

gcc gcc-c++ make cmake ninja wget
python313-devel python313-pip libncurses6
libglib-2_0-0 libslirp0 liburing2 libcurl4
ndctl dkms kernel-default-devel

The full per-distro lists live in deps/*.list and are installed by install_dependencies.sh.

Kernel headers The mx_dma DKMS build needs headers for the booted kernel (linux-headers-$(uname -r) / kernel-default-devel / kernel-devel-$(uname -r)). install_dependencies.sh installs them best-effort - they cannot be pinned in deps/*.list, which has no way to name the running kernel. When they are unavailable the install warns and skips the driver step instead of failing: see Install skips the driver.


Required Python packages

numpy tomli capstone cxxfilt pyelftools

Docker

  • Optional, recommended for consistent build environments

    Note For non-Ubuntu systems, it is recommended to use the official Docker image to ensure full compatibility.