From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ee0-x232.google.com (mail-ee0-x232.google.com [IPv6:2a00:1450:4013:c00::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Thu, 20 Mar 2014 20:16:43 +0100 (CET) Received: by mail-ee0-f50.google.com with SMTP id c13so1015469eek.37 for ; Thu, 20 Mar 2014 12:16:42 -0700 (PDT) Message-ID: <532B3E8E.5080406@gmail.com> Date: Thu, 20 Mar 2014 20:16:30 +0100 From: Milan Broz MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] trouble with dm-crypt and NFS: server hangs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stephen Cousins , dm-crypt@saout.de Cc: device-mapper development On 03/20/2014 03:48 PM, Stephen Cousins wrote: > I am testing dm-crypt with a system that serves data over NFS. I'm > finding that when serving the data over NFS4 it will go for a little > while and then it will just stop copying and networking on the NFS > server will stall out so that other connections to other parts of the > storage (a non-dm-crypt volume) will become very laggy. Soon after > canceling the copy the other connections resume back to normal. > > I have tried this on two different servers, one with a single disk > with ZFS and another with a ZFS raidz2 pool and they both do the same > thing. CPU doesn't seem to be an issue. Doing local copies is not a > problem. That is, copying to/from these volumes made up of dm-crypted > disks from other disks on the server have no problems. > > One system (the one with the RAID pool) is CentOS 6.4 and the other > one is CentOS 6.5. > > I'm curious if anyone else has run into this before and if so, what > can be done to make it work? I'm going to test to see if taking ZFS > out of the equation helps. I haven't run into this with ZFS with > disks without dm-crypt. Hi, unfortunately the dmcrypt code in Centos 6.x is not what is upstream kernel (mainly because of per cpu processing changes upstream). (It would be interesting if it is reproducible with upstream kernel, but I guess it is not easy to test...) I am adding cc to dm-devel list, maybe someone there could have some idea how to help here. Milan > > Thanks, > > Steve > > > > -- ________________________________________________________________ > Steve Cousins Supercomputer Engineer/Administrator > Advanced Computing Group University of Maine System 244 > Neville Hall (UMS Data Center) (207) 561-3574 > Orono ME 04469 > steve.cousins at maine.edu From mboxrd@z Thu Jan 1 00:00:00 1970 From: Milan Broz Subject: Re: trouble with dm-crypt and NFS: server hangs Date: Thu, 20 Mar 2014 20:16:30 +0100 Message-ID: <532B3E8E.5080406@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dm-crypt-bounces-4q3lyFh4P1g@public.gmane.org Sender: "dm-crypt" To: Stephen Cousins , dm-crypt-4q3lyFh4P1g@public.gmane.org Cc: device-mapper development List-Id: dm-devel.ids On 03/20/2014 03:48 PM, Stephen Cousins wrote: > I am testing dm-crypt with a system that serves data over NFS. I'm > finding that when serving the data over NFS4 it will go for a little > while and then it will just stop copying and networking on the NFS > server will stall out so that other connections to other parts of the > storage (a non-dm-crypt volume) will become very laggy. Soon after > canceling the copy the other connections resume back to normal. > > I have tried this on two different servers, one with a single disk > with ZFS and another with a ZFS raidz2 pool and they both do the same > thing. CPU doesn't seem to be an issue. Doing local copies is not a > problem. That is, copying to/from these volumes made up of dm-crypted > disks from other disks on the server have no problems. > > One system (the one with the RAID pool) is CentOS 6.4 and the other > one is CentOS 6.5. > > I'm curious if anyone else has run into this before and if so, what > can be done to make it work? I'm going to test to see if taking ZFS > out of the equation helps. I haven't run into this with ZFS with > disks without dm-crypt. Hi, unfortunately the dmcrypt code in Centos 6.x is not what is upstream kernel (mainly because of per cpu processing changes upstream). (It would be interesting if it is reproducible with upstream kernel, but I guess it is not easy to test...) I am adding cc to dm-devel list, maybe someone there could have some idea how to help here. Milan > > Thanks, > > Steve > > > > -- ________________________________________________________________ > Steve Cousins Supercomputer Engineer/Administrator > Advanced Computing Group University of Maine System 244 > Neville Hall (UMS Data Center) (207) 561-3574 > Orono ME 04469 > steve.cousins at maine.edu _______________________________________________ dm-crypt mailing list dm-crypt-4q3lyFh4P1g@public.gmane.org http://www.saout.de/mailman/listinfo/dm-crypt