Skip to main content
Version: 1.0.0

Installation and Setup

SDK Installation

We recommend using the officially supported Linux distributions listed on this page. While functionality is expected on other distributions, they are not fully tested or supported. To obtain the Mango SDK package files, please contact us at contact@mangoboost.io. Linux kernel version 5.4 or higher is required, and Windows is not supported yet.

~$ sudo apt install ./mango-sdk_jammy_1.0.0_amd64.deb
~$ sudo apt update
~$ sudo apt install mango-sdk
info

mango-sdk is a meta-package to install all SDK components. Each component can be individually installed for your purpose.

~$ sudo apt install mango-cli libmango-dev mango-drivers mango-drivers-spdk

System Setup

PCIe bifurcation

MangoBoost DPU requires enabling x8x8 bifurcation on the PCIe slot to fully utilize the two ports on the card. The steps for configuring bifurcation vary by server vendor. Refer to the vendor’s server manual to find the PCIe slot number and enable x8x8 bifurcation.

For example, on Supermicro servers, modify the following BIOS option to enable PCIe bifurcation.

  • Advanced > Chipset Configuration > North Bridge > IIO Configuration -> CPU1 Configuration

The figure below shows enabling x8x8 bifurcation on IIO PCIe Port 3 in Supermicro SYS-221H-TN24R storage server.

Bifurcation

IOMMU setting

Add the following options related to IOMMU to the kernel configuration line in /etc/default/grub. Note that a server with AMD CPUs requires amd_iommu=on instead of intel_iommu=on.

~$ sudo vi /etc/default/grub
...
GRUB_CMDLINE_LINUX="intel_iommu=on iommu=pt"
...
~$ sudo update-grub
~$ sudo reboot
info

Some solutions may require additional setup. Refer to each solution's manual for the details.