From owner-freebsd-fs@FreeBSD.ORG Thu Sep 8 15:51:03 2005 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FB7B16A41F for ; Thu, 8 Sep 2005 15:51:03 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2A8843D45 for ; Thu, 8 Sep 2005 15:51:02 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id j88Fp14J092736; Thu, 8 Sep 2005 10:51:01 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <43205DEE.5010300@centtech.com> Date: Thu, 08 Sep 2005 10:51:10 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.11) Gecko/20050904 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Pavel Merdine References: <20050908125653.97583.qmail@web41002.mail.yahoo.com> <43205660.6040309@centtech.com> <1523969635.20050908194312@merdin.com> In-Reply-To: <1523969635.20050908194312@merdin.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/1069/Wed Sep 7 10:08:51 2005 on mh1.centtech.com X-Virus-Status: Clean Cc: Eric Anderson Subject: Re: Porting from linux to FreeBSD X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2005 15:51:03 -0000 Pavel Merdine wrote: > Hello , > > I dont recommend using background fsck in production environment, > because there can be a kernel panic before background fsck finished. > Foreground fsck can last more than half an hour for IDE 300G+ disks. > In my subjective experience, ufs is quite slow comparing to Linux > supported filesystems like reiserfs and xfs. However anybody can > benefit from the FreeBSD kernel stability. > Also, I have to note that ufs seems to be poorly supported despites the > fact this is the only filesystem in FreeBSD. At least I'm aware of two > huge bugs which are not being fixed for years. First bug is in dirpref > (the allocation optimisation) with lack of huge disk support. Another > bug is in inode allocation. That bug causes rare panics on heavily > loaded server (with "dup alloc" message). That bug seems to be fixed > in DragonFly. We are going to review their patch and try it on our > servers. Hi Pavel, A number of bugs have been recently fixed in 7/6/5- branches regarding ufs and vfs. I don't know if they affect you or not, but they are significant. Have you posted detailed debug info about these bugs to any lists, or submitted PR's? As far as support, I'm not sure what you are referring to - are you saying the FreeBSD developers are not supporting it, or are you saying that there isn't support on other platforms? Any patches you have I'm sure would be interesting to see by kernel developers and others interested in FreeBSD filesystem performance and stability. Eric > Thursday, September 8, 2005, 7:18:56 PM, you wrote: > > >>Deepak Naidu wrote: >> >>>Hi, >>> >>> I am thinking of porting my mailserver from fedora >>>2.6 to freebsd 5.4. In this regards i have a question >>>regarding chosing the stable and fast filesystem. >>> >>> I used reiserfs in fedora due to its faster input & >>>output operation with file size of 1-5 Mb. Is UFS2 >>>stable and fast(does it journalize). It seems to be >>>slow when untaring a file. >>> >>>I am thing about XFS, how do i implement it in FreeBSD >>>5.4 in kernel, how do i get the XFS option during >>>installation(I know for that i have to make own CD, >>>even then). >>> >>> >>>What are my options regarding file syetm in FreeBSD >>>5.4 considering mailing server performance. > > >>UFS2 is actually a pretty fast filesystem for most cases. UFS2 does not >>currently support journaling, however some work is underway by Scott >>Long to implement this. UFS2 has soft-updates, which keeps meta-data >>consistant in case of system failure (reboots,etc), but does not avoid >>an fsck. The 5.x series and above has support for background fsck, >>which allows you to mount the filesystem and begin using it, while >>background fsck does the checking live. > > >>There are read-only ports of reiserfs and xfs available for 6.0- and >>7.0. The reiserfs code is in the src tree, and the xfs code can be >>found here: >>http://people.freebsd.org/~rodrigc/xfs/ > > >>I'm sure Craig and Alexander would enjoy the help with the porting of >>XFS. I'm unsure of the status of reiserfs. Porting XFS to FreeBSD >>(full support) would be awesome! > > >>Eric > > > > > > > > -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------