Re: uptime increases during suspend

From: Rafael J. Wysocki
Date: Sun Mar 26 2006 - 16:36:50 EST


On Saturday 25 March 2006 16:18, Jonathan Black wrote:
> On Sat, Mar 25, 2006 at 04:10:16PM +0100, Rafael J. Wysocki wrote:
> > On Saturday 25 March 2006 16:02, Jonathan Black wrote:
> > > I'd like to enquire about the following behaviour:
> > >
> > > $ uptime && sudo hibernate && uptime
> > > 14:18:51 up 1 day, 4:12, 2 users, load average: 0.58, 3.30, 2.42
> > > 14:23:46 up 1 day, 4:17, 2 users, load average: 20.34, 7.74, 3.91
> > >
> > > I.e. the system was suspended to disk for 5 minutes, but the value
> > > reported by 'uptime' has increased by as much, as if it had actually
> > > continued running during that time.
> > >
> > > I'm using Linux 2.6.16 with the latest version of the Suspend 2 patch
> > > (2.2.1), but Nigel its maintainer says that this isn't actually related
> > > to his suspend code, essentially the same would happen using the swsusp
> > > code currently in the kernel, and therefore we need to ask the kernel
> > > time code people about this issue.
> >
> > Is your system an i386 or x86_64?
>
> It is an i386.

This seems to happen on my box either, which is an x86_64, so it looks like
this doesn't depend on the architecture. Investigating.

Rafael
-
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/