On Thu, Jun 18, 2015 at 02:31:00PM +0800, Wanpeng Li wrote:
On 6/17/15 11:11 AM, Yuyang Du wrote:dbench is on CPU7 and running there?
Hi,How you figure out this one is dbench?
The sched_debug is informative, lets first give it some analysis.
The workload is 12 CPU hogging tasks (always runnable) and 1 dbench
task doing fs ops (70% runnable) running at the same time.
Actually, these 13 tasks are in a task group /autogroup-9617, which
has weight 1024.
So the 13 tasks at most can contribute to an average of 79 (=1024/13)
to the group entity's load_avg:
cfs_rq[0]:/autogroup-9617
.se->load.weight : 2
.se->avg.load_avg : 0
cfs_rq[1]:/autogroup-9617
.se->load.weight : 80
.se->avg.load_avg : 79
cfs_rq[2]:/autogroup-9617
.se->load.weight : 79
.se->avg.load_avg : 78
cfs_rq[3]:/autogroup-9617
.se->load.weight : 80
.se->avg.load_avg : 81
cfs_rq[4]:/autogroup-9617
.se->load.weight : 80
.se->avg.load_avg : 79
cfs_rq[5]:/autogroup-9617
.se->load.weight : 79
.se->avg.load_avg : 77
cfs_rq[6]:/autogroup-9617
.se->load.weight : 159
.se->avg.load_avg : 156
cfs_rq[7]:/autogroup-9617
.se->load.weight : 64 (dbench)
.se->avg.load_avg : 50