Skip to content

Instantly share code, notes, and snippets.

@venkataanil
Created December 24, 2019 16:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save venkataanil/e1eb537e7590301bf637abbe52e82513 to your computer and use it in GitHub Desktop.
Save venkataanil/e1eb537e7590301bf637abbe52e82513 to your computer and use it in GitHub Desktop.
[root@f16-h14-000-1029p ~]# pbench-trafficgen --config=direct-connect-ovs-dpdk-original-kernel-cveoff --samples=1 --frame-sizes=64 --num-flows=1 --traffic-directions=bidirectional --traffic-generator=trex-txrx -
-devices=0000:5e:00.2,0000:5e:00.3 --max-loss-pct=0 --skip-git-pull --sniff-runtime=300 --search-runtime=1200 --validation-runtime=300 -- --send-teaching-warmup --teaching-warmup-packet-type=icmp
tool trigger strings for start: "Starting binary-search" and for stop: "Finished binary-search" are now registered for tool group: default
found IOMMU option, continuing
found dpdk-tools, continuing
grep: ^trex-txrx: No such file or directory
configuring device 0000:5e:00.2
device 0000:5e:00.2 already bound to vfio-pci
configuring device 0000:5e:00.3
device 0000:5e:00.3 already bound to vfio-pci
device 0000:5e:00.2 bound to vfio-pci
device 0000:5e:00.3 bound to vfio-pci
TRex v2.53 already installed
starting TRex server
/opt/trex/current ~
removed ‘/var/lib/pbench-agent/tmp/trex_cfg.yaml’
interface status: ./dpdk_setup_ports.py -t
Error upon running TRex to get interfaces info:
WARNING: hugepages config file (/sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages) does not exist!
Starting TRex v2.53 please wait ...
EAL: Could not find space for memseg. Please increase CONFIG_RTE_MAX_MEMSEG_PER_TYPE and/or CONFIG_RTE_MAX_MEM_PER_TYPE in configuration.
EAL: Couldn't remap hugepage files into memseg lists
EAL: FATAL: Cannot init memory
EAL: Cannot init memory
You might need to run ./trex-cfg once
EAL: Error - exiting with code: 1
Cause: Invalid EAL arguments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment