So I was trying to figure out why I was seeing this odd placement when i have "workers 3". This is on a macchiatobin. Please note that while lcore seems OK (since the code appears to use lcore 1 if "main-core" is not given)), the core_id values seem wrong.
root@m1:~# vppctl show threads ID Name Type LWP Sched Policy (Priority) lcore Core Socket State 0 vpp_main 4397 other (0) 1 0 0 1 vpp_wk_0 workers 4400 other (0) 0 0 0 2 vpp_wk_1 workers 4401 other (0) 2 0 1 3 vpp_wk_2 workers 4402 other (0) 3 1 1 If I specify "main-core 0" then the core and socket values are correct. root@m1:~# vppctl show threads ID Name Type LWP Sched Policy (Priority) lcore Core Socket State 0 vpp_main 4405 other (0) 0 0 0 1 vpp_wk_0 workers 4407 other (0) 1 1 0 2 vpp_wk_1 workers 4408 other (0) 2 0 1 3 vpp_wk_2 workers 4409 other (0) 3 1 1 root@m1:~# Explicitly setting "main-core" to 1 (which is the default) exhibits the first odd core value output. I'm concerned that one core is not being used in the first case. I'm working to get some cpu monitor installed here to actually see if all the cores are in use or not, but thought I would ask in case someone knows the answer to this already. Thanks, Chris.
signature.asc
Description: Message signed with OpenPGP
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13683): https://lists.fd.io/g/vpp-dev/message/13683 Mute This Topic: https://lists.fd.io/mt/32799378/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-