I know you folks have recommended to install t-rex on CentOS 7.4 with MLNX OFED 4.3
I was however trying to see if my error is due to non-dependency issues.
## Environment details
trex v2.49
CentOS 7.6
MLNX_OFED_LINUX-4.5
dpdk-NOT-Installed
I am trying to run a simple configuration where two machines equipped with Mellanox 100G NIC ConnectX-5 EX are connected back to back.
(Machine0-Port0 connected to Machine1-Port0)
(Machine0-Port1 connected to Machine1-Port1)
The configuration file generated using the interactive setup mode looks like:
### Config file generated by dpdk_setup_ports.py ###
- version: 2
interfaces: ['af:00.0', 'af:00.1']
port_info:
- dest_mac: machine1_port0_mac
src_mac: machine0_port0_mac
- dest_mac: machine1_port1_mac
src_mac: machine0_port1_mac
platform:
master_thread_id: 0
latency_thread_id: 2
dual_if:
- socket: 1
threads: [1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47]
I allocate hugepages as a kernel parameter, and ensured there are free hugepages before running. However I am getting an error.
kernel params => isolcpus=24-47 intel_idle.max_cstate=0 processor.max_cstate=0 intel_pstate=disable nohz_full=24-47 rcu_nocbs=24-47 rcu_nocb_poll default_hugepagesz=1G hugepagesz=1G hugepages=64 audit=0 nosoftlockup
Here are the command line results..
## BEFORE RUNNING (ensuring there is free memory in hugepages)
[arvind@ved ~]$ grep -i huge /proc/meminfo
AnonHugePages: 26624 kB
HugePages_Total: 64
HugePages_Free: 64
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 1048576 kB
## RUNNING TREX
[arvind@ved ~]$ cd /opt/trex/v2.49/
[arvind@ved v2.49]$ sudo ./t-rex-64 -f /etc/trex_cfg.yaml -d 10
Warning: Mellanox NICs where tested only with RedHat/CentOS 7.4
Correct usage with other Linux distributions is not guaranteed.
WARNING: hugepages config file (/sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages) does not exist!
The ports are bound/configured.
Starting TRex v2.49 please wait ...
./t-rex-64: line 80: 29169 Segmentation fault (core dumped) ./_$(basename $0) $INPUT_ARGS $EXTRA_INPUT_ARGS
## HUEGEPAGE POST GETTING ERROR
[arvind@ved v2.49]$ grep -i huge /proc/meminfo
AnonHugePages: 26624 kB
HugePages_Total: 64
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 1048576 kB
Can someone please confirm if this error is due to dependencies as pointed in the documentation, or is it something solvable?
Thanks,
Arvind
--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/422ed368-46f1-40c1-9952-5c114f9cb434%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/trex-tgn/ZBR01WUP-vY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to trex-tgn+u...@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/9300face-6c2e-41fa-8536-c72e0823c05c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.