Re: Linux 2.6 crypto API and HW accelerators

From: James Morris
Date: Tue May 04 2004 - 14:54:39 EST


On Tue, 4 May 2004, Eugene Surovegin wrote:

> In short, my experience showed that without significant changes in current
> implementation, e.g. adding async crypto, adding hardware crypto is worth only
> for relatively slow CPUs, e.g. less than 1Ghz, and even with slow processor
> overhead can be so big, that short packets are better processed by software
> path.

Yes, have a look at the OpenBSD paper at
http://www.openbsd.org/papers/ocf.pdf

Their results show marked performance improvements for larger packets
(even though the packets are making multiple trips across the PCI bus),
and they suggest batching smaller packets.


- James
--
James Morris
<jmorris@xxxxxxxxxx>


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/