CPU Utilization does not seem to reflect current high CPU

Bug #1437577 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.1
Won't Fix
High
Rahul
R2.20
Fix Committed
Medium
Rahul
Trunk
Fix Committed
Medium
Manoj

Bug Description

2.10 44 Ubuntu 14.04 Multi-node icehouse setup

On the tor scale setup, contrail-api continued to hog 40% CPU for sometime.
In the contrail UI, it shows the CPU utlization as low in the detailed graph as shown in attachment

The UVE too continued to reflect low CPU util
https://nodei35:8143/proxy?proxyURL=http://10.204.217.146:8084/Snh_SandeshUVECacheReq?x=ConfigCpuState

ConfigCpuStateTrace
data
name
nodei34
cpu_info
cpu_info

module_id inst_id mem_virt cpu_share
contrail-api
0
2530416
0.934375 <<<<<<

Tags: config
Revision history for this message
Vedamurthy Joshi (vedujoshi) wrote :

UI view

Changed in juniperopenstack:
assignee: nobody → Rahul (rahuls)
Revision history for this message
Raj Reddy (rajreddy) wrote : Re: [Bug 1437577] CPU Utilization does not seem to reflect current high CPU

Vedu,

The CPU share is normalized by number of CPUs in the system.. what's returned is
(cpu_percent/num_cpus).. this gives an indication of it's share of total processing power..
I think a process % on a 32-core machine vs. 8-core machine needs to be looked at differently..

This is how all the processes are sending their CPU info..

-
Raj

On May 26, 2015, at 8:05 PM, Vedamurthy Joshi <email address hidden> wrote:

> ** Also affects: juniperopenstack/r2.20
> Importance: Undecided
> Status: New
>
> ** Changed in: juniperopenstack/r2.20
> Assignee: (unassigned) => Rahul (rahuls)
>
> ** Changed in: juniperopenstack/r2.20
> Importance: Undecided => High
>
> ** Changed in: juniperopenstack/r2.20
> Milestone: None => r2.20-fcs
>
> --
> You received this bug notification because you are a member of Contrail
> Systems engineering, which is subscribed to Juniper Openstack.
> https://bugs.launchpad.net/bugs/1437577
>
> Title:
> CPU Utilization does not seem to reflect current high CPU
>
> Status in Juniper Openstack distribution:
> New
> Status in Juniper Openstack r2.1 series:
> New
> Status in Juniper Openstack r2.20 series:
> New
>
> Bug description:
> 2.10 44 Ubuntu 14.04 Multi-node icehouse setup
>
> On the tor scale setup, contrail-api continued to hog 40% CPU for sometime.
> In the contrail UI, it shows the CPU utlization as low in the detailed graph as shown in attachment
>
> The UVE too continued to reflect low CPU util
> https://nodei35:8143/proxy?proxyURL=http://10.204.217.146:8084/Snh_SandeshUVECacheReq?x=ConfigCpuState
>
>
> ConfigCpuStateTrace
> data
> name
> nodei34
> cpu_info
> cpu_info
>
> module_id inst_id mem_virt cpu_share
> contrail-api
> 0
> 2530416
> 0.934375 <<<<<<
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juniperopenstack/+bug/1437577/+subscriptions

Revision history for this message
Raj Reddy (rajreddy) wrote :

Rahul, can you change the label from
"CPU (%)" to "CPU Share (%)"

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20

Review in progress for https://review.opencontrail.org/11619
Submitter: VishnuVardhan V (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/11664
Committed: http://github.org/Juniper/contrail-web-controller/commit/ba1f7b1989d0cf3ee537e075810b86ed65069dba
Submitter: Zuul
Branch: master

commit ba1f7b1989d0cf3ee537e075810b86ed65069dba
Author: Vishnu Vardhan V <email address hidden>
Date: Mon Jun 15 15:53:34 2015 +0530

Related-Bug:#1437577
Changed the infra node details page,process CPU charts title from '% CPU Utilization' to 'CPU Share(%)'.

Change-Id: Ib6da81d7669ee01bdd5421dd67c5ccd50a1a0b76

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.22-dev

Review in progress for https://review.opencontrail.org/12564
Submitter: Manoj (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/12566
Submitter: Manoj (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/12564
Committed: http://github.org/Juniper/contrail-web-controller/commit/a510925ce7dd0f3e6a6fb735945f51500d619fe1
Submitter: Zuul
Branch: R2.22-dev

commit a510925ce7dd0f3e6a6fb735945f51500d619fe1
Author: Manoj Naik <email address hidden>
Date: Wed Jul 22 15:16:58 2015 +0530

Revert "Related-Bug:#1437577"

This reverts commit b2ada15d6ca3ad739e7398888c4eb40194f2ad4b.

Change-Id: I08019ff3f0087c4d26baa63bf69592bd3574ea57

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/12566
Committed: http://github.org/Juniper/contrail-web-controller/commit/5a7acff3bbfd138a1ad44d00abe6646200c0c602
Submitter: Zuul
Branch: R2.22-dev

commit 5a7acff3bbfd138a1ad44d00abe6646200c0c602
Author: Vishnu Vardhan V <email address hidden>
Date: Mon Jun 15 15:53:34 2015 +0530

Related-Bug: #1437577
Changed the infra node details page,process CPU charts title from '% CPU Utilization' to 'CPU Share(%)'.

Conflicts:
 webroot/monitor/infra/analyticsnode/ui/js/monitor_infra_analyticsnode_details.js
 webroot/monitor/infra/confignode/ui/js/monitor_infra_confignode_details.js
 webroot/monitor/infra/controlnode/ui/js/monitor_infra_controlnode_details.js
 webroot/monitor/infra/vrouter/ui/js/monitor_infra_vrouter_details.js

Change-Id: Id8c3708456ded3ae4b66466c81177f063fc48b7e

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.