Re: [PATCH v5] sched: Avoid unnecessary work in reweight_entity
From: Srivatsa Vaddagiri
Date: Mon Feb 27 2012 - 01:44:36 EST
* Michael Wang <wangyun@xxxxxxxxxxxxxxxxxx> [2012-02-27 14:21:57]:
> I think I really need some study on cgroup first...I've done some totally useless
> test :( ,
Yes!
> but still confused that why sys time reduced?
Could be just noise ..
> And I got a server with Redhat now, so I will do:
>
> 1. cgcreate -g cpu:/subcg1
> 2. echo $$ > /cgroup/cpu/subcg1/tasks
> 3. open another shell
> 4. do 1~3 multi times, plan to get 7 cpu cgroup with 7 shell attached to each one.
> 5. run kernbench in each shell
>
> Please tell me if I missed some thing :)
That should stress the cgroup-specific paths of scheduler!
-vatsa
--
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/