Re: Improving kernel crypto performance

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Theo de Raadt
Date: Thursday, April 30, 2009 - 5:56 pm

> > I think the crypto framework still

No, those operations are immediate done and then return.  In 10 years
I've heard a lot of people talk about writing custom back ends for
this which can still operate on mbufs, but they never saw the light of
day.


Same here; I've heard chatter about this for more than 10 years now,
and never seen anything which was more than a research project.
Sorry, but it sounds like a massive waste of time and electricity.

I suppose it depends what you are trying to do.  Userland crypto?
Then just do it in userland.  Or in the kernel, you want to do IPSEC?
You want to move every single IPSEC packet twice more over the PCI
bus?  Sorry, but that sounds like a rather significant
de-optimization.  That is why the hifn cards suck.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Improving kernel crypto performance, Matthew Dempsky, (Thu Apr 30, 11:29 am)
Re: Improving kernel crypto performance, Ted Unangst, (Thu Apr 30, 11:53 am)
Re: Improving kernel crypto performance, Matthew Dempsky, (Thu Apr 30, 12:56 pm)
Re: Improving kernel crypto performance, Ariane van der Steldt, (Thu Apr 30, 4:03 pm)
Re: Improving kernel crypto performance, Matthew Dempsky, (Thu Apr 30, 4:52 pm)
Re: Improving kernel crypto performance, Ariane van der Steldt, (Thu Apr 30, 5:24 pm)
Re: Improving kernel crypto performance, Matthew Dempsky, (Thu Apr 30, 5:34 pm)
Re: Improving kernel crypto performance , Theo de Raadt, (Thu Apr 30, 5:56 pm)
Re: Improving kernel crypto performance, Marco Peereboom, (Thu Apr 30, 6:53 pm)
Re: Improving kernel crypto performance, Matthew Dempsky, (Thu Apr 30, 8:49 pm)
Re: Improving kernel crypto performance, Ted Unangst, (Thu Apr 30, 9:42 pm)
Re: Improving kernel crypto performance, Matthew Dempsky, (Thu Apr 30, 10:01 pm)
Re: Improving kernel crypto performance , Theo de Raadt, (Thu Apr 30, 10:18 pm)
Re: Improving kernel crypto performance, Matthew Dempsky, (Thu Apr 30, 10:34 pm)
Re: Improving kernel crypto performance , Theo de Raadt, (Fri May 1, 12:48 am)
Re: Improving kernel crypto performance, Matthew Dempsky, (Fri May 8, 12:37 am)
Re: Improving kernel crypto performance, Matthew Dempsky, (Fri May 8, 1:01 am)