sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: Ismael Luceno <ismael.luceno AT gmail.com>
- To: sm-discuss AT lists.ibiblio.org
- Subject: [SM-Discuss] [RFC] Faster checksums with b2sum
- Date: Sat, 15 Jul 2017 15:56:04 -0300
b2sum is a tool that computes 512-bit BLAKE2b digests of files,
a much faster and equally secure alternative to sha512sum.
It's included in coreutils (although for some reason it wasn't
installed for me). And I've put together an alternative implementation
[0], based on the BLAKE2 reference implementation, with a few
modifications; it's small, by far the smallest *sum implementation,
being just about 15 KB. It doesn't have the checking mode provided
by the other tools though; but we don't need that.
I'm going to implement support for it in sorcery, and I would like
to make it the default (depending on either implementation).
Here's a bechmark running on tmpfs, on a Core i7-2670QM:
$ stat texlive-20170524-texmf.tar.xz | grep Size
Size: 2398259780 Blocks: 4684104 IO Block: 4096 regular file
$ >/dev/null time sha512sum texlive-20170524-texmf.tar.xz
0m40.07s real 0m38.08s user 0m01.98s system
$ >/dev/null time b2sum texlive-20170524-texmf.tar.xz
0m21.83s real 0m20.26s user 0m01.56s system
$ >/dev/null time sha1sum texlive-20170524-texmf.tar.xz
0m27.83s real 0m26.25s user 0m01.54s system
$ >/dev/null time md5sum texlive-20170524-texmf.tar.xz
0m18.89s real 0m17.32s user 0m01.50s system
[0] http://git.iodev.co.uk/ismael/smgl/b2sum.git/
-
[SM-Discuss] [RFC] Faster checksums with b2sum,
Ismael Luceno, 07/15/2017
-
Re: [SM-Discuss] [RFC] Faster checksums with b2sum,
Pavel Vinogradov, 07/15/2017
- Re: [SM-Discuss] [RFC] Faster checksums with b2sum, Ismael Luceno, 07/18/2017
-
Re: [SM-Discuss] [RFC] Faster checksums with b2sum,
Thomas Orgis, 07/19/2017
-
Re: [SM-Discuss] [RFC] Faster checksums with b2sum,
Eric Sandall, 07/22/2017
- Re: [SM-Discuss] [RFC] Faster checksums with b2sum, Vlad Glagolev, 07/22/2017
-
Re: [SM-Discuss] [RFC] Faster checksums with b2sum,
Eric Sandall, 07/22/2017
-
Re: [SM-Discuss] [RFC] Faster checksums with b2sum,
Pavel Vinogradov, 07/15/2017
Archive powered by MHonArc 2.6.24.