Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751832AbdLNASL (ORCPT ); Wed, 13 Dec 2017 19:18:11 -0500 Received: from merlin.infradead.org ([205.233.59.134]:50198 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751577AbdLNASJ (ORCPT ); Wed, 13 Dec 2017 19:18:09 -0500 Subject: Re: [PATCH v3 2/2] dm unstripe: Add documentation for unstripe target To: Scott Bauer , dm-devel@redhat.com Cc: snitzer@redhat.com, agk@redhat.com, linux-kernel@vger.kernel.org, keith.busch@intel.com, jonathan.derrick@intel.com References: <20171213213332.2914-1-scott.bauer@intel.com> <20171213213332.2914-3-scott.bauer@intel.com> From: Randy Dunlap Message-ID: <808cd141-3c0a-d0ae-5b9d-efc19ab9f0fb@infradead.org> Date: Wed, 13 Dec 2017 16:18:06 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20171213213332.2914-3-scott.bauer@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2134 Lines: 57 On 12/13/2017 01:33 PM, Scott Bauer wrote: > Signed-off-by: Scott Bauer > --- > Documentation/device-mapper/dm-unstripe.txt | 130 ++++++++++++++++++++++++++++ > 1 file changed, 130 insertions(+) > create mode 100644 Documentation/device-mapper/dm-unstripe.txt > > diff --git a/Documentation/device-mapper/dm-unstripe.txt b/Documentation/device-mapper/dm-unstripe.txt > new file mode 100644 > index 000000000000..01d7194b9075 > --- /dev/null > +++ b/Documentation/device-mapper/dm-unstripe.txt > @@ -0,0 +1,130 @@ > +Device-Mapper Unstripe > +===================== > + [snip] > +============== > + > + > + Another example: > + > + Intel NVMe drives contain two cores on the physical device. > + Each core of the drive has segregated access to its LBA range. > + The current LBA model has a RAID 0 128k chunk on each core, resulting > + in a 256k stripe across the two cores: > + > + Core 0: Core 1: > + __________ __________ > + | LBA 512| | LBA 768| > + | LBA 0 | | LBA 256| > + ⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻ ⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻ Use ASCII characters ___ or ---, not whatever those bottom block characters are. > + > + The purpose of this unstriping is to provide better QoS in noisy > + neighbor environments. When two partitions are created on the > + aggregate drive without this unstriping, reads on one partition > + can affect writes on another partition. This is because the partitions > + are striped across the two cores. When we unstripe this hardware RAID 0 > + and make partitions on each new exposed device the two partitions are now > + physically separated. > + > + With the module we were able to segregate a fio script that has read and > + write jobs that are independent of each other. Compared to when we run > + the test on a combined drive with partitions, we were able to get a 92% > + reduction in five-9ths read latency using this device mapper target. 5/9ths although I can't quite parse that sentence. -- ~Randy