Can I use main lcore as a worker core?

Stephen Hemminger stephen at networkplumber.org
Tue Mar 18 22:55:52 CET 2025


On Tue, 18 Mar 2025 15:38:31 +0100
Antonio Di Bacco <a.dibacco.ks at gmail.com> wrote:

> When I instantiate a process with 4 cores, I have 3 worker cores and
> one main lcore.
> 
> I'm wasting an isolated core (the main lcore) to do nothing.
> 
> I want to overcome this and use also the main lcore.
> 
> Best regards,
> Anna.

It is often useful to main lcore on non-isolated CPU and have it available
for application control tasks. I.e Don't use it for polling instead block
on epoll etc.


More information about the users mailing list