tengine icon indicating copy to clipboard operation
tengine copied to clipboard

WIP: online cpu can be bind by sched_getaffinity()

Open lhanjian opened this issue 1 year ago • 2 comments

nginx's automatic core binding will only bind the cores sequentially from head to tail, and will not obtain the current online cpu.

https://forum.nginx.org/read.php?29,279564,279569#msg-279569

Similar needs and discussions in the nginx community

lhanjian avatar Nov 03 '23 10:11 lhanjian

I convert this PR to draft. There are some compilation error found by test cases. If your pr is ready to review, click ready to review in this page.

chobits avatar Nov 03 '23 14:11 chobits

TODO: also need to create documentation for this feature

chobits avatar Nov 03 '23 14:11 chobits