I think I get the reason. If the flow space split is dynamic, each thread
has to propagate the state across all threads when new flows come, which
requires locking. Using static flow space split can avoid this, at the cost
of handoff for both directions.

On Thu, Jul 20, 2017 at 9:44 AM, Yuliang Li <yuliang...@yale.edu> wrote:

> Thanks. That's a good point. But can I just use handoff on out2in? Because
> the in2out traffic is already split by RSS.
>
> On Wed, Jul 19, 2017 at 10:15 PM, Matus Fabian -X (matfabia - PANTHEON
> TECHNOLOGIES at Cisco) <matfa...@cisco.com> wrote:
>
>> Hi,
>>
>>
>>
>> You need handoff when running multithread because traffic for specific
>> inside network user must be processed always on same thread in both
>> directions.
>>
>>
>>
>> Regards,
>>
>> Matus
>>
>>
>>
>> *From:* vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] *On
>> Behalf Of *Yuliang Li
>> *Sent:* Thursday, July 20, 2017 5:58 AM
>> *To:* vpp-dev@lists.fd.io
>> *Subject:* [vpp-dev] stop handoff in SNAT
>>
>>
>>
>> Hi,
>>
>>
>>
>> Is there a way to stop handoff (move packet from one thread to another)
>> in SNAT? I already use RSS to split packets across threads at the input, so
>> I do not need it to spread traffic across threads again.
>>
>>
>>
>> Thanks,
>> --
>>
>> Yuliang Li
>>
>> PhD student
>>
>> Department of Computer Science
>>
>> Yale University
>>
>
>
>
> --
> Yuliang Li
> PhD student
> Department of Computer Science
> Yale University
>



-- 
Yuliang Li
PhD student
Department of Computer Science
Yale University
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev
  • [vpp-dev] stop... Yuliang Li
    • Re: [vpp-... Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco)
      • Re: [... Yuliang Li
        • R... Yuliang Li
          • ... Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco)

Reply via email to