<br><br><div class="gmail_quote">On Fri, May 20, 2011 at 12:20 PM, Kim Phillips <span dir="ltr"><<a href="mailto:kim.phillips@freescale.com">kim.phillips@freescale.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Thu, 19 May 2011 20:18:40 -0700<br>
Vasanth Ragavendran <<a href="mailto:ragavendrapec@gmail.com">ragavendrapec@gmail.com</a>> wrote:<br>
<br>
> On Wed, May 18, 2011 at 7:02 PM, David McCullough <<br>
> <a href="mailto:david_mccullough@mcafee.com">david_mccullough@mcafee.com</a>> wrote:<br>
> > Jivin Paul Wouters lays it down ...<br>
> > > On Tue, 17 May 2011, Kim Phillips wrote:<br>
> > ><br>
</div><div class="im">> > > > Known working (to me at least) IPsec offload configuration for the<br>
> > > > 8315 should be NETKEY with CONFIG_CRYPTO_DEV_TALITOS configured in<br>
> > > > a vanilla kernel. To be able to tell whether h/w crypto offload is<br>
> > > > in operation, see 'grep talitos /proc/interrupts' run.<br>
> ><br>
> As Kim had mentioned I had loaded the CONFIG_CRYPTO_DEV_TALITOS as a module<br>
> with the module in the kernel i am getting a lower throughput! I am getting<br>
> only 13.4Mbps however without the module inserted i get 14.7Mbps how could<br>
> this be possible and the results sounds really ridiculous to me! And when<br>
> the CONFIG_CRYPTO_DEV_TALITOS is loaded i am able to view it using grep<br>
> talitos /proc/interrupts. so the hardware accelerator is getting used<br>
> however resulting in a lower throughput! That's absurd am I missing<br>
> something here?<br>
<br>
</div>Is this a *vanilla* kernel CONFIG_CRYPTO_DEV_TALITOS driver, or is<br>
it from the freescale BSP? If the latter, please forward your<br>
inquiry to the standard freescale BSP support channels.<br>
<br></blockquote><div>No this is the vanilla kernel's and not from the freescale. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Otherwise (vanilla kernel), sounds like too little crypto<br>
payload and/or rate - so little that sending it to the accelerator<br>
and waiting for results takes longer than s/w crypto on the core.<br>
Can you benchmark using the 'null' cipher algorithm to make sure<br>
this is the case?<br></blockquote><div>Will check on the 'null' cipher part. But why is the thruput lower when using Klips, ocf and cryptodev and the rest of the settings being the same i achieve only around 11Mbps. Thank u so much and sorry for the late reply. </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font color="#888888"><br>
Kim<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Thanks and Regards <br>R.Vasanth Ragavendran<br>