60.60% 1940 Trex DP core 1 _t-rex-64 [.] rte_delay_us_block
15.87% 508 Trex DP core 1 _t-rex-64 [.] i40e_xmit_pkts
7.50% 240 Trex DP core 1 _t-rex-64 [.] CNodeGenerator::flush_file_realtime<23, false>
5.87% 188 Trex DP core 1 _t-rex-64 [.] CCoreEthIFStateless::send_node_common<false>
4.84% 155 Trex DP core 1 _t-rex-64 [.] CCoreEthIFStateless::send_node_flow_stat
3.81% 122 Trex DP core 1 _t-rex-64 [.] std::__adjust_heap<__gnu_cxx::__normal_iterator<CGenNode**, std::vector<CGenNode*, std::allocator<CGenNode*> > >, long, CGenNode*, CGenNodeCompare>
0.66% 21 Trex DP core 1 _t-rex-64 [.] CCoreEthIF::send_burst
0.38% 1 swapper [kernel.vmlinux] [k] vtime_account_idle
0.22% 7 Trex DP core 1 _t-rex-64 [.] CCoreEthIFStateless::send_node
0.06% 2 Trex DP core 1 [kernel.vmlinux] [k] ktime_get
0.04% 1 Trex DP core 1 [kernel.vmlinux] [k] fetch_task_cputime
0.03% 1 Trex DP core 1 [kernel.vmlinux] [k] trigger_load_balance
0.03% 1 Trex DP core 1 [kernel.vmlinux] [k] local_apic_timer_interrupt
0.03% 1 Trex DP core 1 [kernel.vmlinux] [k] native_write_msr_safe
0.03% 1 Trex DP core 1 [kernel.vmlinux] [k] vtime_account_user
0.03% 1 Trex DP core 1 [kernel.vmlinux] [k] _raw_spin_lock
0.00% 1 swapper [kernel.vmlinux] [k] nmi_restore
0.00% 3 swapper [kernel.vmlinux] [k] native_write_msr_safewith packet modification:
46.50% 1489 Trex DP core 1 _t-rex-64 [.] StreamDPVmInstructionsRunner::run 17.24% 552 Trex DP core 1 _t-rex-64 [.] CGenNodeStateless::alloc_node_with_vm 14.84% 475 Trex DP core 1 _t-rex-64 [.] i40e_xmit_pkts 4.84% 155 Trex DP core 1 _t-rex-64 [.] CCoreEthIFStateless::send_node_common<false> 3.12% 100 Trex DP core 1 _t-rex-64 [.] CNodeGenerator::flush_file_realtime<23, false> 2.97% 95 Trex DP core 1 _t-rex-64 [.] std::__adjust_heap<__gnu_cxx::__normal_iterator<CGenNode**, std::vector<CGenNode*, std::allocator<CGenNode*> > >, long, CGenNode*, CGenNodeCompare> 2.69% 86 Trex DP core 1 libc-2.17.so [.] __memcpy_ssse3 2.69% 86 Trex DP core 1 _t-rex-64 [.] CCoreEthIFStateless::send_node_flow_stat 2.00% 64 Trex DP core 1 _t-rex-64 [.] common_ring_mp_enqueue 1.09% 35 Trex DP core 1 _t-rex-64 [.] common_ring_mc_dequeue 0.56% 18 Trex DP core 1 _t-rex-64 [.] rte_memcpy_generic.constprop.17 0.41% 13 Trex DP core 1 _t-rex-64 [.] memcpy@plt 0.31% 1 Trex DP core 1 [kernel.vmlinux] [k] _raw_spin_lock_irq 0.25% 8 Trex DP core 1 _t-rex-64 [.] CCoreEthIFStateless::send_node 0.12% 4 Trex DP core 1 [kernel.vmlinux] [k] ktime_get 0.09% 3 Trex DP core 1 _t-rex-64 [.] CCoreEthIF::send_burst 0.06% 2 Trex DP core 1 [kernel.vmlinux] [k] trigger_load_balance 0.03% 1 Trex DP core 1 [kernel.vmlinux] [k] rcu_bh_qs 0.03% 1 Trex DP core 1 _t-rex-64 [.] rte_delay_us_block 0.03% 1 Trex DP core 1 [kernel.vmlinux] [k] apic_timer_interrupt 0.03% 1 Trex DP core 1 [kernel.vmlinux] [k] cpuacct_charge 0.03% 1 Trex DP core 1 [unknown] [k] 0x00000000005f080a 0.03% 1 Trex DP core 1 [kernel.vmlinux] [k] task_tick_fair 0.03% 1 Trex DP core 1 [kernel.vmlinux] [.] irq_return 0.00% 1 swapper [kernel.vmlinux] [k] do_nmi 0.00% 3 swapper [kernel.vmlinux] [k] native_write_msr_safeIs this what we should expect to see when implementing multiple streams/flows?Thanks,-Andrew
--
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+unsubscribe@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/CAD5-U7RLXL1WRiQHL%3DDeN-yUA_OSb6TDoBRHo1FX9We9KgvhYg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/CAJysGCTwFJaPVmD1kKQ0z8HpPePik%2BbPQ9eHJ65Gv%3DXGoo2_EA%40mail.gmail.com.
Hi,>Â I don't think TRex can run beyond 14 cores currently, right?Should be able to...
>Â pair of ports, 1 port per cardDo the ports share same NUMA?
Performance-wise, each pair of ports should belong to same NUMA as CPU core to which they belong.Please read following sections of docs:Could you share the Python profile you are using to create traffic in this example?
Maybe you can improve the "modify headers" program AKA Field engine by reusing same variable and writing it to different offsets with added/subtracted value.Did you record with perf only single thread of TRex? There is only 1 core in your screenshots, hope you are using other cores as well...
--
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/CAD5-U7RLXL1WRiQHL%3DDeN-yUA_OSb6TDoBRHo1FX9We9KgvhYg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Hi Andrew,Few comments:1. Perf is problematic with TRex's regular build mode.  this is because delays are not being executed as system calls such as nanosleep.  instead we use pause in a loop - this is way more accurate.  Â  that's why, for example, in your first snapshot, you see rte_delay_us_block 60%  which is probably dead time for delays.  I suggest you do this:  Â  in TRex TUI go to CPU utilization and send the snapshot  see here how:2. if you really want perf, I've added a compilation flag to allow a more friendly version for PERF:this will switch TRex sleeps to be nanosleep (less accurate but great for debug with perf)also it will disregard full queue to not confuse perf with retries of TRex.Regarding the performance issues,Can you send the CPU util from the TUI and show that all the CPUs are 100% ?
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/CAD5-U7RLXL1WRiQHL%3DDeN-yUA_OSb6TDoBRHo1FX9We9KgvhYg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/CAJysGCTwFJaPVmD1kKQ0z8HpPePik%2BbPQ9eHJ65Gv%3DXGoo2_EA%40mail.gmail.com.
----Itay Marom
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/CAD5-U7Snne%2BOLtUaj%2BS7wuCi_3t9a2TAdSsm-ig%2B-5A-i0CQsQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Cpu Util(%) Thread | Avg | Latest | -1 | -2 | -3 | -4 | -5 | -6 | -7 | -8 0 (0) | 92 | 92 | 92 | 91 | 91 | 92 | 91 | 92 | 93 | 94 1 (IDLE) | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 2 (1) | 96 | 95 | 95 | 96 | 96 | 96 | 96 | 95 | 94 | 95 3 (IDLE) | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 4 (0) | 92 | 93 | 93 | 91 | 91 | 93 | 93 | 93 | 93 | 93 5 (IDLE) | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 6 (1) | 88 | 88 | 88 | 88 | 88 | 88 | 88 | 88 | 87 | 87 7 (IDLE) | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@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/CAD5-U7RLXL1WRiQHL%3DDeN-yUA_OSb6TDoBRHo1FX9We9KgvhYg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/CAJysGCTwFJaPVmD1kKQ0z8HpPePik%2BbPQ9eHJ65Gv%3DXGoo2_EA%40mail.gmail.com.
--Itay Marom
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/CAD5-U7Snne%2BOLtUaj%2BS7wuCi_3t9a2TAdSsm-ig%2B-5A-i0CQsQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--HanohSent from my iPhone
c.start(ports = [port_a, port_b], mult = rate, core_mask=STLClient.CORE_MASK_PIN)
for Python API:c.start(ports = [port_a, port_b], mult = rate, core_mask=STLClient.CORE_MASK_PIN)
Hi Andrew,
Not sure I understand.."our script loses our connection to the trex server when we connect via 'trex-console'"do you mean the ports are acquired by the console ?so use TRex conosle in read only mode../trex-console -rÂ
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/CAPXuVfcJEyeXGfiihMGsfX97getjuTwJ21v7dVaoVYeY8pUeaw%40mail.gmail.com.
>>>>>>>>>>>>>> it, send an email to trex-tgn+unsubscribe@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/CAD5-U7RLXL1WRiQHL%3DDeN-yUA_OSb6TDoBRHo1FX9We9KgvhYg%40mail.gmail.com.
>>>>>>>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> 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+unsubscribe@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/CAJysGCTwFJaPVmD1kKQ0z8HpPePik%2BbPQ9eHJ65Gv%3DXGoo2_EA%40mail.gmail.com.
>>>>>>>>>>>>>
>>>>>>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Itay Marom
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> 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+unsubscribe@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/CAD5-U7Snne%2BOLtUaj%2BS7wuCi_3t9a2TAdSsm-ig%2B-5A-i0CQsQ%40mail.gmail.com.
>>>>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Hanoh
>>>>>>>>>> Sent from my iPhone
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Itay Marom
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Itay Marom
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Itay Marom
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Itay Marom
>>>>
>>>> --
>>>> 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+unsubscribe@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/CAPXuVfcJEyeXGfiihMGsfX97getjuTwJ21v7dVaoVYeY8pUeaw%40mail.gmail.com.
>>>>
>>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>
>>
>>
>> --
>> Hanoh
>> Sent from my iPhone
>
>
> --
> 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+unsubscribe@googlegroups.com.
> To post to this group, send email to trex...@googlegroups.com.
> To view this discussion on the web visit
>>> >>>>>>>>>>>>>> trex-tgn+unsubscribe@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/CAD5-U7RLXL1WRiQHL%3DDeN-yUA_OSb6TDoBRHo1FX9We9KgvhYg%40mail.gmail.com.
>>> >>>>>>>>>>>>>> For more options, visit
>>> >>>>>>>>>>>>>> https://groups.google.com/d/optout.
>>> >>>>>>>>>>>>>
>>> >>>>>>>>>>>>>
>>> >>>>>>>>>>>>> --
>>> >>>>>>>>>>>>> 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+unsubscribe@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/CAJysGCTwFJaPVmD1kKQ0z8HpPePik%2BbPQ9eHJ65Gv%3DXGoo2_EA%40mail.gmail.com.
>>> >>>>>>>>>>>>>
>>> >>>>>>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> --
>>> >>>>>>>>>>>> Itay Marom
>>> >>>>>>>>>>>
>>> >>>>>>>>>>> --
>>> >>>>>>>>>>> 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+unsubscribe@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/CAD5-U7Snne%2BOLtUaj%2BS7wuCi_3t9a2TAdSsm-ig%2B-5A-i0CQsQ%40mail.gmail.com.
>>> >>>>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>> >>>>>>>>>>
>>> >>>>>>>>>> --
>>> >>>>>>>>>> Hanoh
>>> >>>>>>>>>> Sent from my iPhone
>>> >>>>>>>>>
>>> >>>>>>>>>
>>> >>>>>>>>>
>>> >>>>>>>>>
>>> >>>>>>>>> --
>>> >>>>>>>>> Itay Marom
>>> >>>>>>>>
>>> >>>>>>>>
>>> >>>>>>>
>>> >>>>>>>
>>> >>>>>>>
>>> >>>>>>> --
>>> >>>>>>> Itay Marom
>>> >>>>>>
>>> >>>>>>
>>> >>>>>>
>>> >>>>>>
>>> >>>>>> --
>>> >>>>>> Itay Marom
>>> >>>>>
>>> >>>>>
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>> --
>>> >>>> Itay Marom
>>> >>>>
>>> >>>> --
>>> >>>> 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+unsubscribe@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/CAPXuVfcJEyeXGfiihMGsfX97getjuTwJ21v7dVaoVYeY8pUeaw%40mail.gmail.com.
>>> >>>>
>>> >>>> For more options, visit https://groups.google.com/d/optout.
>>> >>>
>>> >>>
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> Hanoh
>>> >> Sent from my iPhone
>>> >
>>> >
>>> > --
>>> > 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+unsubscribe@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/CAJysGCRk4JyjrRC5_w_WGf%2B8ePRy6Kwng3-BusydPao3sVR1Yw%40mail.gmail.com.
>>> >
>>> > For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>>
>> --
>> Itay Marom
>
>
>
>
> --
> Itay Marom
>
> --
> 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+unsubscribe@googlegroups.com.
> To post to this group, send email to trex...@googlegroups.com.
> To view this discussion on the web visit