Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 2009 19:26:54 +0300
From:      cronfy <cronfy@gmail.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Max kernel dump size
Message-ID:  <d4ac64920912280826o65e99934s8d684cba2750365c@mail.gmail.com>
In-Reply-To: <44iqbr5ck9.fsf@be-well.ilk.org>
References:  <d4ac64920912261731m752f4d09x32368106bdee46b7@mail.gmail.com>  <44iqbr5ck9.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> > How can I calculate max kernel dump size? I want to create my swap
> partition
> > as small as possible, just to fit kernel dump needs.
>
> I'm not sure you really can.  You'll definitely have enough if you allow
> a bit more than you have memory, but these days that's going to be
> overkill most of the time.
>
>
Yes, at this time I use SWAP = RAM + 1G formula. And yes, this is an
overkill especially for expensive SAS drives. I've noticed that my kernel
dumps do not exceed 2-3.5G usually.

Maybe I can collect stats for amount of Active memory used and assume that
kernel dump will not get larger than, say, Active memory + 50%?



-- 
// cronfy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d4ac64920912280826o65e99934s8d684cba2750365c>