From: Arno Wagner <arno@wagner.name>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] Larger encryption requests from dm-crypt
Date: Mon, 30 Mar 2015 18:52:05 +0200 [thread overview]
Message-ID: <20150330165205.GA2599@tansi.org> (raw)
In-Reply-To: <CAJUS3Xk6L_rHYLWvU2ODuUXuX_75BLGsFvc22RQaD6yPVZ3d3A@mail.gmail.com>
On Fri, Mar 27, 2015 at 14:40:28 CET, Martin Hicks wrote:
> On Wed, Mar 25, 2015 at 10:54 PM, Arno Wagner <arno@wagner.name> wrote:
[...]
> >> (Why it is so slow for 512bytes sectors? Isn't it problem of hw?
> >> The overhead should not be such high...)
> >
> > I am wondering that too. This hardware may have a really,
> > really slow key-setup, far slower than the crypto merits.
> > Would not be the first time that non-crypto people messed
> > something like this up by faulty assumptions on how things
> > are used.
>
> I'm not sure. I just assumed it was all the overhead of request queue
> management, servicing interrupts, spinlocks, in addition to the
> hardware setup time. Doing 512byte sectors results in 80000+
> interrupts/sec.
Possibly. Although a key-setup should take longer than
handling an interrupt and even 80k/sec interrupts should
not cause much load or slowdown. Of course, it is possible
that this platform is really bad at handling interrupts.
> Anyways, I wasn't fighting for inclusion of this patch, just providing
> it in case anyone else is looking at Talitos' performance. I will
> take a look at the changes in v4.0 kernel and hopefully adapt this
> patch to the changes.
That is entirely fine. And thanks for posting the info.
Arno
> Thanks for your comments,
> mh
>
> --
> Martin Hicks P.Eng. | mort@bork.org
> Bork Consulting Inc. | +1 (613) 266-2296
> _______________________________________________
> dm-crypt mailing list
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt
--
Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: arno@wagner.name
GnuPG: ID: CB5D9718 FP: 12D6 C03B 1B30 33BB 13CF B774 E35C 5FA1 CB5D 9718
----
A good decision is based on knowledge and not on numbers. -- Plato
If it's in the news, don't worry about it. The very definition of
"news" is "something that hardly ever happens." -- Bruce Schneier
prev parent reply other threads:[~2015-03-30 16:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-25 20:01 [dm-crypt] Larger encryption requests from dm-crypt Martin Hicks
2015-03-25 20:51 ` Milan Broz
2015-03-26 2:54 ` Arno Wagner
2015-03-27 13:40 ` Martin Hicks
2015-03-30 16:52 ` Arno Wagner [this message]
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=20150330165205.GA2599@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.