Re: [PATCH] speed up SATA

From: Jens Axboe
Date: Tue Mar 30 2004 - 06:42:40 EST


On Tue, Mar 30 2004, Kurt Garloff wrote:
> On Mon, Mar 29, 2004 at 03:08:50PM +0200, Jens Axboe wrote:
> > Indeed, it would be best to keep the read-ahead window at least a
> > multiple of the max read size. So you don't get the nasty effects of
> > having a 128k read-ahead window, but device with 255 sector limit
> > resulting in 124KB + 4KB read.
>
> Any work underway to implement this?

It would be a few lines of code to implement this - see the other patch
I just sent. You just need to adjust backing_dev_info.ra_pages based on
->max_sectors, if you use the current kernels.

--
Jens Axboe

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