<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Kernel options]]></title><description><![CDATA[<p dir="auto">Is there a rational over the current kernel options?  It seems some are a bit dubious, especially on the embedded platform.  The caveat emptor is whether it actually makes a remote iota of a difference in image size or memory usage.</p>
<p dir="auto">For example:</p>
<pre><code>makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
</code></pre>
<p dir="auto">Creates a bigger kernel we could do without on a small device.</p>
<pre><code>options 	PREEMPTION		# Enable kernel thread preemption
</code></pre>
<p dir="auto">On Linux maximum performance is lower with kernel pre-emption enabled, the same on BSD?</p>
<pre><code>options 	UFS_ACL			# Support for access control lists
options 	UFS_DIRHASH		# Improve performance on big directories
options 	NFSCLIENT		# Network Filesystem Client
options 	NFSSERVER		# Network Filesystem Server
options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
options 	MSDOSFS			# MSDOS Filesystem
options 	GEOM_GPT		# GUID Partition Tables.
options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI

# Bus support.  Do not remove isa, even if you have no isa slots
device		eisa

# ATA and ATAPI devices
...

# SCSI Controllers
...

# SCSI peripherals
...

# RAID controllers interfaced to the SCSI subsystem
...

# RAID controllers
...

# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
device		cbb		# cardbus (yenta) bridge
device		pccard		# PC Card (16-bit) bus
device		cardbus		# CardBus (32-bit) bus

# Parallel port
device		ppc
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
device		plip		# TCP/IP over parallel
device		ppi		# Parallel port interface device
#device		vpo		# Requires scbus and da

# FireWire support
device		firewire	# FireWire bus code
device		sbp		# SCSI over FireWire (Requires scbus and da)
device		fwe		# Ethernet over FireWire (non-standard!)

</code></pre>
<p dir="auto">Are any of these actually used?  I can see NFSCLIENT / NFSROOT being handy for a PXE developer build, and the ATA for VMware and maybe with a Soekris and a USB HDD?</p>
]]></description><link>https://forum.netgate.com/topic/1446/kernel-options</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Mar 2026 10:39:24 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/1446.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 01 Jul 2006 15:40:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Kernel options on Sat, 08 Jul 2006 17:34:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mrmoo">@<bdi>MrMoo</bdi></a>:</p>
<blockquote>
<p dir="auto">One possble alternative is to merge alternative kernels into pfSenses package system, i.e. download an optimised kernel for your configuration option.</p>
</blockquote>
<p dir="auto">We too can be ricers.  Not sure that I like this.</p>
]]></description><link>https://forum.netgate.com/post/138652</link><guid isPermaLink="true">https://forum.netgate.com/post/138652</guid><dc:creator><![CDATA[sullrich]]></dc:creator><pubDate>Sat, 08 Jul 2006 17:34:29 GMT</pubDate></item><item><title><![CDATA[Reply to Kernel options on Sat, 08 Jul 2006 16:28:17 GMT]]></title><description><![CDATA[<p dir="auto">And so the choices are either 1) default to pentium optimisations like a lot of commercial software, 2) default to a high cpu (pentium4) to tweak extra performance, 3) offer a lot more packages.</p>
<p dir="auto">I think it all comes down to real world tests, I know from a highspeed messaging company they only recently moved from 486 to pentium optimisations, so that apart from the Gentoo fan set its not overly beneficial.  If the performance tweaks are needed to run your machines you are badly specifying your hardware.  The conclusion from that would be to run with the lowest common denominator for the supported hardware set which instead would be:</p>
<pre><code>
CPUTYPE?=i486
CFLAGS= -O -pipe

