Hi,
On Tue, Jun 27, 2006 at 10:16:03PM +1000, Nigel Cunningham wrote:
> Hi.
>
> On Tuesday 27 June 2006 22:07, Pavel Machek wrote:
> > Hi!
> >
> > > Suspend2 uses the cpu very intensively, with the result that the load
> > > average can be quite high when a cycle has just completed. This in turn
> > > can cause problems with mail delivery and other activities that suspend
> > > activities when the load average gets too high. To avoid this, we suspend
> > > updates of the load average while the freezer is on.
> >
> > If we want to do this at all... why not simply set load average to
> > zero when resume is done?
> >
> > After all, system probably was completely idle for quite a while :-).
>
> Yeah, that's a possibility. Neither seems inherently better to me. Maybe
> others will come up with an argument for one or the other?
I don't know, why would *any* of the processes running on this system
be concerned with how much time this system has been suspended, thrown in
the fridge, shipped overseas and back and then finally resumed?
The current load average, OTOH, seems to be much more important than the time
spent sitting idle gathering dust, since those processes are still running
(after resume, that is) and caring about what other processes do and
what they thus should or shouldn't do based on the activity of others.
OK, some processes might do a time-based and not load-average-based
evaluation (thus there would be a change in time behaviour after resume),
but OTOH many processes *continue* their running state so the load average
should reflect a *continued* state, not a very drastic change to zero
(and then sharply climbing back up from zeroed state).
BTW, thanks a lot for this incredible patch activity now, Nigel!
(and thanks to all for such a nice functionality!)
Andreas Mohr
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]