Vakul Garg <vakul.g...@nxp.com> wrote:
> > Do you use xfrm interfaces?
> 
> I don't think so. I use setkey to create policies/SAs.
> Can you please give me some hint about it?

Then you're not using ipsec interfaces.

> > > Further, perf show that a lot of atomic primitives such as
> > > __ll_sc___cmpxchg_case_mb_4(),
> > > __ll_sc_atomic_sub_return() are being invoked. On 16 core system, they
> > consume more than 30% of cpu.
> > 
> > Thats not good, perhaps we should look at pcpu refcounts for the xfrm state
> > structs.
> 
> What else data can I collect?

I have no further suggestions.  I don't know yet when I will have time
to look into refcnt optimizations.

Idea would be to make them same as dev_hold/put.

Reply via email to