From owner-freebsd-questions@FreeBSD.ORG Sat Mar 15 08:08:05 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 4E453106564A for ; Sat, 15 Mar 2008 08:08:05 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id A68888FC18 for ; Sat, 15 Mar 2008 08:07:55 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8) with ESMTP id m2F877n7029206; Sat, 15 Mar 2008 09:07:07 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8/Submit) with ESMTP id m2F86VdO029159; Sat, 15 Mar 2008 09:07:06 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 15 Mar 2008 09:06:31 +0100 (CET) From: Wojciech Puchar To: David Wassman In-Reply-To: <4EFE19E52F4F844D997F24D759C4A23B038755E1@etg2.etg.local> Message-ID: <20080315090055.L28960@wojtek.tensor.gdynia.pl> References: <4EFE19E52F4F844D997F24D759C4A23B038755E1@etg2.etg.local> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Sync or Soft Updates or gjournal for fileserver 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: Sat, 15 Mar 2008 08:08:05 -0000 > > My question is with this setup (Have not assembled or installed yet), > for a fileserver running Samba to share in mixed environment, what would > be better, sync, soft updates or gjournal. From my understanding, sync first - for the same amount of money, use cheaper and larger SATA disks, no special controller and RAID1 (gmirror), not RAID5. while RAID1 "wastes" half space, with large IDE drives you still get more space, while SATA drives are slightly slower, you still get FASTER system on writes because RAID5 is bad for this, and on reads. gain on not using RAID5 will outperform slower drives. > is the most secure as far as data integrity but suffers from > performance. Soft Updates is a mix between the two but from reading soft updates isn't the mix of two - it's much better. you actually get sync integrity with almost async performance, but with larger CPU usage, which - with modern CPUs - is minimal anyway. just use them :) gjournal will actually slow things down, for avoiding fsck on boot. properly configured freebsd doesn't crash every day so spending an hour (at most) on fsck doesn't make a problem.