From owner-freebsd-geom@FreeBSD.ORG Sun Oct 12 16:54:21 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C24A51065687 for ; Sun, 12 Oct 2008 16:54:21 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [91.103.162.4]) by mx1.freebsd.org (Postfix) with ESMTP id 7E1E18FC16 for ; Sun, 12 Oct 2008 16:54:21 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id B7F0919E027; Sun, 12 Oct 2008 18:54:19 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 9B4BA19E019; Sun, 12 Oct 2008 18:54:17 +0200 (CEST) Message-ID: <48F22BDB.2040803@quip.cz> Date: Sun, 12 Oct 2008 18:54:51 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Giulio Ferro References: <48DE439C.4050505@zirakzigil.org> <48F1C760.1080902@zirakzigil.org> In-Reply-To: <48F1C760.1080902@zirakzigil.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org Subject: Re: Problems with journal? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2008 16:54:21 -0000 Giulio Ferro wrote: > Giulio Ferro wrote: > >> I'm experiencing very serious delay issues in 2 production servers. > > [...] > >> >> I hope any of you can help me look in the right direction, and point >> me to any further tests to try or tunable >> to set... >> >> Thanks in advance. >> > > I didn't receive any answer to this, so I'm guessing ufs journal > is abandoned or there is no interest in supporting it in production > environment. > Anyway I removed it from my servers and reverted to standard UFS, > so the problems disappeared. I also tried zfs (the only other journaled > filesystem available on freebsd). I didn't experiences the hanging behavior > I did with journaled ufs, but it's considerably slower than standard ufs > (1/2 slower writes, 1/10 slower reads)... I am using gjournal on few production machines (not heavily IO loaded) without any hangs. Form time to time I get this message in log: fsync: giving up on dirty 0xc553e880: tag devfs, type VCHR usecount 1, writecount 0, refcount 5305 mountedhere 0xc54a1c00 flags () v_object 0xc5526e88 ref 0 pages 33571 lock type devfs: EXCL (count 1) by thread 0xc52aaa50 (pid 41) dev da0s2e.journal GEOM_JOURNAL: Cannot suspend file system /vol0 (error=35). I asked this message in the list 6 month ago and Eric Anderson wrote that it shouldn't be a problem. I tested ZFS and UFS comparing speed of copying ports tree in incremental endless loop - UFS became slower and slower with more used inodes, but ZFS had same speed even on almost full partition. At the end of the test, ZFS was about three times faster than UFS+SU. Miroslav Lachman