On Tue, 17 Aug 2021 09:19:40 +0000
"Dong, Shaojie (NSB - CN/Hangzhou)" <shaojie.d...@nokia-sbell.com> wrote:

> Hi, Stephen
> 
> Thanks for your quickliy reply
> 
> I found the additional thread was created by following path on DPDK 20.11 
> version
> 
> rte_eal_init()->rte_telemetry_init()->telemetry_v2_init()->pthread_create()
> 
> Only call pthread_create() function to create this additional thread and then 
> sleep all the time
> DPDK code do not set this thread's name
> So it inherits the main thread's name
> 
> Two threads with the same name are easy to confuse by business code
> Does DPDK code support its name change ?
> 
> It was not worker/slave thread

The telemetry should be optional.

The thread name doesn't matter, it is only there for ps.
If you know the thread id, you can change it with pthread_setname_np

Reply via email to