From owner-freebsd-geom@FreeBSD.ORG Wed Oct 17 14:44:39 2007 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 720F316A421; Wed, 17 Oct 2007 14:44:39 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id 7DAC113C48A; Wed, 17 Oct 2007 14:44:38 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id 7413B74400D; Wed, 17 Oct 2007 17:44:37 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DWxzRFf0hDCo; Wed, 17 Oct 2007 17:44:37 +0300 (EEST) Received: from [10.2.1.87] (gateway.cybervisiontech.com.ua [88.81.251.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id 0666074400A; Wed, 17 Oct 2007 17:44:36 +0300 (EEST) Message-ID: <47161FD1.5010501@icyb.net.ua> Date: Wed, 17 Oct 2007 17:44:33 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.6 (X11/20070803) MIME-Version: 1.0 To: Eric Anderson References: <4715C3D1.3070308@icyb.net.ua> <4715F4EE.9020104@freebsd.org> In-Reply-To: <4715F4EE.9020104@freebsd.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Pawel Jakub Dawidek , freebsd-geom@freebsd.org Subject: Re: gjournal: FLUSHCACHE timed out 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: Wed, 17 Oct 2007 14:44:39 -0000 on 17/10/2007 14:41 Eric Anderson said the following: > Andriy Gapon wrote: >> ad4s1ge (please don't pay attention to its slightly unusual name, this >> is for historic reasons) is a journal partition/consumer for my /var >> filesystem/partition/provider. >> Size of /var is 16G, size of the journal is slightly less than 1G (1G - >> 32 sectors actually). /var is UFS2 with softupdates enabled. > > > Pawel, correct me if I'm wrong here - but I think you really need to > turn *off* softupdates on gjournaled file systems. I was under a big mis-impression that I have to have softupdates enabled for snapshots to work. Now that I know that I was wrong I will turn off the softupdates. But it seems that there is nothing that would preclude _in principle_ combination of softupdates/gjournal. Anyway, I care only out of curiosity. >> I noticed that I get these messages only when I run 'dump' on any of my >> filesystems. I think that dump is using /tmp or /var/tmp for some >> temporary data and in my setup both of those are in /var filesystem. >> >> So my I guess is that /var is being written "too" actively and I have to >> tune some parameters to make things smooth. > > A few things to note: > > - you can turn on 'async' option for your gjournaled file system, and > get better performance will do > - you might be able to at the 'noatime' option to your file system mount > also probably will do as well > - You might try turning your journal switch time from 10 down to 5, and > see if it alleviates some pressure on your disk. I already did this and it helped! I don't see the messages anymore. Thank you! I will try to set this back to 10 after I do away with softupdates and see what happens. Thank you very much again. -- Andriy Gapon