From: Arno Wagner <arno@wagner.name>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] Re : Re : Poor performances with nfs and Kernel 3.x
Date: Thu, 9 Feb 2012 13:04:37 +0100 [thread overview]
Message-ID: <20120209120437.GC7717@tansi.org> (raw)
In-Reply-To: <4F339DB2.20603@redhat.com>
On Thu, Feb 09, 2012 at 11:19:30AM +0100, Milan Broz wrote:
> On 02/09/2012 08:37 AM, Arno Wagner wrote:
> >On Wed, Feb 08, 2012 at 05:55:21PM +0000, Mickael wrote:
> >>Here are more tests focusing the CPU load with htop snapshot:
> >>
> >>with Kernel 3.x, nfsd threads are using more CPU !?
> >
> >This is what I suspected. You setup is already slightly
> >CPU-limited when reading/writing encrypted partitions.
> >Any additional CPU needed by NFS is then directly deduced
> >from CPU available for encryption.
>
> Not sure if it help, but it would be interesting if you can try
> to use patch from this thread
> http://article.gmane.org/gmane.linux.kernel/1245748
>
> (it can be completely unrelated though, I have no time to test
> it now myself)
>
> BTW I will add possibility to use null cipher to cryptsetup,
> just to test exactly these situations (null cipher eliminates all
> crypto operations),
That is a really good idea!
Arno
> for now, you can try it with dmsetup and
> measure preformance (this should uncover if encryption is
> the problem or there is some timing problem):
>
> (Replace DEV with your disk, note key is "-" - means empty)
>
> dmsetup create x --table "0 $(blockdev --getsz DEV) crypt cipher_null-ecb-null - 0 DEV 0"
>
> Milan
> _______________________________________________
> dm-crypt mailing list
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt
>
--
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name
GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F
----
One of the painful things about our time is that those who feel certainty
are stupid, and those with any imagination and understanding are filled
with doubt and indecision. -- Bertrand Russell
next prev parent reply other threads:[~2012-02-09 12:04 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-06 22:28 [dm-crypt] Poor performances with nfs and Kernel 3.x Mickael
2012-02-07 8:11 ` Arno Wagner
2012-02-07 8:33 ` Arno Wagner
2012-02-08 15:04 ` [dm-crypt] Re : " Mickael
2012-02-08 15:26 ` Arno Wagner
2012-02-08 17:55 ` [dm-crypt] Re : " Mickael
2012-02-09 7:37 ` Arno Wagner
2012-02-09 9:34 ` Matthias Schniedermeyer
2012-02-09 10:19 ` Milan Broz
2012-02-09 12:04 ` Arno Wagner [this message]
2012-02-26 21:29 ` [dm-crypt] Re : " Mickael
2012-02-26 21:39 ` Arno Wagner
2012-02-08 14:55 ` [dm-crypt] " Mickael
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120209120437.GC7717@tansi.org \
--to=arno@wagner.name \
--cc=dm-crypt@saout.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.