Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DpdgHR70O22i for ; Sun, 26 Feb 2012 22:29:32 +0100 (CET) Received: from nm10-vm0.bullet.mail.ird.yahoo.com (nm10-vm0.bullet.mail.ird.yahoo.com [77.238.189.90]) by mail.saout.de (Postfix) with SMTP for ; Sun, 26 Feb 2012 22:29:32 +0100 (CET) References: <1328567304.90926.YahooMailNeo@web29602.mail.ird.yahoo.com> <20120207081135.GC17107@tansi.org> <20120207083334.GA18260@tansi.org> <1328713497.10971.YahooMailNeo@web29605.mail.ird.yahoo.com> <20120208152645.GA17166@tansi.org> <1328723721.26190.YahooMailNeo@web29606.mail.ird.yahoo.com> <20120209073717.GA3176@tansi.org> Message-ID: <1330291771.886.YahooMailNeo@web29603.mail.ird.yahoo.com> Date: Sun, 26 Feb 2012 21:29:31 +0000 (GMT) From: Mickael In-Reply-To: <20120209073717.GA3176@tansi.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: [dm-crypt] Re : Re : Re : Poor performances with nfs and Kernel 3.x Reply-To: Mickael List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "dm-crypt@saout.de" =0A=0A> ----- Mail original -----=0A> De=A0: Arno Wagner = =0A> =C0=A0: dm-crypt@saout.de=0A> Cc=A0: =0A> Envoy=E9 le : Jeudi 9 f= =E9vrier 2012 8h37=0A> Objet=A0: Re: [dm-crypt] Re : Re : Poor performance= s with nfs and Kernel 3.x=0A> =0A> On Wed, Feb 08, 2012 at 05:55:21PM +0000= , Mickael wrote:=0A> > Here are more tests focusing the CPU load with htop = snapshot:=0A> > =0A> > with Kernel 3.x, nfsd threads are using more CPU !?= =0A> =0A> This is what I suspected. You setup is already slightly =0A> CPU-= limited when reading/writing encrypted partitions. =0A> Any additional CPU = needed by NFS is then directly deduced =0A> from CPU available for encrypti= on.=0A> =0A> I have to say this is a pretty special case as reading/writing= =0A> must be CPU limited, but only just about. =0A> =0A> I have no idea why= NFSD needs more CPU though. Maybe add that=0A> as finding to your LKML pos= t. Maybe also try to contact =0A> the NFS folks directly or via bugzilla.ke= rnel.org by=0A> filing a bug against NFSD in 3.x.=0A> =0A> Possible fixes:= =0A> 1) live with it=0A> 2) stay with kernel 2.6.x=0A> 3) use a faster ciph= er (although AES is pretty optimal here)=0A> 4) get a faster CPU, or one wi= th at least 2 cores if this is =0A> =A0 a single core.=0A> =0A> Arno=0A> = =0A=0A=0ASorry for the late answer.=0AI've finally compiled the last stable= Kernel 3.2.7 this afternoon, and the problem is still here :(=0A=0AThere i= s an identical bug report on ubuntu launchpad ( https://bugs.launchpad.net/= ubuntu/+source/nfs-utils/+bug/879334 ), but I'm not sure if Ubuntu is worki= ng on it. (Problem reported when Ubuntu started using 3.0 Kernel in october= 2011)=0AI need to take a look at the NFS mailing list to see if the proble= m has been reported. The solution is certainly here.=0A=0AFor the moment, I= stay with the 2.6 Kernel !=0A=0AThanks for your help !=0AMickael=0A=0A=0AP= S: about point 3: Have you ever thinking adding an option to cryptsetup to = do a benchmark like this: http://www.truecrypt.org/screenshots2 (I guess ev= eryone build his own one)=0AIn fact, with the speed, it will be great to ha= ve an idea about the security level of=A0 each cipher too. But is it possib= le to calculate such index ?=0AFor example, is the slowest cipher the most = secure ?