Jeff Moyer <jmoyer@xxxxxxxxxx> writes: > Hi, > > From within the block layer in the kernel, it is difficult to > automatically detect the performance characteristics of the underlying > storage. It was suggested by Jens Axboe at LSF2010 that we write a udev > rule to tune the I/O scheduler properly for most cases. The basic > approach is to leave CFQ's default tunings alone for SATA disks. For > everything else, turn off slice idling and bump the quantum in order to > drive higher queue depths. This patch is an attempt to implement this. > > I've tested it in a variety of configurations: > - cciss devices > - sata disks > - sata ssds > - enterprise storage (single path) > - enterprise storage (multi-path) > - multiple paths to a sata disk (yes, you can actually do that!) > > The tuning works as expected in all of those scenarios. I look forward > to your comments. > I forgot to mention that Harald Hoyer provided a great deal of help in getting me up to speed on udev, so thanks are indeed due to him. Cheers, Jeff -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html