On 10/09/08 12:32, Bill Holler wrote: > This is a great start. > > It would be really helpful if the hardware could export > multiple levels of C-State power-dependency domains > such as domains for each C-State (C2, C3, etc). > The PAD can do a much better job scheduling if it is aware >
We would also like to have idle policies based on the state the other CPUs within an idle CPU's multiple dependency domains. For example an idle CPU might decide to go into C2 instead of C3 if other CPU(s) in its C3 dependency domain are almost always active but other CPU(s) in its C2 dependency domain are often idle. Bill > of these multiple levels. The current implementation > appears to be missing the equivalence of a C3 dependency > domain. > > Regards, > Bill > > > On 10/09/08 07:58, Li, Aubrey wrote: > >> Here is a patch to create processor groups for idle(c-state) domain. >> The patch is against Eric's pad policy patch(which is not committed >> into pad-gate?). And from kstat output, we already have four idle >> power domains while we have one active power domain now. >> >> Thanks, >> -Aubrey >> >> module: pg instance: 3 >> name: pg class: pg >> crtime 40.266315426 >> hardware CPU PM Active Power Domain >> id 3 >> instance_id 0 >> ncpus 8 >> pg_class cmt >> snaptime 733.024561714 >> >> module: pg instance: 4 >> name: pg class: pg >> crtime 40.266828159 >> hardware CPU PM Idle Power Domain >> id 4 >> instance_id 0 >> ncpus 2 >> pg_class cmt >> snaptime 733.024696286 >> >> module: pg instance: 6 >> name: pg class: pg >> crtime 44.461243528 >> hardware CPU PM Idle Power Domain >> id 6 >> instance_id 1 >> ncpus 2 >> pg_class cmt >> snaptime 733.024980929 >> >> module: pg instance: 8 >> name: pg class: pg >> crtime 44.509325885 >> hardware CPU PM Idle Power Domain >> id 8 >> instance_id 2 >> ncpus 2 >> pg_class cmt >> snaptime 733.025245554 >> >> module: pg instance: 10 >> name: pg class: pg >> crtime 44.569613983 >> hardware CPU PM Idle Power Domain >> id 10 >> instance_id 3 >> ncpus 2 >> pg_class cmt >> snaptime 733.025510271 >> >> >> ==================================================
