lkml.org 
[lkml]   [2021]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH v3 1/4] sched: cgroup SCHED_IDLE support
    On Mon, Sep 6, 2021 at 5:47 AM <alexs@kernel.org> wrote:
    >
    > ...
    >
    > > For now, we maintain the existing SCHED_IDLE semantics. Future patches
    > > may make improvements that extend how we treat SCHED_IDLE entities.
    > >
    > > The per-task_group idle field is an integer that currently only holds
    > > either a 0 or a 1. This is explicitly typed as an integer to allow for
    > > further extensions to this API. For example, a negative value may
    > > indicate a highly latency-sensitive cgroup that should be preferred for
    > > preemption/placement/etc.
    >
    > Hi Josh,
    >
    > Sounds there is a ready solutions for colocation problem, isn't there?
    > I'd like to evaluate its effects if it could be sent out.
    >
    > Thanks
    > Alex
    > >

    Hi Alex,

    I don't have a patch written just yet. The basic idea is to utilize
    the (negative) idle values to make relative decisions about task
    preemption and wakeup vruntime placement.

    Could you describe your use case?

    Best,
    Josh

    \
     
     \ /
      Last update: 2021-09-08 20:37    [W:2.799 / U:0.248 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site