Re: [blockdevices/NBD] huge read/write-operations are splitted bythe kernel

From: Sven Köhler
Date: Mon Sep 08 2003 - 07:51:04 EST


You'll probably find that if you bump the max_sectors count if your
drive to 256 from 255 (that is the default if you haven't set it), then
you'll see 128kb chunks all the time.

Why is 255 the default. It seems to be an inefficient value. Perhaps the NBD itself should set it to 256.

See max_sectors[] array.

Well, i found the declaration, but i can't imagine how to set the values in it.


-
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/