Index | Thread | Search

From:
"Theo de Raadt" <deraadt@openbsd.org>
Subject:
Re: limit softnet threads to number of cpu
To:
Mark Kettenis <mark.kettenis@xs4all.nl>
Cc:
mlarkin@nested.page, bluhm@openbsd.org, tech@openbsd.org
Date:
Mon, 08 Sep 2025 15:52:46 -0600

Download raw body.

Thread
Mark Kettenis <mark.kettenis@xs4all.nl> wrote:

> That is somewhat related to the issue being discussed here.  At least
> my understanding is that NIC queues are tied to softnet threads.  I am
> wondering if creating the softnet threads "on demand" when the network
> drivers attach would make sense.  But I also think that at some point
> we need a way to rebalance the interrupts over the available CPUs.

It makes sense that later on we want to make the connection dynamic.

But if we increase the threads now, the bugs will be found.  Then it
will become worthwhile to do that.