[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aDgrOWgYKb1_xMT6@jlelli-thinkpadt14gen4.remote.csb>
Date: Thu, 29 May 2025 11:39:05 +0200
From: Juri Lelli <juri.lelli@...hat.com>
To: Marcel Ziswiler <marcel.ziswiler@...ethink.co.uk>
Cc: luca abeni <luca.abeni@...tannapisa.it>, linux-kernel@...r.kernel.org,
Ingo Molnar <mingo@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Vineeth Pillai <vineeth@...byteword.org>
Subject: Re: SCHED_DEADLINE tasks missing their deadline with
SCHED_FLAG_RECLAIM jobs in the mix (using GRUB)
Hi Marcel,
On 25/05/25 21:29, Marcel Ziswiler wrote:
> Hi Luca
>
> On Fri, 2025-05-23 at 21:46 +0200, luca abeni wrote:
> > Hi Marcel,
> >
> > sorry, but I have some additional questions to fully understand your
> > setup...
>
> No Problem, I am happy to answer any questions :)
>
> > On Mon, 19 May 2025 15:32:27 +0200
> > Marcel Ziswiler <marcel.ziswiler@...ethink.co.uk> wrote:
> > [...]
> > > > just a quick question to better understand your setup (and check
> > > > where the issue comes from):
> > > > in the email below, you say that tasks are statically assigned to
> > > > cores; how did you do this? Did you use isolated cpusets,
> > >
> > > Yes, we use the cpuset controller from the cgroup-v2 APIs in the
> > > linux kernel in order to partition CPUs and memory nodes. In detail,
> > > we use the AllowedCPUs and AllowedMemoryNodes in systemd's slice
> > > configurations.
> >
> > How do you configure systemd? I am having troubles in reproducing your
> > AllowedCPUs configuration... This is an example of what I am trying:
> > sudo systemctl set-property --runtime custom-workload.slice AllowedCPUs=1
> > sudo systemctl set-property --runtime init.scope AllowedCPUs=0,2,3
> > sudo systemctl set-property --runtime system.slice AllowedCPUs=0,2,3
> > sudo systemctl set-property --runtime user.slice AllowedCPUs=0,2,3
> > and then I try to run a SCHED_DEADLINE application with
> > sudo systemd-run --scope -p Slice=custom-workload.slice <application>
>
> We just use a bunch of systemd configuration files as follows:
>
...
> > How are you configuring the cpusets?
>
> See above.
>
Could you please add 'debug sched_debug sched_verbose' to your kernel
cmdline and share the complete dmesg before starting your tests?
Also, I am attaching a script that should be able to retrieve cpuset
information if you run it with
# python3 get_cpuset_info.py > cpuset.out
Could you please also do that and share the collected information?
It should help us to better understand your setup and possibly reproduce
the problem you are seeing.
Thanks!
Juri
View attachment "get_cpuset_info.py" of type "text/plain" (1767 bytes)
Powered by blists - more mailing lists