DPDKcap
This project consist of a tool that creates pcaps by using multi cores.
setup instructions can be found here:
for running dpdkcap parameters look at (skip installation- wrong):
short instructions:
-
clone repo to the server.
-
change hugepages to 1G and OS cores in GRUB.
-
2 options to compile:
3.1. move to examples/dpdkcap and run make
3.2. use meson as explained in dpdk docs
-
go to the destination directory
-
run "sudo /examples/dpdkcap/build/dpdkcap -a "" -l --log-level=8 -- --limit_file_size=500000000 --per_port_c_cores --num_w_cores -m -d --statistics"
-
for production remove "--log-level=8" and "--statistics"
-
There are 4 numbers that one can be controlled and the function is not convex! Improving by changing one parameter doesn't mean it is optimal for the function. Also the running time is critical. For example, in one configuration there will be a steady drop from the beginning and in another configuration there will be no drop in the beginning and then it will drop all traffic.
- num1 - number of cores that gets traffic
- num2 - number of cores that creates pcaps
- num3 - number of queues
- num4 - queue size