Index | Thread | Search

From:
"Theo de Raadt" <deraadt@openbsd.org>
Subject:
Re: pools: limit the number of items that can be kept in per cpu cache lists
To:
David Gwynne <david@gwynne.id.au>
Cc:
tech@openbsd.org
Date:
Thu, 29 Jan 2026 19:00:44 -0700

Download raw body.

Thread
David Gwynne <david@gwynne.id.au> wrote:

> the problem with growing the per cpu caches (magazines) too large
> is that one cpu can't (by design) take memory from the magazine on
> another cpu when there's a memory shortage. it's better to have the
> idle items in the depot so they're accessible to any cpu that needs
> them.

well kind of they can

the pagedaemon rips one cpu
if the pagedaemon runs on another, it eventually rips from there

How small are your machines?