From owner-freebsd-current@FreeBSD.ORG Thu Feb 23 08:18:28 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09CD9106566C; Thu, 23 Feb 2012 08:18:28 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 5C9BC8FC12; Thu, 23 Feb 2012 08:18:27 +0000 (UTC) Received: from outgoing.leidinger.net (p5796DADA.dip.t-dialin.net [87.150.218.218]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id E00A48443F4; Thu, 23 Feb 2012 09:18:11 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [IPv6:fd73:10c7:2053:1::3:102]) by outgoing.leidinger.net (Postfix) with ESMTPS id 3B5FA5874; Thu, 23 Feb 2012 09:18:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1329985089; bh=n/8tqMAMV0zvAeAUKkq7aOssJFpINvxzCNlvS2KQ/fc=; h=Date:Message-ID:From:To:Cc:Subject:References:In-Reply-To: Content-Type:MIME-Version; b=CWVOlZvZuLGgsMzNVmGZx+PkckR+ChxhwhR7xzYa6SwIpUkUfgy6NEXP3fyz3BlZ2 bPvDYnRdElI/kphIruLKJrrRuTRV201R/3b6j1WUojDDkZM8Agm5o3IxJuYiQhVnBb d9LYLxqw/T9+iduWxtPOp3/pvEHOYQkFjJ6h/FHT7bl22HpgI30w/BSe2C+/HKSxzN 8OW2d3WuS8gXX9+Hq1SHEpINTqHquVHzpwoqsIYVVanrtALKFvBduiBO7GrQLaSc8z 9v0UUIhBiWgCDfajGxNJzOebjLijYHim+ToOkSGZahuMR3LqAZXRPZOWlcDVIMVTJm eOQDnRdywWiUg== Received: (from www@localhost) by webmail.leidinger.net (8.14.5/8.14.4/Submit) id q1N8I8IE065619; Thu, 23 Feb 2012 09:18:08 +0100 (CET) (envelope-from Alexander@Leidinger.net) X-Authentication-Warning: webmail.leidinger.net: www set sender to Alexander@Leidinger.net using -f Received: from 85.94.224.20 ([85.94.224.20]) by webmail.leidinger.net (Horde Framework) with HTTP; Thu, 23 Feb 2012 09:18:08 +0100 Date: Thu, 23 Feb 2012 09:18:08 +0100 Message-ID: <20120223091808.Horde.iJJvNZjmRSRPRfZAlqnPsrA@webmail.leidinger.net> From: Alexander Leidinger To: "Bjoern A. Zeeb" References: <20120221143537.Horde.deyFDZjmRSRPQ52pxBIpnLA@webmail.leidinger.net> In-Reply-To: User-Agent: Internet Messaging Program (IMP) H4 (5.0.18) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: E00A48443F4.A24BA X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=0.851, required 6, autolearn=disabled, AWL -1.90, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, RCVD_IN_BL_SPAMCOP_NET 1.25, RCVD_IN_SORBS 1.00, RCVD_IN_SORBS_WEB 0.61, T_RP_MATCHES_RCVD -0.01) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1330589894.31449@8v3cMtv6G7/X0Puk9DUvDg X-EBL-Spam-Status: No Cc: stable@FreeBSD.org, current@FreeBSD.org Subject: Re: [CFT] modular kernel config X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2012 08:18:28 -0000 Quoting "Bjoern A. Zeeb" (from Wed, 22 Feb 2012 22:31:36 +0000): > On 21. Feb 2012, at 13:35 , Alexander Leidinger wrote: > >> You can download from >> http://www.Leidinger.net/FreeBSD/current-patches/ >> The files are >> - i386_SMALL >> - i386_SMALL_loader.conf >> - amd64_SMALL >> - amd64_SMALL_loader.conf > > I only looked at the laoder.conf for amd64 and the only comment I > have is that I do not have the time to wait minutes for all > individual modules to be loaded. This is going to be really bad for > boot time. Well, nobody forces you to use it. And as can be seen on the lists, there are patches floating around to improve the loading speed of the loader. This is also just an example to be on par as much as possible with GENERIC. People which want to use this kernel most probably want to cut the loader.conf down and maybe even want to use the rc.conf setting to load modules which are not needed to boot. >> The new stuff in the kernel config compared to GENERIC is (in order >> of number of requests from users): >> - IPSEC (+ device enc + IPSEC_NAT_T) > > You cannot ship that on by default for non-tecnical reasons in a > kernel. Please do not commit a kernel config that can be booted (no > LINT cannot be booted) with these on without consulting appropriate > hats upfront. I planned to contact core to ask if there are some US export restrictions to take into account before committing. Do you have a different hat in mind? >> - ALTQ >> - SW_WATCHDOG >> - QUOTA >> - IPSTEALTH (disabled in loader.conf) >> - IPFIREWALL_FORWARD (touches every packet, power users which need >> a bigger PPS but not this feature can recompile the kernel, >> discussed with julian@) >> - FLOWTABLE (disabled in loader.conf) > > Which is not the same as it's not 100% disabled and will still > allocate memory. I assume this means that the sideeffects are only some conditionals more for the packets which pass the corresponding kernel places (to check if the feature is enabled, I had a look for the IPFIREWALL_FORWARD and IPSTEALTH options regarding this). Regarding the memory usage I assume this means that if someone removes the loading of modules he does not use from the loader.conf, he will use less memory with those things enabled, than would be used by a GENERIC kernel. Both of those things where taken into account before providing this config here. As I wrote above, people which need the last few PPS more can compile a kernel without those features (they are power-users), while people which do not want to compile kernels at all (and there are a lot of such people, just have a look at how many people use freebsd-update and you will get an idea about the target audience) get more features to play with. This is also not supposed to replace GENERIC, but it coud be offered as an option to install this kernel instead of GENERIC (or we can install in in parallel and the user can chose which kernel he wants to boot, or ...). Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137