Hi again, Jason,

On Fri, 24 Jul 2020 at 10:12, Jason A. Donenfeld <ja...@zx2c4.com> wrote:
>
> This might be a typical use case for you, but some people are running
> scripts that generate lots of keys. There may be a good argument that
> if you're doing that kind of thing, a tiny MIPS router isn't the right
> hardware for your use case. But, before going down that route, I'd
> still be interested in knowing if it _actually_ makes any difference
> at all. Maybe it's negligible, for example.

Here are more objective numbers. I timed 1000 runs of wg genkey | wg
pubkey > /dev/null. Each timing was done four times for both MIPS16
and MIPS32 and the worst results were chosen.

MIPS32 results:
real    0m 10.06s
user    0m 8.12s
sys    0m 1.34s

MIPS16 results:
real    0m 11.96s
user    0m 10.14s
sys    0m 1.15s

I'd say the difference is, indeed, negligible.

Thanks,
Rui

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to