Re: partial dumps (was Re: Change default dumpdir to /usr/crash?)

From: Dan Nelson <dnelson_at_allantgroup.com>
Date: Mon, 3 May 2004 10:45:35 -0500
In the last episode (May 03), Andrew Gallatin said:
> Another good idea (perhaps in combination with a larger /var) is to
> accept and port to -current the Duke "partial dump" patches. These
> patches allow the user to optionally dump just the kernel virtual
> address space.  This results in dumps that are generally less than
> 100MB, rather than multiple gigs.
> 
> In nearly all cases, only the kernel address space is needed to
> interpret a dump.  From what I've seen, this is what Solaris, AIX,
> and Tru64 do by default.
> 
> Porting to -current will be non-trivial because of the dump changes
> between 4.x and 5.x.  If I was to do this, is there any chance that
> it could get into the tree?

I would certainly hope so!  Even a 4gb x86 machine that otherwise
doesn't need swap at all would benefit, and would reduce the downtime
due to the panic needing to write a full dump, and savecore needing to
copy it out of swap.

-- 
	Dan Nelson
	dnelson_at_allantgroup.com
Received on Mon May 03 2004 - 06:45:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:52 UTC