From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 13:07:50 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 293581065686 for ; Tue, 30 Sep 2008 13:07:50 +0000 (UTC) (envelope-from dak.col@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.169]) by mx1.freebsd.org (Postfix) with ESMTP id E81EC8FC15 for ; Tue, 30 Sep 2008 13:07:49 +0000 (UTC) (envelope-from dak.col@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so7898wfg.7 for ; Tue, 30 Sep 2008 06:07:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=FJkVtaM/PX2y/ezS4C4tGl5sLyvbMSMshRcst/VGYhI=; b=wOnc4wr3X8ftirArKQKdUCtJ4UkwWWevUacRg+KSBpBCWoUR3vWy4z+Weup5v8SvZ3 6MB4UV8eIxomzXZLa6jYqafKaXD720j8g3GsSAu649fHpSftjhlLOUPxl9bsjTOITSvB MftJjmzjlcZnZ2+QMz5+SpjsIytjCq8Ggx/08= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=mwUJoYeZrqfWq3KuifQfBkHa2rYsa/8HNZokBPT3Cl50MW1Ld+O4HRV87wMeG8NtCJ OpH+VenjqwIKb9476Rz3L2raTMaMAKqtejU/5TECodCuWsonnP/FR84TPl+YUw7Tc5ES FfGHRNgfgmV/XllNoXG8zBVNd7nx+4keGIyKo= Received: by 10.142.188.4 with SMTP id l4mr2786710wff.151.1222780069347; Tue, 30 Sep 2008 06:07:49 -0700 (PDT) Received: by 10.142.240.12 with HTTP; Tue, 30 Sep 2008 06:07:49 -0700 (PDT) Message-ID: <3b93bd110809300607i34b26e2cy4648ab1c21bc6ec8@mail.gmail.com> Date: Tue, 30 Sep 2008 08:07:49 -0500 From: "Diego F. Arias R." To: "Josh Paetzel" In-Reply-To: <48E21C66.8080407@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1222681181.48e0a25d094c3@www.inbox.lv> <48E21C66.8080407@FreeBSD.org> Cc: Danny Do , freebsd-questions@freebsd.org Subject: Re: 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 13:07:50 -0000 On Tue, Sep 30, 2008 at 7:32 AM, Josh Paetzel wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Danny Do wrote: >> 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 > > Why do you think slower drives using an interface that has known > problems handling concurrent connections will be faster than faster > drives using an interface designed for concurrency? > > Based on my experiences with SATA vs. U160/U320 SCSI or SAS your likely > outcome is to see a marked decrease in performance. I'd be interested > to hear your results. > > > - -- > Thanks, > > Josh Paetzel > > PGP: 8A48 EF36 5E9F 4EDA 5ABC 11B4 26F9 01F1 27AF AECB > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (MingW32) > > iD8DBQFI4hxmJvkB8SevrssRAqErAJ0Tt9WPT25RhkUfGVLxEzSykEMvtwCeKXRV > jdgJ/whLeeAQ3E97i7FkB4w= > =UyD6 > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Interface concurrent connection problems?, do you have a link or something? actually i recommend again the RAID 10, if you want performance for heavy I/O (multiple reading,not only one file lineal reading) for storage intensive apps its the way to go. -- mmm, interesante.....