Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Mar 2009 08:13:02 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Luigi Rizzo <rizzo@iet.unipi.it>
Cc:        luigi@freebsd.org, Pawel Jakub Dawidek <pjd@freebsd.org>, Ivan Voras <ivoras@freebsd.org>, freebsd-geom@freebsd.org
Subject:   Re: disk scheduling (was: Re: RFC: adding 'proxy' nodes to provider ports (with patch)) 
Message-ID:  <45710.1237709582@critter.freebsd.dk>
In-Reply-To: Your message of "Sun, 22 Mar 2009 02:00:59 %2B0100." <eb21ef440903211800h266ec0aes158cb189095289c1@mail.gmail.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <eb21ef440903211800h266ec0aes158cb189095289c1@mail.gmail.com>, Luigi
 Rizzo writes:

>The thread was meant to be on inserting transparent nodes in GEOM.
>
>Scheduling was just an example on where the problem came out, 

Scheduling is the *only* application I have seen mentioned for
this special case geom construct ?

>+ nobody objects that the ideal place for scheduling is where
>  requests naturally "pile up". Too bad that this ideal
>  place is sometimes one we cannot access, i.e. the firmware
>  of the disk drive.

Do you seriously propose that we could compete in scheduling
quality, with the disk drives firmware on drives that can have
multiple outstanding requests ?

>+ [anticipatory scheduling]
>  As such you can implement them effectively even above the device driver.

I have yet to see any study propose that they could do any good
inside the geom mesh, as opposed to right in front of the device
driver ?

>+ changing disksort can do some things but not all one would want.
>  [...]

Then the correct answer is to insert a perfectly normal geom
class above the disk drive to implement that.  I totally fail
to se what special kind of classes would buy you ?

>if you want a quick example [...]

I know what anticipatory disk-scheduling is, what it does,
and what the downsides of it are. (I also know that with
SSD's it becomes all but pointless).

The question is not if we should improve disksorting, the question
is if we need to hack up GEOM for it.

The answer is "no".

Poul-Henning

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



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