Re: [vpp-dev] Packet rate & throughput satistics for SW interfaces & Error Counters

2018-06-27 Thread Damjan Marion
mailto:kingwel@ericsson.com>> > Cc: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io> > Subject: Re: [vpp-dev] Packet rate & throughput satistics for SW interfaces & > Error Counters > > Hi Kingwei, > > Did you see the new stats infrastructure where co

Re: [vpp-dev] Packet rate & throughput satistics for SW interfaces & Error Counters

2018-06-27 Thread Kingwel Xie
Well, I’ll check it further to see how to make use of the new infra. From: Ole Troan Sent: Wednesday, June 27, 2018 5:15 PM To: Kingwel Xie Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Packet rate & throughput satistics for SW interfaces & Error Counters Hi Kingwei, Did you see

Re: [vpp-dev] Packet rate & throughput satistics for SW interfaces & Error Counters

2018-06-27 Thread Ole Troan
Hi Kingwei, Did you see the new stats infrastructure where counters where exported to a shared memory segment? Based on that you could write an external agent, that looked for example like top that would scrape the interface counters and display pps in real time. I think that would be a clean

[vpp-dev] Packet rate & throughput satistics for SW interfaces & Error Counters

2018-06-27 Thread Kingwel Xie
Hi all, I'm proposing some improvements to CLI commands 'show interface' and 'show error'. As you might have known, these two commands show the cumulative counters of interfaces and errors. Unfortunately there are no rate statistics for these counters, which makes it hard to know how fast vPP