Re: Bio pool & scsi scatter gather pool usage

From: Andrew Morton (akpm@zip.com.au)
Date: Thu Apr 18 2002 - 18:48:55 EST


Alan Cox wrote:
>
> > Perhaps, but calls are expensive. Repeated calls down stacked block
> > devices will add up. In only the most unusually cases will there
>
> You don't need to repeatedly query. At bind time you can compute the
> limit for any device heirarchy and be done with it.
>

S'pose so. The ideal request size is variable, based
on the alignment. So for exampe if the start block is
halfway into a stripe, the ideal BIO size is half a stripe.

But that's a pretty simple table to generate once-off,
as you say.

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



This archive was generated by hypermail 2b29 : Tue Apr 23 2002 - 22:00:22 EST