> Statistics handling did change in !8.10, see: > https://docs.fd.io/vpp/18.10/md_src_vpp_stats_stats.html > > there is no longer an exporter thread, instead there is a shared memory > segment from which your client can read the stats at the period of your > choosing.
Yep, although there is still a thread that calculates a few aggregate counters. Like input rate, node runtime stats etc. Cheers, Ole > De : <vpp-dev@lists.fd.io> au nom de "satish.gu...@gmail.com" > <satish.gu...@gmail.com> > Date : vendredi 18 janvier 2019 à 07:09 > À : "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io> > Objet : [vpp-dev] VPP statistics > > Hi All, > > One query on the VPP statistics. > In the fd.io wiki: > https://wiki.fd.io/view/VPP/Using_VPP_In_A_Multi-thread_Model > It's mentioned that VPP statistics get handled by main thread. > However, with 18.01 version, I see a separate threads for stats. Is this a > recent change in 18.10 ? > > vpp# show threads > ID Name Type LWP Sched Policy (Priority) lcore > Core Socket State > 0 vpp_main 31 other (0) 0 > 0 0 > 1 vpp_wk_0 workers 157 other (0) 1 > 1 0 > 2 vpp_wk_1 workers 158 other (0) 2 > 2 0 > 3 vpp_wk_2 workers 159 other (0) 3 > 3 0 > 4 stats 160 other (0) > 0 0 0 > > If this is a recent change, Is there any way, we can control this behavior ( > getting a separate thread for stats or not ). > > Thanks & Regards, > Satish > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#11946): https://lists.fd.io/g/vpp-dev/message/11946 > Mute This Topic: https://lists.fd.io/mt/29195591/675193 > Group Owner: vpp-dev+ow...@lists.fd.io > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [otr...@employees.org] > -=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11947): https://lists.fd.io/g/vpp-dev/message/11947 Mute This Topic: https://lists.fd.io/mt/29195591/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-