lkml.org 
[lkml]   [1998]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: elevator algorithm bug in ll_rw_blk.c

On Sun, 15 Nov 1998, Vojtech Pavlik wrote:

> On Sun, Nov 15, 1998 at 07:24:46PM +0000, Riley Williams wrote:

> You could apply a two way elevator well if you knew about the physical
> characteristics of the drive. Unfortunately there is no way to find that out
> for most modern drives.

Just consider the following:

1 - File are mostly allocated in ascending block order.
2 - Applications most of the time read file sequentially and the
kernel does read-ahead.
3 - Hard disks prefetch data ahead.

Who still want to ever walk the drive in the reverse direction?
No need to be intelligent when being cleverly stupid works great? ;-)

Regards,
Gerard.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.123 / U:0.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site