Re: [RFC PATCH 0/4] Gang scheduling in CFS

From: Nikunj A Dadhania
Date: Mon Dec 19 2011 - 20:55:39 EST


On Mon, 19 Dec 2011 16:51:41 +0100, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> Anyway, I had a look at your patches and I don't see how could ever
> work. You gang-schedule cgroup entities, but there's no guarantee the
> load-balancer will have at least one task for each group on every cpu.
>
As stated earlier:

The gang scheduling problem can be broken into two parts:
a) Placement of the tasks to be gang scheduled
b) Synchronized scheduling of the tasks across a subset of cpu.

In the patch, I have (b) implemented and placement is done by pinning
the vcpu of a VM in userspace. Yes, thats not the right way.

Effectively, no trouble to the load-balancer here.

Nikunj

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/