From owner-cvs-all Thu Oct 24 7:58:25 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9973937B401; Thu, 24 Oct 2002 07:58:24 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C4C243E6A; Thu, 24 Oct 2002 07:58:24 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.6/8.12.5) id g9OEwMFM015082; Thu, 24 Oct 2002 09:58:22 -0500 (CDT) (envelope-from dan) Date: Thu, 24 Oct 2002 09:58:22 -0500 From: Dan Nelson To: Kirk McKusick Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/fs/specfs spec_vnops.c src/sys/kern subr_disk.c src/sys/ufs/ffs ffs_snapshot.c Message-ID: <20021024145822.GA69650@dan.emsphone.com> References: <200210220059.g9M0xnWm049023@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200210220059.g9M0xnWm049023@repoman.freebsd.org> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Oct 21), Kirk McKusick said: > mckusick 2002/10/21 17:59:49 PDT > > Modified files: > sys/fs/specfs spec_vnops.c > sys/kern subr_disk.c > sys/ufs/ffs ffs_snapshot.c > Log: > This checkin reimplements the io-request priority hack in a way > that works in the new threaded kernel. It was commented out of I think this cure is worse than the disease. Background fsck times on my system went from 10 minutes to an hour, and niced processes that want to do any disk I/O at all run at a glacial speed. Try running "nice find /" on an otherwise-idle system, for example. Don't bother running anything at nice -20 :) If this stays in, I suggest it be enabled via a sysctl that fsck turns off when it's done, or maybe even be tied to processes named "fsck_ufs", so it doesn't bog down the whole system even after fsck is done. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message