From owner-freebsd-stable Sun Feb 10 12:50: 6 2002 Delivered-To: freebsd-stable@freebsd.org Received: from segfault.kiev.ua (segfault.kiev.ua [193.193.193.4]) by hub.freebsd.org (Postfix) with ESMTP id 8ABFF37B41B for ; Sun, 10 Feb 2002 12:49:57 -0800 (PST) Received: (from uucp@localhost) by segfault.kiev.ua (8) with UUCP id WTB64884; Sun, 10 Feb 2002 22:49:34 +0200 (EET) (envelope-from netch@iv.nn.kiev.ua) Received: (from netch@localhost) by iv.nn.kiev.ua (8.11.6/8.11.6) id g1AKlEx01169; Sun, 10 Feb 2002 22:47:14 +0200 (EET) (envelope-from netch) Date: Sun, 10 Feb 2002 22:47:14 +0200 From: Valentin Nechayev To: Matthew Dillon Cc: Mike Silbersack , "David W. Chapman Jr." , stable@FreeBSD.ORG Subject: Re: cvs commit: src/sys/ufs/ffs ffs_softdep.c Message-ID: <20020210224714.A269@iv.nn.kiev.ua> References: <20020210113348.P28078-100000@patrocles.silby.com> <200202101911.g1AJBOk30917@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200202101911.g1AJBOk30917@apollo.backplane.com>; from dillon@apollo.backplane.com on Sun, Feb 10, 2002 at 11:11:24AM -0800 X-42: On Organization: Dark side of coredump Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sun, Feb 10, 2002 at 11:11:24, dillon (Matthew Dillon) wrote about "Re: cvs commit: src/sys/ufs/ffs ffs_softdep.c": > On the second issue - long disk activity times after a 'syncing disks... > done'. This can occur if there are a lot of dirty VM pages in the > system belonging to files that need to be written out. This can take an > especially long time if a large file was created with ftruncate() > and written via mmap() instead of write(), because the file can become > severely fragmented. Three cases when this happened: two were deleting of too deep tree (first with this activity >1 minute, second with ~20 secs), one was immediately after exiting mutt with huge folder (cvs-all@ inbox;)) in maildir format, with ~50 deleted letters; this one was ~10 secs. Cel-800, 256M, IC35L040AVER07-0 at ATA100 with tags, 4.5-release. Moment which can be important: vfs.vmiodirenable=1. I didn't test it yet with vfs.vmiodirenable=0, it will be tried now. /netch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message