From: linux@horizon.com
To: linux@horizon.com, tytso@mit.edu
Cc: linux-ext4@vger.kernel.org
Subject: Re: [RFC] mke2fs -E hash_alg=siphash: any interest?
Date: 21 Sep 2014 17:04:16 -0400 [thread overview]
Message-ID: <20140921210416.27127.qmail@ns.horizon.com> (raw)
In-Reply-To: <20140921175515.GA30646@thunk.org>
> I'm certainly not against adding a new hash function. The reality is
> that it would be quite a while before we could turn it on by default,
> because of the backwards compatibility concerns.
Well, yes, obviously! My itch is just that I want to use it myself;
I prefer it for security and cleanliness reasons. The benchmarks are
mostly to prove that it isn't slower.
> The question I would ask is whether we can show an anctual performance
> improvement with the hash being used in situ.
I quite agree, but I'll have to have a working patch before such
a test can be made.
One things I'm coming across immediately that I have to ask for
design guidance on is the hash algorithm number assignment:
- Should I leave room for more hashes with a signed/unsigned distinction,
or should I assume that's a historical kludge that won't be perpetuated?
SipHash is defined on a byte string, so there isn't really a signed
version.
- Should I use a new EXT2_HASH_SIPHASH_62 = 6, or should I
renumber the (internal-only) EXT2_HASH_*_UNSIGNED values and use
EXT2_HASH_SIPHASH_4_2 = 4?
None of this is truly final, but it would make my life easier if I
didn't have to change it on my test filesystems too often.
next prev parent reply other threads:[~2014-09-21 21:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-21 9:53 [RFC] mke2fs -E hash_alg=siphash: any interest? George Spelvin
2014-09-21 17:55 ` Theodore Ts'o
2014-09-21 21:04 ` linux [this message]
2014-09-21 22:08 ` TR Reardon
2014-09-22 2:31 ` George Spelvin
2014-09-22 17:09 ` Theodore Ts'o
2014-09-22 23:14 ` George Spelvin
2014-09-22 1:17 ` Theodore Ts'o
2014-09-23 22:25 ` Andreas Dilger
2014-09-23 23:00 ` George Spelvin
2014-09-23 23:22 ` Theodore Ts'o
2014-09-24 0:37 ` George Spelvin
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=20140921210416.27127.qmail@ns.horizon.com \
--to=linux@horizon.com \
--cc=linux-ext4@vger.kernel.org \
--cc=tytso@mit.edu \
/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).