Subject: Re: Limiting disk I/O?
To: Tech-kern <firstname.lastname@example.org>
From: Juan RP <email@example.com>
Date: 11/12/2007 15:25:07
On Mon, 12 Nov 2007 13:48:58 +0100
Joerg Sonnenberger <firstname.lastname@example.org> wrote:
> On Mon, Nov 12, 2007 at 02:44:40PM +0200, Jukka Marin wrote:
> > On Mon, Nov 12, 2007 at 01:16:39PM +0100, Joerg Sonnenberger wrote:
> > > Have you tried using a different IO scheduler?
> > No, but I'm willing to try.
> Look for BUFQ_PRIOCSCAN and BUFQ_READPRIO in GENERIC. They are not
> enabled by default. kern.bufq.strategies lists the available strategies.
> > # dkctl ld1 strategy
> > dkctl: /dev/rld1d: DIOCGSTRATEGY: Inappropriate ioctl for device
> I don't know whether a driver has to do anything to get this, others can
> comment on that I guess.
The driver needs to handle the ioctls. At this moment only wd(4)
and cd(4) are using them, iirc.
Juan Romero Pardines - The NetBSD Project
http://plog.xtrarom.org - NetBSD/pkgsrc news in Spanish