From owner-freebsd-questions@FreeBSD.ORG Thu Nov 11 19:10:36 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C2DFC16A4CE for ; Thu, 11 Nov 2004 19:10:36 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57A2843D49 for ; Thu, 11 Nov 2004 19:10:36 +0000 (GMT) (envelope-from nomadlogic@gmail.com) Received: by rproxy.gmail.com with SMTP id a36so348051rnf for ; Thu, 11 Nov 2004 11:10:36 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=O8eYfeN6vsNIbP4Z9Xgrqput3splHLwlXpyuV2NMrZjU2Av/jkCNoGY3VeYDFUcJFj9mj90LkvK/tcpzgd4sIUVzQBSdeQW6k654vmPZJqPpGJ3BBXYSY4aoPh74PNdfv1+LRFVPdMTMcuEFyem8toTldLgIkspnCQXR5VsygvQ= Received: by 10.38.70.23 with SMTP id s23mr103697rna; Thu, 11 Nov 2004 11:10:35 -0800 (PST) Received: by 10.38.14.69 with HTTP; Thu, 11 Nov 2004 11:10:35 -0800 (PST) Message-ID: <57d71000041111111047e9e138@mail.gmail.com> Date: Thu, 11 Nov 2004 11:10:35 -0800 From: pete wright To: Randy Grafton In-Reply-To: <41938B41.70802@indatacorp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <41938B41.70802@indatacorp.com> cc: questions@freebsd.org Subject: Re: Trying to build a speed demon X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: pete wright List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 19:10:36 -0000 On Thu, 11 Nov 2004 08:54:41 -0700, Randy Grafton wrote: > Hi All, > > I am trying to build a Samba file server that will serve 2TB to a single > dept. The dept will have a large variety of file types being saved to > the server; thousands of small (<32K) files to hundreds of medium to > large files (a few hundred KB in size to a few hundred MB in size). I am > using a 3ware 9500 series card in a PCX slot with 8 SATA drives > connected to it in a RAID 5 config. The proc is an Intel 3.2GHz with 4GB > of 400MHz DDR ECC Dual Channel RAM. The computer also has a single GB > Ethernet. The clients are all XP Pro. I have put 5.3 on it and > recompiled the kernel with only the items (drivers?) in it that are > physically on the system and being used. For example I've turned off > USB, Serial and Parallel ports in the motherboard's BIOS and have > removed them from my kernel. Do you gurus have anything else you could > recommend? I know that RAID5 will have a slowdown in write performance > as will using UFS (Journaled file system). Of course I'm not > specifically asking for Samba help but any advice for kernel/OS/Network > config or insight to fine tuning SAMBA on FreeBSD, so that this machine > can set new land speed records. I was also wondering about dual NIC for > load balancing as I'm hoping that the network is actually going to be > the bottleneck here. > first thing i would take a look at when doing file serving in this type of config is to look at disk i/o as your main bottleneck. RAID 5 will not give you the best throughput, also the 3Ware cards do not have much onboard cache (as do most "pro-sumer" IDE RAID cards). If you are really concerned about limiting all bottlenecks I would move away from IDE RAID and goto SCSI controllers with large amounts of onboard cache. not only will you gain the added benifits of quicker disk I/O with SCSI RAID but I think you find a much more reliable system in the long run. HTH -p -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group