RE: Kernel Options fo a File Server

2007-05-23 Thread FreeBSD-Questions
man tuning?

Cheers,
Lars.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ivan Carey
Posted At: Tuesday, May 22, 2007 1:28 PM
Posted To: FreeBSD-Questions
Conversation: Kernel Options fo a File Server
Subject: Kernel Options fo a File Server


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.

Thanks,
Ivan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel Options fo a File Server

2007-05-23 Thread [EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ivan Carey
Posted At: Tuesday, May 22, 2007 1:28 PM
Posted To: FreeBSD-Questions
Conversation: Kernel Options fo a File Server
Subject: Kernel Options fo a File Server


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.



On 23/05/07, FreeBSD-Questions [EMAIL PROTECTED] wrote:

man tuning?

Cheers,
Lars.


Indeed, not so much kernel options, but
filesystem options would likely benefit you
the most, especially if you can determine
ahead how big your average file size will
be.

--
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel Options fo a File Server

2007-05-23 Thread PeterPluta

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.


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.
 
 Thanks,
 Ivan
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 

-- 
View this message in context: 
http://www.nabble.com/Kernel-Options-fo-a-File-Server-tf3795709.html#a10771337
Sent from the freebsd-questions mailing list archive at Nabble.com.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel Options fo a File Server

2007-05-23 Thread Tom Grove

PeterPluta wrote:

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.


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.


Thanks,
Ivan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]





  

First, please don't top post.  Thanks.

I typically recompile a kernel for almost every new machine.  You can 
certainly change a great deal of options within the kernel that you 
otherwise can't do.  For instance do a 'make LINT' in 
/usr/src/sys/i386/conf and grok the LINT file for options.  There are 
tons of tweaks you could do.


If you want to tweak the file server I would look more into tunefs.  man 
tunefs...this will probably be where you will find the most info about 
getting the most out of your filesystem.


-Tom
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel Options fo a File Server

2007-05-23 Thread Roland Smith
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)


pgp089WGtKO9Y.pgp
Description: PGP signature


Kernel Options fo a File Server

2007-05-22 Thread Ivan Carey

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.


Thanks,
Ivan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel Options fo a File Server

2007-05-22 Thread Josh Paetzel
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.
 
 Thanks,
 Ivan

Even with a GENERIC kernel you're going to be disk-bound, unless you
have them in RAID 0, in which case you'll be network bound.

If you are running i386 you can take out 486 and 586 support, that's
probably the biggest single improvement you can make, and it's
incremental at best.

---
Thanks,

Josh Paetzel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]