lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z3xKJsLyVgLNUWc7@pavilion.home>
Date: Mon, 6 Jan 2025 22:24:54 +0100
From: Frederic Weisbecker <frederic@...nel.org>
To: Costa Shulyupin <costa.shul@...hat.com>
Cc: linux-kernel@...r.kernel.org, Waiman Long <longman@...hat.com>
Subject: Re: [RFC PATCH v1] stop_machine: Add stop_housekeeping_cpuslocked()

Le Mon, Jan 06, 2025 at 03:08:11PM +0200, Costa Shulyupin a écrit :
> On Wed, 18 Dec 2024 at 19:38, Frederic Weisbecker <frederic@...nel.org> wrote:
> > And so given the cost of such analysis and resulting possible patches, here
> > is an important question: is it worth the effort? What is the usecase of
> > shutting down a CPU while other isolated CPUs run critical isolated stuff?
> 
> The goal is to implement dynamic CPU isolation for realtime tasks such as DPDK.
> 
> Thomas Gleixner in https://lore.kernel.org/lkml/87bjz2210r.ffs@tglx/ suggested:
> "CPU hotplug solves this problem without any hackery. Take a CPU offline,
> change the mask of that CPU and bring it online again. Repeat until all
> CPU changes are done."
> 
> Unfortunately, CPU HP interferes with realtime tests and is
> unsuitable for dynamic CPU isolation.
> 
> Meanwhile, the maximum number of hyperthreads is climbing to 1024,
> increasing the demand for CPU HP.

I must confess I don't understand well your constraints. Why would you
change the set of isolated CPUs while running realtime tests (btw. did you mean
"tasks"?).

Do I understand it correctly that your server may run different kinds of
workloads concurrently, some of them isolated and some of them not, and these
workloads may be added / removed concurrently _anytime_? And therefore
a newly added isolated workload (which then adds CPUs to the isolated set)
mustn't disturb unrelated already running isolated workloads?

When you refer to realtime tasks, do you mean isolated?

Thanks.

> 
> Thank you,
> Costa
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