in case you need it, i am resending the script because it was blocked On Fri, Feb 22, 2008 at 2:55 PM, Giannis Galanis <[EMAIL PROTECTED]> wrote:
> I have noticed that an idle machine will resume for some time, and suspend > again, several times for no reason. > > I wrote a simple script that checks every 1sec whether the machine is > suspended on not. > It gives a timeline of Suspended times and Resumed times. > > > A left an XO completely idle overnight for 12h. > > The results were: > > It resumed about 80 times > It was resuming every 1m to 10min > The total suspended time percentage was 90% > > Do these numbers seem normal? > > Chris was mentioning the other day about the additional power consumed to > resume the XO. > I can assume that resuming/suspending at a regular basis is not very power > efficient. > > > Also, this script made it easy to examine what happens to timeouts that > are interrupted with suspends. > > The result is that the suspended time extends the timeout. The timeout > does not expire relative to the absolute time, but the time the CPU is > alive. > So if a 10min timeout is interrupted by a 2min suspend, the timeout will > expire 12min after the point it was executed. > Scott, does this agree with what you expected? >
suspendtime
Description: Binary data
_______________________________________________ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel