My wild guess here is that you are doing barrier sync on each session.With more workers sync takes longer….
> On 17 Oct 2017, at 08:56, Ni, Hongjun <hongjun...@intel.com> wrote: > > Hi vpp-dev, > > We are doing performance test in multithread mode, and have a doubt: > > (1). For one main thread and one worker thread, then configuring 16K PPPoE > sessions took about100 seconds. > (2). For one main thread and eight worker thread, then configuring 16K PPPoE > sessions took about260 seconds. > Why is there such a difference of consumed time? > > The second question is: > In multi-thread mode, are all created tables in VLIB_INIT_FUNCTION > (pppoe_init) shared by all worker threads, > Or each worker thread has its own copy of each table? > > Thanks a lot, > Hongjun > _______________________________________________ > vpp-dev mailing list > vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io> > https://lists.fd.io/mailman/listinfo/vpp-dev > <https://lists.fd.io/mailman/listinfo/vpp-dev>
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev