<p dir="ltr">With the below steps I don't see any performance improvements in ipsec in a multicore HW. Is there anything I am missing? </p>
<p dir="ltr">Thanks <br>
Kapil </p>
<div class="gmail_extra"><br><div class="gmail_quote">On 04-Aug-2016 5:37 PM, "Kapil Adhikesavalu" <<a href="mailto:kapil20084@gmail.com">kapil20084@gmail.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div><div>I am getting the following errors while trying pcrypt. From the wiki page, i see when tcrypt is used, "<span style="color:rgb(54,0,12);font-family:Verdana,sans-serif;font-size:10.8px;font-style:italic;line-height:16.2px">modprobe: ERROR: could not insert 'tcrypt': Resource temporarily unavailable</span>" is an expected. I am getting a different error, please let me know if this fine.</div><div><br></div><div>The /proc/crypto logs in wiki page and mine looks little different, in terms of priority and block size; is there any dependency on block size w.r.t performance ?</div><div><br></div><div>For using pcrypt, other than inserting this module, should i do any other configurations like core allocations ? and any ways to find if it uses multiple cores.</div><div><br></div><div>modprobe pcrypt</div><div><div>modprobe tcrypt alg="pcrypt(rfc4106(gcm(aes-<wbr>aesni)))" type</div><div>[  484.524117] tcrypt: one or more tests failed!</div><div>modprobe: ERROR: could not insert 'tcrypt': Unknown symbol in module, or unknown parameter</div></div><div><br></div><div><br></div><div>dmesg</div><div><div>[   76.563444] tcrypt: one or more tests failed!</div><div>[   78.883092] serial8250: too much work for irq4</div><div>[   78.974078] serial8250: too much work for irq4</div><div>[   79.060065] serial8250: too much work for irq4</div><div>[   79.106058] serial8250: too much work for irq4</div><div><br></div></div><div><br></div><div><div>root@genericx86-64:~# cat /proc/crypto                                                                                       </div><div>name         : rfc4106(gcm(aes))                                                                                             </div><div>driver       : pcrypt(rfc4106-gcm-aesni)                                                                                     </div><div>module       : pcrypt                                                                                                        </div><div>priority     : 500                                                                                                           </div><div>refcnt       : 1                                                                                                             </div><div>selftest     : passed                                                                                                        </div><div>internal     : no                                                                                                            </div><div>type         : aead                                                                                                          </div><div>async        : yes                                                                                                           </div><div>blocksize    : 1                                                                                                             </div><div>ivsize       : 8                                                                                                             </div><div>maxauthsize  : 16                                                                                                            </div><div>geniv        : seqiv                                                                                                         </div><div><br></div><div>name         : rfc4106(gcm(aes-aesni))</div><div>driver       : pcrypt(rfc4106(gcm_base(ctr(<wbr>aes-aesni),ghash-generic)))</div><div>module       : pcrypt                                                 </div><div>priority     : 400                                                    </div><div>refcnt       : 1                                                      </div><div>selftest     : passed                                                 </div><div>internal     : no                                                     </div><div>type         : aead                                                   </div><div>async        : yes                                                    </div><div>blocksize    : 1                                                      </div><div>ivsize       : 8                                                      </div><div>maxauthsize  : 16                                                     </div><div>geniv        : seqiv  </div></div><div><div>root@genericx86-64:~# uname -r</div><div>4.1.17-yocto-standard</div><div>root@genericx86-64:~# lsb_release<br></div><div>LSB Version:    core-4.1-noarch:core-4.1-x86_<wbr>64</div></div><div><br></div><div>Regards</div><font color="#888888"><div>Kapil.</div></font></div>
</blockquote></div><br></div>