9.
xeno-test
: By default, the load command is
dohell 900
, which generates load during 15 minutes.
Step #1: Prepare one storage disk and ethernet port connected server, for example:
$ fdisk /dev/sda
$ mkfs.ext2 /dev/sda1
$ mount /dev/sda1 /mnt
$ ifconfig <nw port> <ip addr>
Step #2:
$ cd /usr/xenomai/bin
Step #3:
$ sudo ./xeno-test -l "dohell -s <server ip> -m /mnt"
4.3.2 RTnet
RTnet is a protocol stack that runs between the Ethernet layer and the application layer (or IP layer). It aims to provide deterministic
communication, by disabling the collision detection CSMA/CD, and preventing buffering packets in the network, through the use
of time intervals (time-slots).
RTnet is a software developed to run on Linux kernel with RTAI or Xenomai real-time extension. It exploits the real time kernel
extension to ensure the determinism on the communication stack. To accomplish this goal, all the instructions related to this
protocol make use of real time kernel functions rather than those of Linux. This binds the latencies to the execution times and
latencies of interruptions, which provides deterministic communication.
The following sections describe how to enable the RTnet feature in Xenomai and enable data path acceleration architecture
(DPAA) for Xenomai RTnet.
4.3.2.1 Hardware requirements
Following are the hardware requirements for implementing the RTnet protocol in your design:
• For LS1043A, two LS1043ARDB boards (one used as a master and one as a slave board).
• For LS1046A, two LS1046ARDB boards (one used as a master and one as a slave board).
• For LS1028A, two LS1028ARDB boards (one used as a master and one as a slave board).
• In case three or more boards are used, a switch is required for connecting all boards into a subnet.
• If you use an e1000e NIC, insert the e1000e NIC into the P4 slot of the LS1043ARDB or LS1046ARDB board.
Figure 6. Hardware setup for RTnet (LS1043A as an example)
NXP Semiconductors
Industrial features
Open Industrial User Guide, Rev. 1.8, 05/2020
User's Guide
43 / 199