NGRaff installation
Install NGRaff step by step using ngsetup. The screenshots show an L3 example with two standalone network ports. Choose memory, CPU cores and device addresses appropriate for your server.
1. Select components
Select ngraff, Manul and ngcli. NGRaff processes traffic, Manul communicates with the Linux network stack, and ngcli provides management commands. Press Space to change selections and Enter to continue.
2. Install ngcli
Choose where to save the ngcli management utility. This example uses /usr/sbin/ngcli. Press Enter to confirm.
3. Configuration directory
Choose the NGRaff configuration directory. This example uses /etc/ngraff, which will contain the configuration files and docker-compose.yml.
4. Select network adapters
Select the ports to process traffic through DPDK. This example selects two Mellanox ConnectX-6 Dx ports on NUMA node 0. The system port eno1 is in use and cannot be selected.
5. Join ports into a bond
Assign ports to a bond if needed. Here both ports remain standalone, indicated by “—”. A separate walkthrough is available under Configuration → Bonding.
6. Instance name
Enter a name for the NGRaff instance. The screenshot uses ngraff. The name helps distinguish instances during installation and maintenance.
7. Operating mode
Choose L3 for routing or L2 for switching. This example selects L3. Connection diagrams are available in the Network integration section.
8. MPRQ mode
For ConnectX-6 adapters, the installer offers MPRQ (Multi-Packet RQ), which places multiple received packets in one large buffer. This reduces memory transactions for small packets but uses more memory. The example selects Yes; the installer suggests No if you are unsure.
9. Main CPU core
Select the main core on the required NUMA node. This example selects CPU 1 on NUMA node 0. CPU 0 is unavailable because it is reserved for system timers and interrupts.
10. Worker CPU cores
Select the worker cores that will process packets. This example selects eight cores, CPU 2–9. CPU 1 is already the main core, and CPU 0 remains reserved for the system.
11. DPDK memory
Set the amount of DPDK memory on the selected NUMA node. This example allocates 30 GB; the installer displays the node memory and maximum allowed allocation. Choose a value appropriate for your server.
12. Memory channels
Check the number of memory channels on the selected NUMA node. The installer detects this through SMBIOS; the screenshot shows two channels. The value should match your server configuration.
13. Host preparation at boot
Choose whether to create the host preparation script and systemd unit. This example selects Yes, so Mellanox adapter settings will be applied at system boot.
14. Kernel parameters and GRUB
Review the proposed kernel parameters for hugepages, core isolation, interrupt affinity and IOMMU. The shown mitigations=off option disables CPU vulnerability mitigations. The installer offers to add the line to /etc/default/grub; a reboot is required to apply it.
15. Installation summary
Review the resulting settings and installer recommendations. The summary lists host and Mellanox firmware preparation scripts, reboot requirements, and the startup command: cd /etc/ngraff && docker compose up -d. Check BIOS and firmware settings for your particular server.
Use the buttons or swipe to switch steps. Click a screenshot to open it at full size.