R&D/DPDK

vpp threads

sunshout 2017. 12. 8. 18:32

Default setting


DBGvpp# show threads

ID     Name                Type        LWP     Sched Policy (Priority)  lcore  Core   Socket State

0      vpp_main                        8745    other (0)                0      0      0

1                          stats       8750    other (0)                0      0      0



Set number of worker threads

at /etc/vpp/startup.conf


cpu {

    workers 2

}



DBGvpp# show threads

ID     Name                Type        LWP     Sched Policy (Priority)  lcore  Core   Socket State

0      vpp_main                        8856    other (0)                0      0      0

1      vpp_wk_0            workers     8861    other (0)                1      1      0

2      vpp_wk_1            workers     8862    other (0)                2      0      0

3                          stats       8863    other (0)                0      0      0