Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Oct 2002 09:58:22 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Kirk McKusick <mckusick@FreeBSD.org>
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>
In-Reply-To: <200210220059.g9M0xnWm049023@repoman.freebsd.org>
References:  <200210220059.g9M0xnWm049023@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021024145822.GA69650>