From owner-freebsd-stable@FreeBSD.ORG Mon Nov 26 21:15:31 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8B55F263 for ; Mon, 26 Nov 2012 21:15:31 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id 406418FC13 for ; Mon, 26 Nov 2012 21:15:30 +0000 (UTC) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id AEAC528428; Mon, 26 Nov 2012 22:15:29 +0100 (CET) Received: from [192.168.1.2] (unknown [89.177.49.69]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id E1DDF28422; Mon, 26 Nov 2012 22:15:28 +0100 (CET) Message-ID: <50B3DBEF.1060303@quip.cz> Date: Mon, 26 Nov 2012 22:15:27 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.19) Gecko/20110420 Lightning/1.0b1 SeaMonkey/2.0.14 MIME-Version: 1.0 To: Bas Smeelen Subject: Re: Help review the FAQ References: <1353868081735-5764056.post@n5.nabble.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> In-Reply-To: <50B3D222.30209@ose.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Nov 2012 21:15:31 -0000 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