On Sat, 2004-09-25 at 16:07, Peter Jeremy wrote: > On Sat, 2004-Sep-25 11:55:49 +0200, Pawel Jakub Dawidek wrote: > >On Fri, Sep 24, 2004 at 09:32:30AM -0500, Dan Nelson wrote: > >+> Considering that the system is going down anyway, why bother? > > > >Because if you have swap on e.g. gmirror device, gmirror will rebuild > >components on every boot, because components are marked dirty - > >they were open for writing on shutdown, so it looks like a power failure. > > As an alternative approach, rather than marking swap clean on a > shutdown, why not have a flag in the object's metadata that says "this > object doesn't need synchronising on a reboot". If the flag is set, > then gmirror just sets both sides as synchronised and active on boot. > This is the approach taken by HP Tru64 LSM. (Though one improvement > you could make over LSM would be to document the flag). Couldn't you just kill all the process' and then (since everything else should be wired memory anyway) just disable swap without even bothering to swap it back into RAM? I mean, you are shutting down anyway. Who cares if the programs are in memory or not, they are supposed to be shut down.Received on Sat Sep 25 2004 - 21:07:59 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:13 UTC