X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=docs%2Freport%2Fintroduction%2Ftest_environment_tg.rst;h=0d1f9143be7358231294d0fd0bf58e05f3c9fdd2;hb=242fc4d3af75bd8bc34dbff48aa6d56613df8688;hp=190c7c3f5b925dca058c390b9438937845709fb4;hpb=9c459a2b303eb8d776ac040bc82830d850a67623;p=csit.git diff --git a/docs/report/introduction/test_environment_tg.rst b/docs/report/introduction/test_environment_tg.rst index 190c7c3f5b..0d1f9143be 100644 --- a/docs/report/introduction/test_environment_tg.rst +++ b/docs/report/introduction/test_environment_tg.rst @@ -23,7 +23,7 @@ TG Startup Configuration $ sudo -E -S sh -c 'cat << EOF > /etc/trex_cfg.yaml - version: 2 - c: 15 + c: 7 limit_memory: 8192 interfaces: ["${pci1}","${pci2}"] port_info: @@ -32,11 +32,11 @@ TG Startup Configuration - dest_mac: [${dest_mac2}] src_mac: [${src_mac2}] platform : - master_thread_id: 0 - latency_thread_id: 16 - dual_if: - - socket: 0 - threads: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] + master_thread_id: 0 + latency_thread_id: 8 + dual_if: + - socket: 0 + threads: [1, 2, 3, 4, 5, 6, 7] EOF' TG Startup Command @@ -44,9 +44,9 @@ TG Startup Command :: - $ sh -c 'cd /scripts/ && \ - sudo nohup ./t-rex-64 -i --prefix $(hostname) --hdrh --no-scapy-server \ - > /tmp/trex.log 2>&1 &' > /dev/null + $ sudo -E -S sh -c "cd '/scripts/' && \ + nohup ./t-rex-64 -i --prefix $(hostname) --hdrh --no-scapy-server \ + --mbuf-factor 32 > /tmp/trex.log 2>&1 &" > /dev/null TG API Driver ~~~~~~~~~~~~~