Skip to content
Hanoh Haim edited this page Jun 4, 2019 · 2 revisions

gcc7 works better with Sanitizer mode

Compile with Sanitizer (both simulator and trex server)

./b configure --gcc7 --sanitized
./b clean build build

Simulator

./bp-sim-64 --ut --gtest_filter="gt_tcp.*"
./run_functional_tests -t test_astf_caps

TRex Server run from Console

$sudo ./t-rex-64 --astf -i -c 7 --iom 0
The ports are bound/configured.

*******************************************************

***** Sanitized binary - Expect lower performance *****


*******************************************************
Starting  TRex v2.56 please wait  ...

ASTF Typical test

>start -f astf/res.py -m 1  -t size=32,clients=65000,servers=65000,templates=4096
>stop  # wait for it to stop
>shutdown

The teardown should be clean

..
 *** TRex is shutting down - cause: 'CTRL + C detected'
 All cores stopped !!