lkml.org 
[lkml]   [2020]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [RFC PATCH v4 00/19] Core scheduling v4
    From
    Date
    On 2020/3/5 12:33, Aaron Lu wrote:
    > On Wed, Mar 04, 2020 at 07:54:39AM +0800, Li, Aubrey wrote:
    >> On 2020/3/3 22:59, Li, Aubrey wrote:
    >>> On 2020/2/29 7:55, Tim Chen wrote:
    > ...
    >>>> In Vinnet's fix, we only look at the currently running task's weight in
    >>>> src and dst rq. Perhaps the load on the src and dst rq needs to be considered
    >>>> to prevent too great an imbalance between the run queues?
    >>>
    >>> We are trying to migrate a task, can we just use cfs.h_nr_running? This signal
    >>> is used to find the busiest run queue as well.
    >>
    >> How about this one? the cgroup weight issue seems fixed on my side.
    >
    > It doesn't apply on top of your coresched_v4-v5.5.2 branch, so I
    > manually allied it. Not sure if I missed something.

    Here is a rebase version on coresched_v5 Vineeth released this morning:
    https://github.com/aubreyli/linux/tree/coresched_V5-v5.5.y-rc1

    >
    > It's now getting 4 cpus in 2 cores. Better, but not back to normal yet..

    I always saw higher weight tasks getting 8 cpus in 4 cores on my side.
    Are you still running 8+16 sysbench cpu threads?

    I replicated your setup, the cpuset with 8cores 16threads, cpu mode 8 sysbench
    threads with cpu.shares=10240, 16 sysbench threads with cpu.shares=2, and here
    is the data on my side.

    weight(10240) weight(2)
    coresched disabled 324.23(eps) 356.43(eps)
    coresched enabled 340.74(eps) 311.62(eps)

    It seems higher weight tasks win this time and lower weight tasks have ~15%
    regression(not big deal?), did you see anything worse?

    Thanks,
    -Aubrey

    \
     
     \ /
      Last update: 2020-03-05 07:11    [W:2.395 / U:0.500 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site