In a quiet corner of the lab, an unassuming single-board computer—the MinnowBoard Turbot—humbs quietly. Powered by an Intel® Atom™ processor and running Ubuntu 16.04 with pre-installed Data Plane Development Kit (DPDK) software, this compact device transforms into a powerful network traffic generator with just a few Ethernet cable connections. This isn't science fiction—it's the reality made possible by Intel®'s newly released "DPDK-in-a-Box" implementation guide.
The implementation guide centers around two critical technical components:
The guide recommends using the MinnowBoard Turbot , a single-board computer built around the Intel® Atom™ processor E3826. Its low cost and compact form factor make it ideal for the "DPDK-in-a-Box" solution, while its onboard Intel® Ethernet Controller I350 dual gigabit NICs provide the necessary hardware foundation for high-performance traffic generation.
The operating system of choice is Ubuntu 16.04 Client , pre-integrated with DPDK. This combination ensures both system usability and optimal DPDK performance.
The guide provides detailed instructions covering hardware connection, OS configuration, software installation, and traffic generator setup:
Users learn to connect the MinnowBoard's network ports—two Intel® Ethernet Controller I350 ports for traffic generation (recommended for loopback connection) and a third port for internet access. The guide also covers peripheral connections and initial system setup.
Before running DPDK or the traffic generator, users must collect NIC PCI bus information and MAC addresses through
lspci
and
ifconfig
commands—critical steps since DPDK occupation makes this information inaccessible to the Linux kernel.
The guide provides exact command sequences for downloading and unpacking the TRex traffic generator, culminating in locating the
t-rex-64
executable.
Users work with the sample configuration file
cfg/simple_cfg.yaml
, copying it to
/etc/trex_cfg.yaml
and editing key parameters including port limits, version specifications, interface PCI addresses, and MAC address information for port connections.
The guide emphasizes checking logical CPU core counts via
cat /proc/cpuinfo
to optimize CPU usage through proper
-c
parameter configuration.
The command
sudo ./t-rex-64 –f cap2/dns.yaml –c 1 –d 100
launches the generator, with explanations for the
-f
(traffic profile),
-c
(CPU cores), and
-d
(duration) parameters.
The guide presents typical output displays during operation and after test completion, helping users interpret results.
A dedicated section addresses situations where
ifconfig
fails to recognize ports due to DPDK driver occupation, providing detailed instructions for switching between DPDK and Linux kernel drivers using the
setup.sh
script.
The DPDK-in-a-Box project opens numerous possibilities for network performance testing and application development:
The Intel® DPDK-in-a-Box project delivers a cost-effective, high-performance network traffic generation solution. This implementation guide not only enables users to build custom traffic generators but also provides deep insight into DPDK's capabilities, establishing a strong foundation for future network technology research and development.