From owner-freebsd-geom@FreeBSD.ORG Mon Oct 13 20:45:23 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 E28261065690 for ; Mon, 13 Oct 2008 20:45:23 +0000 (UTC) (envelope-from auryn@zirakzigil.org) Received: from mail.giulioferro.it (mail.giulioferro.it [85.18.102.52]) by mx1.freebsd.org (Postfix) with ESMTP id 9FCBD8FC12 for ; Mon, 13 Oct 2008 20:45:23 +0000 (UTC) (envelope-from auryn@zirakzigil.org) Received: from localhost (localhost [127.0.0.1]) by mail.giulioferro.it (Postfix) with ESMTP id 2803B33C39; Mon, 13 Oct 2008 22:46:54 +0200 (CEST) X-Virus-Scanned: amavisd-new at giulioferro.it Received: from mail.giulioferro.it ([127.0.0.1]) by localhost (aurynwork1sv1.giulioferro.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MGZaQovUQ7j2; Mon, 13 Oct 2008 22:46:50 +0200 (CEST) Received: from [192.168.229.16] (localhost [127.0.0.1]) (Authenticated sender: gferro@giulioferro.it) by mail.giulioferro.it (Postfix) with ESMTP id 4CC4733C37; Mon, 13 Oct 2008 22:46:50 +0200 (CEST) Message-ID: <48F3B35D.9060507@zirakzigil.org> Date: Mon, 13 Oct 2008 22:45:17 +0200 From: Giulio Ferro User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: Miroslav Lachman <000.fbsd@quip.cz>, freebsd-geom@freebsd.org References: <48DE439C.4050505@zirakzigil.org> <48F1C760.1080902@zirakzigil.org> <48F22BDB.2040803@quip.cz> In-Reply-To: <48F22BDB.2040803@quip.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: 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: Mon, 13 Oct 2008 20:45:24 -0000 Miroslav Lachman wrote: > 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. I'm glad for you. Unfortunately, as I reported in my original message, if the filesystem is cluttered enough even a simple "find" command can very nearly freeze the system. I had jails on the journaled partition, each running a heavily loaded db. > > 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. I believe ZFS is the best thing happened to freebsd in a long time, and I use it full time in my desktops. Anyway I deemed it unusable in my production setup, since a 10 times slower read can't really keep up with that environment. And there is no danger of reaching disk capacity anytime soon... :-)