Am Mittwoch, 3. August 2011 schrieben Sie: > Martin Steigerwald <Martin@xxxxxxxxxxxx> writes: > > - ioengine=libaio > > - direct=1 > > - and then due to direct I/O alignment requirement: bsrange=2k-16k > > > > So I now also fully understand that ioengine=sync just refers to the > > synchronous nature of the system calls used, not on whether the I/Os > > are issued synchronously via sync=1 or by circumventing the page > > cache via direct=1 > > > > Attached are results that bring down IOPS on read drastically! I > > first let sequentiell.job write out the complete 2 gb with random > > data and then ran the iops.job. > > If you want to measure the maximum iops, then you should consider > driving iodepths > 1. Assuming you are testing a sata ssd, try using a > depth of 64 (twice the NCQ depth). And additionally? Does using iodepth > 1 need ioengine=libaio? Let´s see the manpage: iodepth=int Number of I/O units to keep in flight against the file. Note that increasing iodepth beyond 1 will not affect synchronous ioengines (except for small degress when verify_async is in use). Even async engines my impose OS restrictions causing the desired depth not to be achieved. This may happen on Linux when using libaio and not setting direct=1, since buffered IO is not async on that OS. Keep an eye on the IO depth distribution in the fio output to verify that the achieved depth is as expected. Default: 1. Okay, yes, it does. I start getting a hang on it. Its a bit puzzling to have two concepts of synchronous I/O around: 1) synchronous system call interfaces aka fio I/O engine 2) synchronous I/O requests aka O_SYNC -- Martin 'Helios' Steigerwald - http://www.Lichtvoll.de GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7 -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html