Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422671Ab3CVRRO (ORCPT ); Fri, 22 Mar 2013 13:17:14 -0400 Received: from merlin.infradead.org ([205.233.59.134]:34688 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1422635Ab3CVRRN (ORCPT ); Fri, 22 Mar 2013 13:17:13 -0400 Date: Fri, 22 Mar 2013 11:17:06 -0600 From: Jens Axboe To: Philipp Reisner Cc: linux-kernel@vger.kernel.org, drbd-dev@lists.linbit.com, lars.ellenberg@linbit.com Subject: Re: [PATCH 00/18] RFC: Non blocking submit for activity log misses Message-ID: <20130322171706.GF1628@kernel.dk> References: <1363713419-17803-1-git-send-email-philipp.reisner@linbit.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1363713419-17803-1-git-send-email-philipp.reisner@linbit.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2183 Lines: 57 On Tue, Mar 19 2013, Philipp Reisner wrote: > The Issues > > Since the beginning DRBD was written with the assumption that the write > pattern has spacial locality. (This assumption was driven from the fact, > that rotating media performs better if you do not send the head too far too > often) > > Backed by this assumption a caller that submits a request that is outside of > the current active set, was blocked until the active set was changed. > (Changing the active set is a synchronous write operation to the meta-data > area on the backing storage = "an AL-update" in DRBD-speak) > > A second effect was that DRBD's meta-data was located in a very narrow > area. When DRBD is used on top of a RAID0 stripe set, this causes all > AL-updates to got to the same disk. > > > The Proposed Solution > > This patch series improves DRBD's behavior. A submitter is no longer blocked > in the case of a AL-miss. For this a dedicated submitter worker is introduced > (patch 13). > > In order to better distribute the AL-updates to more disks in a stripe set > this patch series also introduces an optional striped layout of the part > of the meta-data that holds the AL-updates (patch 4). > > > The Results > > This of course drastically improves DRBD's performance if the write pattern > does not have any spacial locality. E.g. random writes spread out over the > whole device. > > In the test systems we have SSDs with are able to do up to 50000 writes per > second. The test does random distributed writes over a work set size of > 128GiB with IO depths from 1 to 1024. > > At an IO depth of 64: > without this patch we observed ~100 IOPs. > With this patches we observed about 20000 IOPs. > > Please find charts of the results here: > http://blogs.linbit.com/p/469/843-random-writes-faster/ Patchset doesn't apply to current tree. 10/18 gets into problems, last hunk of drbd_main.c. What is this based on? -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/