Skip to contentSkip to conversation

Broken process startup times after suspend (regression)

DISCUSSION Albert Cahalan 2 participants 2 messages May 6, 2007 – May 11, 2007

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines · john stultz

Indeed. The monotonic clock's behavior around suspend and resume is poorly defined. When we increased it, folks didn't like the fact that uptime would increase while a system was suspended.

The uptime really does need to increase during suspend. Otherwise, things get really weird with devices like the OLPC XO which will be sleeping between keystrokes. You could run the device for hours, yet get an uptime of only a few minutes. Suspended time should get counted as stolen time, same as when a hypervisor takes away time.

#1 lore raw

Hi!

Quoted 7 lines
Quoted 6 lines

Indeed. The monotonic clock's behavior around suspend and resume
is poorly defined. When we increased it, folks didn't like the
fact that uptime would increase while a system was suspended.

Quoted 10 lines

The uptime really does need to increase during suspend. Otherwise,
things get really weird with devices like the OLPC XO which will be
sleeping between keystrokes. You could run the device for hours,
yet get an uptime of only a few minutes. Suspended time should get
counted as stolen time, same as when a hypervisor takes away time.

Yes, please. Just revert the offending patches, we don't want another /proc/stat field.
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html