Date: Mon, 26 Nov 2012 22:15:27 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> To: Bas Smeelen <b.smeelen@ose.nl> Cc: freebsd-stable@freebsd.org Subject: Re: Help review the FAQ Message-ID: <50B3DBEF.1060303@quip.cz> In-Reply-To: <50B3D222.30209@ose.nl> References: <CAF6rxgk9UJRk07SXfLzK97ZaTO0aTsoUQ9-06UzdnGV4JHL4ug@mail.gmail.com> <1353868081735-5764056.post@n5.nabble.com> <CAF6rxgkXOjRfupbRmfGCAsDeCMnP70JGdywxBw=QToyTOqpVmA@mail.gmail.com> <1353941396782-5764313.post@n5.nabble.com> <50B38A3F.6020001@gmail.com> <1353945307512-5764351.post@n5.nabble.com> <1353945435502-5764353.post@n5.nabble.com> <50B3D222.30209@ose.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Bas Smeelen wrote: > On 11/26/12 16:57, Jakub Lach wrote: [...] > Thanks Miroslav Lachman for the reply with the correct sizes for GENERIC > kernels. > > Change FAQ 8.3 Why is my kernel so big? > > Nowadays kernels are compiled in /debug mode by default/. Kernels built > in debug mode contain many symbols that are used for debugging, thus > greatly increasing the size of the kernel. Note that there will be > little or no performance decrease from running a debug kernel, and it is > useful in case of a system panic. > > However.... I think that debug symbols are in another files (*.symbols) FreeBSD 8.3-RELEASE amd64 GENERIC > ls -lh /boot/kernel/kernel* -r-xr-xr-x 1 root wheel 12M May 8 2012 /boot/kernel/kernel -r-xr-xr-x 1 root wheel 50M May 8 2012 /boot/kernel/kernel.symbols So a kernel alone has 12MB, with debug symbols 62MB (12+50). And all *.symbols files can be deleted (if more space on /boot is needed) I don't know how it should be mentioned in FAQ. Miroslav Lachman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50B3DBEF.1060303>