|
From: <zha...@bj...> - 2006-11-13 06:10:30
|
Thanks,Dave I'm also in trouble with questions as follows: The new proc-fs interface can associate "op" with applications,but,if an application have many states,like a JAVA game, energy will be supplied when playing while going to sleep when not playing for a long time.Is there a way to deal with this? Another question,also take the JAVA game for example,users can get their preferred game from Internet or other sources.How can DPM manages these "Extended" applications which manufacturer has not specific their "op" at the factory? I think,if the core's load is heavy,it should switch to a more high speed "op",and to low speed "op" when is light automately and intelligently.Then,scaling the CPU's load is a problem.Any means can be used to achieve this? Thanks and best wishes! Barry Beijing,China Actually, the new version of DPM I'm working on now just does that. You can set the operating point you want on a per process basis and any time that process is exec'd or context switched the associated operating point will be set by the kernel. There is a new procfs interface to simply set the operating point for a process. It makes it very simple to associate operating points with specific applications on the system. On embedded system where typically all the applications are installed at the factory the manufacturer knows which operating point they'd like for each process. With the new interface they can set them at boot time and the system will handle all the operating state changes invisibly to the applications. Dave On 11/8/06, zha...@bj... <zha...@bj...> wrote: > I'm very interested in DPM for linux.After read the document-"Dynamic Power > Management for Embedded Systems V1.1" and the source file of DPM patch for > 2.6.16 kernel and pxa27x,a question comes to me:how can DPM manage the > applications up layer? Maybe the "sysfs" or "proc" interface can be > utilized. But,a optimal idea is that - DPM is transparent to all > applications.That is to say, we should realize the "Policy Manager" refered > by this document,but how? Leave the linux core monitoring the tasks > schedule and then trigger "operation point" switch? > > Thanks and best wishes! > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Dynamicpower-devel mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynamicpower-devel > |