Follow these instructions to build the udp generator using DPDK 22.11 and CloudLab nodes
Make sure that
PKG_CONFIG_PATHis configured properly.
git clone https://github.com/carvalhof/udp_generator
cd udp_generator
makeMake sure that
LD_LIBRARY_PATHis configured properly.
sudo ./build/udp-generator -a 41:00.0 -n 4 -c 0xff -- -r $DISTRIBUTION -r $RATE -f $FLOWS -s $SIZE -t $DURATION -q $QUEUES -c $ADDR_FILE -o $OUTPUT_FILEExample
sudo ./build/udp-generator -a 41:00.0 -n 4 -c 0xff -- -r exponential -r 100000 -f 1 -s 128 -t 10 -q 1 -c addr.cfg -o output.dat$DISTRIBUTION: interarrival distribution (e.g., uniform or exponential)$RATE: packet rate in pps$FLOWS: number of flows$SIZE: packet size in bytes$DURATION: duration of execution in seconds (we double for warming up)$QUEUES: number of RX/TX queues$ADDR_FILE: name of address file (e.g., 'addr.cfg')$OUTPUT_FILE: name of output file containg the latency for each packet
[ethernet]
src = 0c:42:a1:8c:db:1c
dst = 0c:42:a1:8c:dc:54
[ipv4]
src = 192.168.1.2
dst = 192.168.1.1
[udp]
dst = 12345
[server]
nr_servers = 1