Yes, good indicator is "average vectors/node" in show run. Bigger number means 
VPP is more busy but also more efficient.
Maximum value us 255 (unless you change VLIB_FRAME_SIZE in code). It basically 
means how many packets are processed
in batch. If VPP is not loaded it will likely poll so fast that it will just 
get one or few packets from the rx queue, as load goes up
vpp will have more work to do, so it will poll less frequently, and that will 
result in more packets waiting in rx queue. More packets
will result in more efficient execution of the code so number of clock cycles / 
packet will go down.
When "average vectors/node" goes up close to 255, you will likely start 
observing  rx queue tail drops.

Hope this explains...

On 26 Jun 2018, at 07:57, Rubina Bianchi <r_bian...@outlook.com> wrote:
> 
> Thanks Dear Damjan
> 
> So, Is there any way to compute VPP load or power?
> Actually, what I'm looking for is a metric to determine how much is VPP load 
> in different cases.
> In other word I want to know how much VPP is busy.
> 
> Thanks,
> Sincerely
> 
> From: Damjan Marion <dmar...@me.com <mailto:dmar...@me.com>>
> Sent: Monday, June 25, 2018 8:43 PM
> To: Rubina Bianchi
> Cc: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io>
> Subject: Re: [vpp-dev] CPU Usage in VPP
>
> 
> With at least one interface in polling mode, VPP CPU is always 100% utilised.
> For memory usage, you can use "show memory [verbose]" debug cli.
> 
> 
>> On 25 Jun 2018, at 13:51, Rubina Bianchi <r_bian...@outlook.com 
>> <mailto:r_bian...@outlook.com>> wrote:
>> 
>> Hi Dear VPP
>> 
>> Is there any command or tools in vpp to show real cpu and memory usage on 
>> runtime? I used top and htop in linux kernel but it shows pre-allocated 
>> amounts. I also tried vppctl sho runtime, but its frequency is less than 
>> what I expected (on high traffic and low traffic its reported clocks are 
>> same or have low frequency).
>> 
>> Thanks,
>> Sincerely
>> 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9705): https://lists.fd.io/g/vpp-dev/message/9705
Mute This Topic: https://lists.fd.io/mt/22674849/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to