From: Tyler Hicks <tyhicks@canonical.com>
To: Colin King <colin.king@canonical.com>
Cc: ecryptfs@vger.kernel.org, Thieu Le <thieule@google.com>
Subject: Re: [PATCH 0/1] ecryptfs: Migrate to ablkcipher API
Date: Wed, 13 Jun 2012 08:54:46 -0700 [thread overview]
Message-ID: <20120613155445.GA21062@boyd> (raw)
In-Reply-To: <1339589670-12189-1-git-send-email-colin.king@canonical.com>
[-- Attachment #1: Type: text/plain, Size: 2555 bytes --]
On 2012-06-13 13:14:29, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> This is a forward port of Thieu Le's patch from 2.6.39 to migrate
> to using the ablkcipher API for eCryptfs.
>
> Performance Improvements:
>
> I've instrumented this patch to measure TSC ticks per 4K encrypt
> and decrypt operations to see how this patch compares to the original
> code using the default AES generic crypto engine as well as the
> new Intel AES-NI instruction capable crypto engine on an Ivybridge
> i7-3770.
>
> Patched: TSC ticks for 4K TSC ticks per byte
> AES-Generic Read: 5843.5 1.42
> AES-Generic Write: 19295.8 4.71
>
> AES-NI Read: 5677.0 1.39
> AES-NI Write: 19257.9 4.70
>
> Unpatched:
> AES-Generic Read: 92861.5 22.67
> AES-Generic Write: 93642 22.61
>
> AES-NI Read: 91610.2 22.37
> AES-NI Write: 93659.2 22.87
>
> ..so at the crypto engine stage we see some considerable speed improvement
> with the patch.
Colin - Thanks again for carrying out this performance testing!
Tyler
>
> I've also run some simple benchmarking tests comparing this patch with
> the un-patched kernel on a variety of machines (Ivybridge, Sandybridge,
> Atom) and drives (HDD, SSD) to see how well it performs. A LibreOffice
> speadsheet of the test result data and a write-up are available:
>
> http://kernel.ubuntu.com/~cking/ecryptfs-async-testing/async-patch-results-1.ods
> http://kernel.ubuntu.com/~cking/ecryptfs-async-testing/async-patch-summary.txt
>
> Soak Testing:
> * many kernel builds using -j 64, on HDD and SSD
> * eCryptfs tests with lower filesystems: ext2, ext3, ext4, xfs, btrfs
> * exercised on a 4 CPU (+hyperthreaded) build machine
> * bonnie++ and tiobench tests
>
> Colin Ian King (1):
> ecryptfs: Migrate to ablkcipher API
>
> fs/ecryptfs/crypto.c | 678 +++++++++++++++++++++++++++++++----------
> fs/ecryptfs/ecryptfs_kernel.h | 38 ++-
> fs/ecryptfs/main.c | 10 +
> fs/ecryptfs/mmap.c | 87 +++++-
> 4 files changed, 636 insertions(+), 177 deletions(-)
>
> --
> 1.7.9.5
>
> --
> To unsubscribe from this list: send the line "unsubscribe ecryptfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
prev parent reply other threads:[~2012-06-13 15:54 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-13 12:14 [PATCH 0/1] ecryptfs: Migrate to ablkcipher API Colin King
2012-06-13 12:14 ` [PATCH 1/1] " Colin King
2012-06-13 16:11 ` Tyler Hicks
[not found] ` <CAEcckGpMt1O+2syGbCQYC5ERCmXwCCvYjTYrHEeqZtQsA-qLLg@mail.gmail.com>
2012-06-13 19:04 ` Thieu Le
2012-06-13 21:17 ` Tyler Hicks
2012-06-13 22:03 ` Thieu Le
2012-06-13 22:20 ` Tyler Hicks
2012-06-13 22:25 ` Thieu Le
[not found] ` <539626322.30300@eyou.net>
2012-06-16 11:12 ` dragonylffly
2012-06-18 17:17 ` Thieu Le
2012-06-19 3:52 ` Tyler Hicks
[not found] ` <540077879.03766@eyou.net>
2012-06-19 7:06 ` Li Wang
[not found] ` <540039783.18266@eyou.net>
2012-06-19 3:19 ` Li Wang
2012-06-19 3:47 ` 'Tyler Hicks'
2012-07-21 1:58 ` Tyler Hicks
2012-12-19 11:44 ` Zeev Zilberman
2012-06-13 15:54 ` Tyler Hicks [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=20120613155445.GA21062@boyd \
--to=tyhicks@canonical.com \
--cc=colin.king@canonical.com \
--cc=ecryptfs@vger.kernel.org \
--cc=thieule@google.com \
/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;
as well as URLs for NNTP newsgroup(s).