Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Limiting Kernel threads to specific core

32 views
Skip to first unread message

Pavankumar S V

unread,
Jun 16, 2023, 11:57:53 AM6/16/23
to
Hello,

I have a device with two cores core0 and core1. By default, both cores are utilized by Linux kernel to execute the kernel threads. I want to limit all kernel threads to core0 so that my application can run in another core without any interruption which can reduce the execution time of my application as per my understanding. Please let me know if can achieve this.

I have tried to set cpu affinity 0x0 to kthreadd(parent of all kernel threads). But same cpu affinity is not getting applied to all of its child kernel threads. What am I doing wrong here if this right approach to achieve limiting kernel threads to core0?
0 new messages