-
Notifications
You must be signed in to change notification settings - Fork 1
Emulator path for TX:022 RX:002
Roland Sipos edited this page Mar 6, 2023
·
16 revisions
Resources (OFED and DPDK) are under /opt
on 021 and 022. We use pktgen
to generate a fix-rate flow of UDP JUMBO frames.
Start pktgen
with the pre-defined configuration via running as root the following script:
[root@np04-srv-022 opt]# pwd
/opt
[root@np04-srv-022 opt]# ./start-pktgen-txsetup.sh
The pre-defined configs are setting the destination MAC and IP addresses of np02-srv-002
already.
You should see the pktgen
control console GUI. You can modify different parameters of the packet generation.
Modify the rate to 1% of the available bandwidth of the output port:
Pktgen:/> set 0 rate 1
Modify the packet size to the size of a WIB-Ethernet Frame size (7192 Bytes):
Pktgen:/> set 0 size 7192
Start the flow of data on the port:
Pktgen:/> start 0
Setup a workarea as described on the devarea instructions.
Clone dpdklibs
into sourcecode:
[rsipos@np02-srv-002 sourcecode (develop #%)]$ pwd
/<workarea-directory>/sourcecode
[rsipos@np02-srv-002 sourcecode (develop #%)]$ git clone https://github.com/DUNE-DAQ/readoutlibs.git -b develop