From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Moyer Subject: Re: dm-mpath request merging concerns [was: Re: It's time to put together the schedule] Date: Tue, 24 Feb 2015 09:35:35 -0500 Message-ID: References: <54EAD453.6040907@suse.de> <20150223135057.GA3362@redhat.com> <54EB60EC.6080706@cs.wisc.edu> <20150223183422.GU11463@ask-08.lab.msp.redhat.com> <20150223195603.GB4693@redhat.com> <20150223211918.GW11463@ask-08.lab.msp.redhat.com> <20150223224637.GB5503@redhat.com> <20150223221438.GX11463@ask-08.lab.msp.redhat.com> <20150224003900.GA6421@redhat.com> <20150224003816.GY11463@ask-08.lab.msp.redhat.com> <20150224020231.GA6761@redhat.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150224020231.GA6761@redhat.com> (Mike Snitzer's message of "Mon, 23 Feb 2015 21:02:31 -0500") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Mike Snitzer Cc: lsf@lists.linux-foundation.org, axboe@kernel.dk, device-mapper development List-Id: dm-devel.ids Mike Snitzer writes: > Jens and/or Jeff Moyer, are there any knobs that you'd suggest to try to > promote request merging on a really fast block device? Any scheduler > and knobs you'd suggest would be appreciated. There's a small chance that CFQ does what you want. It has logic to detect when multiple processes are submitting interleaved I/O, and it will try to wait until requests are merged before dispatching (see the comment in cfq_rq_enqueued). Aside from that, make sure /sys/block//queue/rotational is set to 1. Cheers, Jeff