From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Snitzer Subject: Re: [PATCH 8/9] dm crypt: offload writes to thread Date: Tue, 1 Apr 2014 12:32:47 -0400 Message-ID: <20140401163247.GF13050@redhat.com> References: <1396037476-26595-1-git-send-email-snitzer@redhat.com> <1396037476-26595-9-git-send-email-snitzer@redhat.com> <533AE8DC.5080004@redhat.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <533AE8DC.5080004@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Ondrej Kozina Cc: device-mapper development , Mikulas Patocka List-Id: dm-devel.ids On Tue, Apr 01 2014 at 12:27pm -0400, Ondrej Kozina wrote: > On 03/28/2014 09:11 PM, Mike Snitzer wrote: > >From: Mikulas Patocka > > > >Submitting write bios directly in the encryption thread caused serious > >performance degradation. On a multiprocessor machine, encryption requests > >finish in a different order than they were submitted. Consequently, write > >requests would be submitted in a different order and it could cause severe > >performance degradation. > > (...) > > Hi, > > originally I planed to post result of performance testing but > unfortunately I crashed the test machine several times with > patch applied and onward: > > The test set up looks following: > > the base is kernel-3.14-rc8 with applied "[PATCH 2/9] block: use > kmalloc alignment for bio slab" > > On top of base I compiled various dm-crypt modules: > > = raw 3.14-rc8 dm-crypt module > = "[PATCH 1/9]" > = + "[PATCH 3/9]" > = + "[PATCH 4/9]" > = + "[PATCH 5/9]" + "[PATCH 6/9]" > = + "[PATCH 7/9]" > = + "[PATCH 8/9]" > = + "[PATCH 9/9]" Wonder if it worthwhile to rebase to final v3.14... could this bio_add_page/mm crash be a function of something since fixed late in the rc cycle?