[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: af_alg benchmarks and performance

From: Paul Eggert
Subject: Re: af_alg benchmarks and performance
Date: Wed, 9 May 2018 00:29:38 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

Fortunately other non deprecated algos like sha256 are way

Faster than when --with-openssl is used? Can you show me how to benchmark that?

After reading Assaf's comments I confess that I'm not getting the point of the recent changes. As I understand it, the hardware support in question is typically available to user-mode code so why go to the kernel at all? And even if there are magic features not available outside the kernel, why not let the OpenSSL library worry about the tradeoffs involved in user vs kernel mode rather than reinvent its wheel? It's a real pain to ship data off to the kernel with all the overheads and other hassles involved, and I don't see why it's a good idea for Gnulib to get involved.

At this point I am leaning towards reverting these changes. If we keep them, the default should be to disable this new feature; plus, several bugs (at least one of which I introduced; sorry!) need to be fixed. I'm not sure it's worth the maintenance effort to keep this stuff in, at least if it's coreutils we're talking about.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]