Subject: Re: Limiting disk I/O?
To: Tech-kern <tech-kern@netbsd.org>
From: Juan RP <juan@xtrarom.org>
List: tech-kern
Date: 11/12/2007 15:46:52
On Mon, 12 Nov 2007 14:44:40 +0200
Jukka Marin <jmarin@embedtronics.fi> 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.
> 
> > There are kernel options
> > to give priority sorting and read-optimised scheduling. You can select
> > the policy for a device with dkctl $dev strategy.
> 
> It seems my kernel is lacking something..
> # dkctl ld1 strategy
> dkctl: /dev/rld1d: DIOCGSTRATEGY: Inappropriate ioctl for device
> 
> I'll see if I can find the problem ;)

FYI:

revision 1.51
date: 2007/11/12 14:45:23;  author: xtraeme;  state: Exp;  lines: +40 -3
Implement DIOCGSTRATEGY and DIOCSSTRATEGY for dkctl <foo0> strategy.

Update your ld.c file and let us know if there's any problem.

-- 
Juan Romero Pardines	- The NetBSD Project
http://plog.xtrarom.org	- NetBSD/pkgsrc news in Spanish