</code></pre>
<p dir="auto">One possble alternative is to merge alternative kernels into pfSenses package system, i.e. download an optimised kernel for your configuration option.</p>
]]></description><link>https://forum.netgate.com/post/138651</link><guid isPermaLink="true">https://forum.netgate.com/post/138651</guid><dc:creator><![CDATA[MrMoo]]></dc:creator><pubDate>Sat, 08 Jul 2006 16:28:17 GMT</pubDate></item><item><title><![CDATA[Reply to Kernel options on Sat, 08 Jul 2006 05:05:05 GMT]]></title><description><![CDATA[<p dir="auto">Yes, I don't want my nexcom units that run embedded to be optimized in that fashion.  It's a hard balancing act unfortunately.</p>
]]></description><link>https://forum.netgate.com/post/138642</link><guid isPermaLink="true">https://forum.netgate.com/post/138642</guid><dc:creator><![CDATA[sullrich]]></dc:creator><pubDate>Sat, 08 Jul 2006 05:05:05 GMT</pubDate></item><item><title><![CDATA[Reply to Kernel options on Sat, 08 Jul 2006 04:46:32 GMT]]></title><description><![CDATA[<p dir="auto">There appear to be no CFLAGS in the pfSense make.conf.embedded, would it be more adviseable to use the following:</p>
<pre><code>
CPUTYPE?=i486
CFLAGS= -Os -pipe

