And a follow up question:
What’s the difference between these three stats?
Time 34962.2, average vectors/node 14.93, last 128 main loops 0.00 per node 0.00
I suppose the first one is number of vectors processed / number of calls. But 
what about the second and the third one?

Thanks,
Andrew
From: "Andrew Li (zhaoxili)" <[email protected]>
Date: Monday, 14 November 2016 at 1:41 PM
To: "[email protected]" <[email protected]>
Subject: May I get clarification on the meaning of vpp_get_metrics api?

Hi everyone,

I’m now looking at vpp/vpp-api/vpp_get_metrics.c, which shows the following 
stats:


1.      Vector_rate(vector_counts_per_main_loop / node_counts_per_main_loop):

So based on my understanding this shows the average vector length per node per 
main loop(During the window of last X main loops) ranging from 0 – 255 (For a 
vector size of 256)?

And when it reaches 255 it means that VPP is running in 100% capacity?

2.      Input_rate(Aggregate Rx rate):

This means the number of packets received from dpdk-input node per second 
during the set interval?

3.      Error_rate(Significant Error rate):

This means the number of error packets from all nodes per second during the set 
interval? (Shown in vppctl sh err?)

There’s not much said about it, and I just tried to guess it from the source 
code. I hope a clarification can be made on these stats so everyone can 
understand it without confusions.
Thanks,
Andrew
_______________________________________________
vpp-dev mailing list
[email protected]
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to