Kernel Options fo a File Server
Roland Smith
rsmith at xs4all.nl
Wed May 23 20:39:35 UTC 2007
On Wed, May 23, 2007 at 12:42:17PM -0700, PeterPluta wrote:
> Ivan Carey wrote:
> >
> > Hello,
> > What would be the best Kernel options to run a file server?
> > I will be using an Intel server mother board with one Xeon quad core CPU
> > installed (this mother board has 2 CPU sockets) 2GB RAM and dual 500Gb
> > SATA HDD's
> >
> > I am thinking of options that would make the kernel efficient as a pure
> > file server.
> >From what I heard from most BSD'ers it's not really feasible to re-compile or
> customize the kernel much these days. If you truly need to compile/optimize
> the kernel you're already overworking your hardware. With that being said
> I’m curious myself, I'm always interested in squeezing a little out of my
> hardware.
(Please don't top post.)
Recompiling the kernel and customizing it (i.e. leaving things out that
you don't need) are not very hard at all.
Things like enabling kernel thread preemption and file system
softupdates might help with performance. But in general you could say
that removing code for devices and subsystems that aren't used anyway
might speed up booting a bit, but will not help much with speeding up
daily usage.
The tuning(7) manpage gives lots of tips on getting the best performance
out of your system. Note that the kernel occupies only a small section
of the material in that page.
For instance, for a file server the file system layout is much moe
important due to higher transfer speeds from the outer edges of the disks.
Roland
--
R.F.Smith http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070523/ce21ae80/attachment.pgp
More information about the freebsd-questions
mailing list