</code></pre>
<p dir="auto">That's optimising for smallest size and 486 architecture to help out the WRAP/Soekris boxes.  Its a bit tedious to prove one way or another I guess though  :(</p>
]]></description><link>https://forum.netgate.com/post/138640</link><guid isPermaLink="true">https://forum.netgate.com/post/138640</guid><dc:creator><![CDATA[MrMoo]]></dc:creator><pubDate>Sat, 08 Jul 2006 04:46:32 GMT</pubDate></item><item><title><![CDATA[Reply to Kernel options on Tue, 04 Jul 2006 19:54:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mrmoo">@<bdi>MrMoo</bdi></a>:</p>
<blockquote>
<p dir="auto">I'm working on FreeSBIE now, it appears you are not using ccache to help buildworld, do you have a really fast build machine?  I'm very tempted to setup distcc to help out too.</p>
</blockquote>
<p dir="auto">We tried out distcc across a three machine dual proc 3ghz xeon farm…it cut down the build from 50 minutes on the current hardware to around 20...wasn't worth the speed improvement (considering it added 20 minutes xfer time b4 it could be tested).</p>
<p dir="auto">--Bill</p>
]]></description><link>https://forum.netgate.com/post/138515</link><guid isPermaLink="true">https://forum.netgate.com/post/138515</guid><dc:creator><![CDATA[billm]]></dc:creator><pubDate>Tue, 04 Jul 2006 19:54:51 GMT</pubDate></item><item><title><![CDATA[Reply to Kernel options on Tue, 04 Jul 2006 05:02:25 GMT]]></title><description><![CDATA[<p dir="auto">Make sure its FreeSBIE 2.  It's much better.</p>
<p dir="auto">My machine is modest, P4 3.2 with 3ware raid 10 (4 drives).</p>
]]></description><link>https://forum.netgate.com/post/138490</link><guid isPermaLink="true">https://forum.netgate.com/post/138490</guid><dc:creator><![CDATA[sullrich]]></dc:creator><pubDate>Tue, 04 Jul 2006 05:02:25 GMT</pubDate></item><item><title><![CDATA[Reply to Kernel options on Tue, 04 Jul 2006 03:49:20 GMT]]></title><description><![CDATA[<p dir="auto">I'm working on FreeSBIE now, it appears you are not using ccache to help buildworld, do you have a really fast build machine?  I'm very tempted to setup distcc to help out too.</p>
]]></description><link>https://forum.netgate.com/post/138489</link><guid isPermaLink="true">https://forum.netgate.com/post/138489</guid><dc:creator><![CDATA[MrMoo]]></dc:creator><pubDate>Tue, 04 Jul 2006 03:49:20 GMT</pubDate></item><item><title><![CDATA[Reply to Kernel options on Mon, 03 Jul 2006 20:25:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mrmoo">@<bdi>MrMoo</bdi></a>:</p>
<blockquote>
<p dir="auto"><strong>Kernel packages:</strong>  I'm wondering through my directory server and covering all the options available, updating some details here, hopefully all on my own website when its working.  I think i'm repeating Manuel Kasper and working on a m0n0bsd core and building the application on top of that.  Currently after playing way too long on the kernel build options I am thinking from a user point of view these are nice packages:</p>
<blockquote>
<p dir="auto">You may want to take a look at FreeSBIE 2 a little closer before making your decision.</p>
</blockquote>
</blockquote>
]]></description><link>https://forum.netgate.com/post/138480</link><guid isPermaLink="true">https://forum.netgate.com/post/138480</guid><dc:creator><![CDATA[sullrich]]></dc:creator><pubDate>Mon, 03 Jul 2006 20:25:45 GMT</pubDate></item><item><title><![CDATA[Reply to Kernel options on Mon, 03 Jul 2006 13:41:28 GMT]]></title><description><![CDATA[<p dir="auto"><strong>Kernel packages:</strong>  I'm wondering through my directory server and covering all the options available, updating some details here, hopefully all on my own website when its working.  I think i'm repeating Manuel Kasper and working on a m0n0bsd core and building the application on top of that.  Currently after playing way too long on the kernel build options I am thinking from a user point of view these are nice packages:</p>
<blockquote>
<p dir="auto">embedded<br />
generic<br />
enterprise</p>
<p dir="auto">embedded developer<br />
generic developer<br />
enterprise developer</p>
</blockquote>
<p dir="auto">Where generic = embedded + VGA + IDE + CD-ROM + keyboard + USB + Firewire, enterprise = generic + scsi + raid, and developer += nfs + debug + ktrace.</p>
<p dir="auto">I'm working on the general developer options are 1)  chroot,  2)  vmware,  3)  pxe boot + nfs root,  and 4)  installed.</p>
<p dir="auto">I would imagine a lot of debate of options has preceeded similarly for any normal O/S distribution and that scsi/raid can easily be merged with the generic set.  For FreeBSD I could see this as more advantageous if the SCSI settle time wasn't mandatory even if you have no SCSI cards installed?</p>
]]></description><link>https://forum.netgate.com/post/138472</link><guid isPermaLink="true">https://forum.netgate.com/post/138472</guid><dc:creator><![CDATA[MrMoo]]></dc:creator><pubDate>Mon, 03 Jul 2006 13:41:28 GMT</pubDate></item><item><title><![CDATA[Reply to Kernel options on Sun, 02 Jul 2006 03:46:55 GMT]]></title><description><![CDATA[<p dir="auto">Aya, too many kernel configs in CVS, I was looking here:</p>
<p dir="auto">http://cvstrac.pfsense.com/fileview?f=freesbie/files/pfSense_wrap.6&amp;v=1.11</p>
<p dir="auto">Instead of here:</p>
<p dir="auto">http://pfsense.com/cgi-bin/cvsweb.cgi/tools/builder_scripts/conf/pfSense_wrap.6?rev=1.29</p>
<p dir="auto">:D</p>
]]></description><link>https://forum.netgate.com/post/138431</link><guid isPermaLink="true">https://forum.netgate.com/post/138431</guid><dc:creator><![CDATA[MrMoo]]></dc:creator><pubDate>Sun, 02 Jul 2006 03:46:55 GMT</pubDate></item><item><title><![CDATA[Reply to Kernel options on Sat, 01 Jul 2006 18:56:24 GMT]]></title><description><![CDATA[<p dir="auto">You are looking at the wrong kernel?  I don't see any debugging info in pfSense_wrap.6</p>
]]></description><link>https://forum.netgate.com/post/138426</link><guid isPermaLink="true">https://forum.netgate.com/post/138426</guid><dc:creator><![CDATA[sullrich]]></dc:creator><pubDate>Sat, 01 Jul 2006 18:56:24 GMT</pubDate></item></channel></rss>