Re: Fwd: Graphical Shutdown

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2007-09-17 at 15:17 -0400, Bill Nottingham wrote:
> I'd need to benchmark some more, but I suspect the delay is because of
> a linear sequence of:
> 
> - kill -TERM $pid
> - wait to see if it's dead
> - kill -KILL $pid
> 
> for each service, as opposed to a global
> 
> - kill -TERM $everything
> - wait a second
> - kill -KILL $everything

You're talking academically, right? Because the second scenario is never
going to happen, right?

The second scenario is a fixed-time scenario (1+ second) but is wrong in
a couple of levels. I think we can assume that some services need to be
shut down in a certain sequence if they're to be properly shut down at
all. But even if we disregarded that and let the services shut down as
best they can, killing all processes at the same time could result in
the system thrashing at bottlenecks like harddisk access.

What would the point be of comparing the two speeds, then if the "best
case scenario" isn't actually useful?

There are certain baseline needs that have to be satisfied before any
time comparison are to be made, IMO.
--

Richi Plana

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux