From: Matthias Schniedermeyer <ms@citd.de>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] Re : Re : Poor performances with nfs and Kernel 3.x
Date: Thu, 9 Feb 2012 10:34:23 +0100 [thread overview]
Message-ID: <20120209093423.GA29945@citd.de> (raw)
In-Reply-To: <20120209073717.GA3176@tansi.org>
On 09.02.2012 08:37, Arno Wagner wrote:
> Possible fixes:
> 4) get a faster CPU, or one with at least 2 cores if this is
> a single core.
An AMD Bulldozer(AFAIR) or Intel Core i5 (of Westmere or newer
generation, so Core i5 5xx, or Core i5/7 2xxx) or better would have
AES-NI. Hardware Acceleration helps tremendously.
I have tested copying between a Core i7 2600 and a Core i5 560, i get
100MB/s either with NFS(v3) or via scp (with the
intel-acceleration-engine for openssl, so openssl can use AES-NI which
it doesn't "as is", altough i also get the necessary speed if i use
"arcfour").
The Kernel i tested with was 3.2 on both sides.
I ran the test from HDD over Gigabit to tmpfs.
To be precise i have to say that i ran the test with loop-aes, but i
expect i will get comparable speed after i switch to dm-crypt.
When i compared loop-aes to dm-crypt for raw-speed on a tmpfs i got more
speed out of dm-crypt(cipher=aes:64-cbc-lmk)).
I got 360MB/s for loop-aes vs. 540 MB/s for dm-crypt. But loop-aes
needed less cpu. 1 core with 100% for loop-aes vs. 1 core with 100% and
3 cores with 66% from dm-crypt.
As only about 20% of max-speed are needed for 100MB/s i think i would
get about the same speed if i had used dm-crypt.
Bis denn
--
Real Programmers consider "what you see is what you get" to be just as
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated,
cryptic, powerful, unforgiving, dangerous.
next prev parent reply other threads:[~2012-02-09 9:34 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 [this message]
2012-02-09 10:19 ` Milan Broz
2012-02-09 12:04 ` Arno Wagner
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=20120209093423.GA29945@citd.de \
--to=ms@citd.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox