Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Zenarmor (Sensei)
»
'do not pin engine packet processors to dedicated CPU cores' broken
« previous
next »
Print
Pages: [
1
]
Author
Topic: 'do not pin engine packet processors to dedicated CPU cores' broken (Read 2258 times)
johndchch
Jr. Member
Posts: 64
Karma: 12
'do not pin engine packet processors to dedicated CPU cores' broken
«
on:
August 09, 2023, 10:37:31 pm »
despite having the option 'do not pin engine packet processors to dedicated CPU cores' selected I can see that eastpect is running ONLY on cpu 0 ( and watching core loading with htop whilst stress testing confirms this )
cpuset -g on the easptect pid gives this :
Eastspect Instance 0 pid= 61127
current cpu affinity
pid 61127 mask: 0
pid 61127 domain policy: first-touch mask: 0
if I manually set the cpu mask to all cores using cpuset I see what I would expect and much more even cpu utilisation at high loads
Eastspect Instance 0 pid= 61127
current cpu affinity
pid 61127 mask: 0, 1, 2, 3, 4, 5, 6, 7
pid 61127 domain policy: first-touch mask: 0
If I un-tick 'do not pin' it sets affinity to cpu 1 as previously, so looks like in the new version there's been some sort of regression in the 'do not pin' code ( ticking it now basically pins the eastpect process to cpu 0 - which is obviously NOT what is intended )
Logged
sy
Hero Member
Posts: 593
Karma: 44
Re: 'do not pin engine packet processors to dedicated CPU cores' broken
«
Reply #1 on:
August 09, 2023, 11:57:27 pm »
Hi,
Can you share config and logs via “Have Feedback” option at the bottom right corner of gui?
Logged
johndchch
Jr. Member
Posts: 64
Karma: 12
Re: 'do not pin engine packet processors to dedicated CPU cores' broken
«
Reply #2 on:
August 10, 2023, 12:05:04 am »
logs etc sent
note that I re-enabled the cron job I used to have prior to the GUI option to un-pin, so if the logs include the current cpuset output for eastspect it'll show it using 0-7 due to the cron job 'un-pinning' the process - without the cron job easpect pins to cpu 0 if 'do not pin' is selected, and defaults back to cpu 1 if 'do not pin' is unticked
Logged
athurdent
Sr. Member
Posts: 251
Karma: 23
Re: 'do not pin engine packet processors to dedicated CPU cores' broken
«
Reply #3 on:
August 10, 2023, 06:06:58 am »
Interesting. I have been waiting for multi core support for a long time now, but according to the roadmap, it’s only 50% and not done yet?
https://www.zenarmor.com/roadmap
@sy could you perhaps clarify?
Logged
sy
Hero Member
Posts: 593
Karma: 44
Re: 'do not pin engine packet processors to dedicated CPU cores' broken
«
Reply #4 on:
August 10, 2023, 04:31:59 pm »
Hi,
Multicore support will come with 1.17 release that will be shipped on November.
Logged
athurdent
Sr. Member
Posts: 251
Karma: 23
Re: 'do not pin engine packet processors to dedicated CPU cores' broken
«
Reply #5 on:
August 10, 2023, 06:00:32 pm »
Quote from: sy on August 10, 2023, 04:31:59 pm
Hi,
Multicore support will come with 1.17 release that will be shipped on November.
Awesome! Looking forward to test this with 10G.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Zenarmor (Sensei)
»
'do not pin engine packet processors to dedicated CPU cores' broken