[dpdk-users] [DPDK 20.11] rte_eal_init() appear additional thread

David Marchand david.marchand at redhat.com
Tue Aug 17 11:26:24 CEST 2021


On Tue, Aug 17, 2021 at 11:19 AM Dong, Shaojie (NSB - CN/Hangzhou)
<shaojie.dong at nokia-sbell.com> wrote:
> 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

telemetry threads are renamed since 5da7736f8c53 ("telemetry: set
socket listener thread name") (with a followup fix).


-- 
David Marchand



More information about the users mailing list