On Mon, Jul 11, 2011 at 2:02 PM, Leonidas Spyropoulos <artafinde@xxxxxxxxx> wrote: > On Mon, Jul 11, 2011 at 7:04 AM, Fajar A. Nugraha <list@xxxxxxxxx> wrote: >> On Mon, Jul 11, 2011 at 5:34 AM, Leonidas Spyropoulos >> <artafinde@xxxxxxxxx> wrote: >>> So any clues for the intel 320 series? I think it doesn't use compression. >> >> At this point your best bet is to try it yourself and see. If it >> doesn't result in poor performance, then keep on using "-o discard". > Could you propose me any tools available for measuring performance? > > I only know iozone and tunefs -t parameter. Anything that can measure random write IO is fine. I use fio with this jobfile: $ cat randomwrite.fio [write-test] rw=randwrite ioengine=libaio blocksize=4k iodepth=32 size=1G the result: write: io=1024MB, bw=32395KB/s, iops=8098, runt= 32368msec If you still have similar performance with and without "-o discard", then you should add it your mount options. -- Fajar -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
