On 2015-04-10 05:50 PM, Jeff Moyer wrote: > Dave Chinner <david@xxxxxxxxxxxxx> writes: > >> On Tue, Apr 07, 2015 at 02:55:13PM -0400, Jeff Moyer wrote: >>> The way the on-stack plugging currently works, each nesting level >>> flushes its own list of I/Os. This can be less than optimal (read >>> awful) for certain workloads. For example, consider an application >>> that issues asynchronous O_DIRECT I/Os. It can send down a bunch of >>> I/Os together in a single io_submit call, only to have each of them >>> dispatched individually down in the bowels of the dirct I/O code. >>> The reason is that there are blk_plug-s instantiated both at the upper >>> call site in do_io_submit and down in do_direct_IO. The latter will >>> submit as little as 1 I/O at a time (if you have a small enough I/O >>> size) instead of performing the batching that the plugging >>> infrastructure is supposed to provide. >> >> I'm wondering what impact this will have on filesystem metadata IO >> that needs to be issued immediately. e.g. we are doing writeback, so >> there is a high level plug in place and we need to page in btree >> blocks to do extent allocation. We do readahead at this point, >> but it looks like this change will prevent the readahead from being >> issued by the unplug in xfs_buf_iosubmit(). > > I'm not ignoring you, Dave, I'm just doing some more investigation and > testing. It's taking longer than I had hoped. > > -Jeff > Jeff, Would you mind sending your test reports to the list so we can see what workloads and tests your running your patch under. This is due to me and the others perhaps being able to give input into the other major benchmarks or workloads we need to test too in order to see if there are any regressions with your patch. Thanks, Nick > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Linux-f2fs-devel mailing list > Linux-f2fs-devel@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel > -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel