Re: [vpp-dev] Are INPUT and PROCESS nodes considered for CPU util calculations?

2021-10-23 Thread Mrityunjay Kumar
Satya Hi,

INPUT node and Process node has its diffrent culture and uses.

Input nodes are siblings of ethernet input but process nodes are light
weight threads which run always on main threads.

In case you have any workers cpu configured,  main thread never went for
polling until not configured as rx placement,


I think you may dump more as damjan asking,


We can try to give more input



On Mon, 18 Oct, 2021, 7:50 pm Satya Murthy, 
wrote:

> Hi VPP Experts,
>
> We have an issue at hand, where we are seeing non-uniform CPU utilizations
> showing up for workers from "show threads".
> We are doing lot of work as part of some timer node, which periodically
> does maintenance of flows.
> However, this maintenance activity, which is run as part of this INPUT
> node ( timer node), is not considered into CPU utilizations.
>
> Basically, this timer node does not have any vector as its input.
> So, is this load not considered in the worker CPU utilization ?
>
> --
> Thanks & Regards,
> Murthy
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20367): https://lists.fd.io/g/vpp-dev/message/20367
Mute This Topic: https://lists.fd.io/mt/86414816/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] Are INPUT and PROCESS nodes considered for CPU util calculations?

2021-10-23 Thread Damjan Marion via lists.fd.io

Dear Satya,

If you are in polling mode CPU is always 100% utilised.
Not sure what do you mean by "CPU utilisation” here...

— 
Damjan



> On 18.10.2021., at 16:16, Satya Murthy  wrote:
> 
> Hi VPP Experts,
> 
> We have an issue at hand, where we are seeing non-uniform CPU utilizations 
> showing up for workers from "show threads".
> We are doing lot of work as part of some timer node, which periodically does 
> maintenance of flows.
> However, this maintenance activity, which is run as part of this INPUT node ( 
> timer node), is not considered into CPU utilizations.
> 
> Basically, this timer node does not have any vector as its input. 
> So, is this load not considered in the worker CPU utilization ?
> 
> -- 
> Thanks & Regards,
> Murthy 
> 
> 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20364): https://lists.fd.io/g/vpp-dev/message/20364
Mute This Topic: https://lists.fd.io/mt/86414816/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] Are INPUT and PROCESS nodes considered for CPU util calculations?

2021-10-18 Thread Satya Murthy
Hi VPP Experts,

We have an issue at hand, where we are seeing non-uniform CPU utilizations 
showing up for workers from "show threads".
We are doing lot of work as part of some timer node, which periodically does 
maintenance of flows.
However, this maintenance activity, which is run as part of this INPUT node ( 
timer node), is not considered into CPU utilizations.

Basically, this timer node does not have any vector as its input.
So, is this load not considered in the worker CPU utilization ?

--
Thanks & Regards,
Murthy

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20337): https://lists.fd.io/g/vpp-dev/message/20337
Mute This Topic: https://lists.fd.io/mt/86414816/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-