Messages in this thread | | | Date | Tue, 7 Nov 2023 14:24:28 +0100 | Subject | Re: [PATCH v5 7/7] sched/fair: Fair server interface | From | Daniel Bristot de Oliveira <> |
| |
On 11/7/23 13:38, Peter Zijlstra wrote: > On Sat, Nov 04, 2023 at 11:59:24AM +0100, Daniel Bristot de Oliveira wrote: >> Add an interface for fair server setup on debugfs. >> >> Each rq have three files under /sys/kernel/debug/sched/rq/CPU{ID}: >> >> - fair_server_runtime: set runtime in ns >> - fair_server_period: set period in ns >> - fair_server_defer: on/off for the defer mechanism >> >> Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org> >> --- > > I did the below, that gives us: > > /debug/sched/fair_server/cpuX/{runtime,period,defer}
right!
> I wanted to also add: > > /debug/sched/fair_server/{runtime,period,defer} > > to more easily set all CPUs to the same value, but then figured > userspace will just have to loop.
I thought about that too... and had the same conclusion... let 'em loop.
-- Daniel
| |