From owner-freebsd-fs@FreeBSD.ORG Mon Oct 27 16:15:18 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD1E01065674 for ; Mon, 27 Oct 2008 16:15:18 +0000 (UTC) (envelope-from numisemis@yahoo.com) Received: from web36601.mail.mud.yahoo.com (web36601.mail.mud.yahoo.com [209.191.85.18]) by mx1.freebsd.org (Postfix) with SMTP id 7953F8FC0A for ; Mon, 27 Oct 2008 16:15:18 +0000 (UTC) (envelope-from numisemis@yahoo.com) Received: (qmail 1456 invoked by uid 60001); 27 Oct 2008 16:14:31 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=W4UT1u23S2UID8HS1yeKTJya7vdJXNEeK/kZ49uC4lNUktwJRj21YPpETUYxme/vFbVHN33Xydti30GUjbvY6v7KAQ4uIgo3ON+DamyYFQ1cwbR/dKcE1PcWDBRC55WhdegQ/TKGGgzLu4o2z12TFHdYemCybCy1MaPhqHbU4JY=; X-YMail-OSG: bmAklO0VM1masE6gndV_TJ5eDf2w4DkUd2MEm6Ng1TP3eitVkYMmmyHPaOhoQsNmWZH4ZlX6dFTLT_mT_1ASYlpcbu1_dTvKOSDh7.ztOMuzi0Kfa1VszGLz1d4PWDaPsHwZTi4oLtLFgEUycohmrXWfmkOomguDBJnJeaiDKj2nHdw9R8jy70k4EQVE Received: from [213.147.110.159] by web36601.mail.mud.yahoo.com via HTTP; Mon, 27 Oct 2008 09:14:31 PDT X-Mailer: YahooMailWebService/0.7.247.3 Date: Mon, 27 Oct 2008 09:14:31 -0700 (PDT) From: Simun Mikecin To: grafan@gmail.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <169608.99606.qm@web36601.mail.mud.yahoo.com> X-Mailman-Approved-At: Mon, 27 Oct 2008 16:58:51 +0000 Cc: freebsd-fs@freebsd.org, gamato@users.sf.net Subject: Re: journaling filesystem X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: numisemis@yahoo.com List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2008 16:15:18 -0000 "Rong-en Fan" wrote: >Actually, gjournal has the problem with fast write load. It panics if the >journal overflows... I was told by pjd@ that if I have been played with the >sysctls and it still overflows, then there is nothing we can do... pjd@ should answer this, but AFAIK journal size should be at least 2 * switch_time * transfer_rate where transfer_rate is your HDD bandwidth in MB/s. So for a fictional HDD that has 150MB/s (most real HDDs are much lower than this) and the default switch_time (which is 10) that would be: 2 * 10 * 150 = 3000MB for the journal minimum. I'm sure that increasing journal even more (or reducing switch_time) should make it stable (if it already isn't).