From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 09:54:25 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E87221065695 for ; Tue, 30 Sep 2008 09:54:25 +0000 (UTC) (envelope-from ai_quoc@hotmail.com) Received: from bay0-omc3-s21.bay0.hotmail.com (bay0-omc3-s21.bay0.hotmail.com [65.54.246.221]) by mx1.freebsd.org (Postfix) with ESMTP id D19D08FC1E for ; Tue, 30 Sep 2008 09:54:25 +0000 (UTC) (envelope-from ai_quoc@hotmail.com) Received: from hotmail.com ([64.4.43.23]) by bay0-omc3-s21.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 30 Sep 2008 02:54:25 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 30 Sep 2008 02:54:25 -0700 Message-ID: Received: from 222.253.99.18 by BAY139-DAV13.phx.gbl with DAV; Tue, 30 Sep 2008 09:54:21 +0000 X-Originating-IP: [222.253.99.18] X-Originating-Email: [ai_quoc@hotmail.com] X-Sender: ai_quoc@hotmail.com From: "Danny Do" To: References: <1222681181.48e0a25d094c3@www.inbox.lv> In-Reply-To: <1222681181.48e0a25d094c3@www.inbox.lv> Date: Tue, 30 Sep 2008 16:53:37 +0700 Message-ID: <008b01c922e2$69192a60$3b4b7f20$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AckiGeGGxyJe38lFSH+nyWCJX3hlggAidSuw Content-Language: en-au X-OriginalArrivalTime: 30 Sep 2008 09:54:25.0449 (UTC) FILETIME=[85802190:01C922E2] Subject: Optimal File System config for 2.5TB RAID5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 09:54:26 -0000 Hello, I am building a 6x500GB SATA HARDWARE RAID5 storage server to - Store large files, 10BM~1GB/file - Handling 500+ concurrent connections - Transfer rate around 100~200Mbit/s I am thinking of using the patch from Wojciech Puchar to reduce hard drive data seek in order to handle large number of concurrent connections whilst outputting 100~200Mbit/s. patch /usr/src/sys/sys/param.h #ifndef DFLTPHYS #define DFLTPHYS (1024 * 1024) /* default max raw I/O transfer size */ #endif #ifndef MAXPHYS #define MAXPHYS (1024 * 1024) /* max raw I/O transfer size */ #endif #ifndef MAXDUMPPGS To store files greater than 10MB, I come up with the following proposal for my File System: - UFS2 - Soft Update Enable - block-size 1,048,576 I am not completely sure what advantage I got from this configuration but I am pretty sure that FSCK is much quicker with 1M file system block-size. Is there any other thing I need to consider in term of performance and reliability? I hope that this system will perform much better than my current 6x300GB SCSI 10K RPM system. Appreciate any advice, Danny