On 4/3/11 12:01 PM, Zeev Tarantov wrote: > On Sun, Apr 3, 2011 at 21:56, Eric Sandeen <sandeen@xxxxxxxxxx> wrote: >> On 4/3/11 11:52 AM, Zeev Tarantov wrote: >>> If the filesystem created with the default options is slow or has >>> higher cpu usage, it should be changed. >> >> I agree. For actual striped storage, this makes it faster, but this >> case is a problem; block-sized stripe width is never going to be good. >> What device is this, exactly? > > Look in linux-2.6/drivers/staging/zram/zram.txt OK, so it does: /* * To ensure that we always get PAGE_SIZE aligned * and n*PAGE_SIZED sized I/O requests. */ blk_queue_physical_block_size(zram->disk->queue, PAGE_SIZE); blk_queue_logical_block_size(zram->disk->queue, ZRAM_LOGICAL_BLOCK_SIZE); blk_queue_io_min(zram->disk->queue, PAGE_SIZE); blk_queue_io_opt(zram->disk->queue, PAGE_SIZE); These are all documented in Documentation/ABI/testing/sysfs-block. I don't think that setting all those values in zram is necessary and/or sufficient to achieve what is desired in the comment. io_min/io_opt generally are set only for striped devices. Still, mke2fsprogs should probably sanity-check for this; I'll make sure this seems right, and send a patch. Thanks, -Eric >> -Eric (losing my free airport wifi in about 8 minutes, so I may have >> to continue this later...!) >> >>>> -Eric >>> >>> -Z.T. >> -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html