From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 9 17:59:38 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 87C02E95 for ; Tue, 9 Apr 2013 17:59:38 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) by mx1.freebsd.org (Postfix) with ESMTP id 229E1E4D for ; Tue, 9 Apr 2013 17:59:37 +0000 (UTC) Received: by mail-wi0-f177.google.com with SMTP id hm14so3964114wib.16 for ; Tue, 09 Apr 2013 10:59:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=nacq5hWbG+F5gAVs21AC4KFc7a/U5gHc28/KRnOO0Ts=; b=eoypYT9+uZAiA+KY1pI6TykDI9XLj+8OI/OEGA59UXndR/FxzsR+/sWMxR/MYAnV3e PUHAA5FjQONry8Ez4tdMrxBa/sGgTnFLmGGx1KT7G0NwkNozSGSSMBreQPbdQFTRygHj mpUvTWZmmgrVloOj69IcWtStffj9ncb/ZSSDFfahZyUReIQRfvIKeHZzzcHELx3El36B hk+Kjl6O1f4Aqi70Qa2Vq5Br0wfzBExgpnYUMXTBPw2garN+HTV40caewoR9ABsj856K jqJcEnKG7htTJHJj8Jixx5Q9yAYu4IZ41UJkEdM4B5iz3h3Ar9VgnjPNi49gYz5lJn+J cBlA== MIME-Version: 1.0 X-Received: by 10.180.73.6 with SMTP id h6mr21348325wiv.27.1365530377258; Tue, 09 Apr 2013 10:59:37 -0700 (PDT) Received: by 10.216.139.72 with HTTP; Tue, 9 Apr 2013 10:59:37 -0700 (PDT) In-Reply-To: References: <516452C7.7040607@mu.org> Date: Tue, 9 Apr 2013 20:59:37 +0300 Message-ID: Subject: Re: GSOC 2013 project " Kernel Size Reduction for Embedded System " From: Kimmo Paasiala To: Wojciech Puchar Content-Type: text/plain; charset=UTF-8 Cc: freebsd-hackers@freebsd.org, Alfred Perlstein , Amit Rawat X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Apr 2013 17:59:38 -0000 On Tue, Apr 9, 2013 at 8:53 PM, Wojciech Puchar wrote: >>> And yes FreeBSD kernel is huge. doesn't really matter with 1GB or more >>> RAM but yes - it is huge even relative to linux. >> >> >> Ah, any insight as to why? > > my custom compiled kernel: > > -r-xr-xr-x 1 root wheel 8791402 6 kwi 22:08 /boot//kernel/kernel > > only with features i need. linux is AFAIK like 3-4MB uncompressed. > Your comparison is far from accurate, include the memory taken by loaded kernel modules on both systems and then you might get some proper numbers. -Kimmo