Hi All,

Please help me.

I have tested the ae_graph_pm.pl script. And found out that the only place its 
taking high CPU utilization is during a function call



RRDs::graph( "$graphPath/$curName",

                    "--start=$startTime",

                    "--end=$g_time",

                    "-a","PNG",

                    "--title=$title",

                    "--vertical-label=$yaxis",

                    "--width=500",

                    "--height=100",

                    "--alt-autoscale-max",

                                "--lower-limit=0",

                    @defs,

                                @cdefs,

                                @lines,

                    "COMMENT:\\n",

                    "COMMENT: $comment\\n"

                  );



Which is an API given by 3rd party rrd tool.



This function is called in a loop for the number of times the graph time 
interval is defined multiplied by number of blades.

Ex. Lets say for each balde we have 8 intervals defined 30mins, 3hr, 12hr, 
24hr, 1 day, 3 day, 15day, 31day and currently the number of blades is 12





-rw-r--r--   1 ins      insgroup    3378 Dec 11 17:17 System_graph6_12hr.png

-rw-r--r--   1 ins      insgroup    3352 Dec 11 17:17 System_graph6_15day.png

-rw-r--r--   1 ins      insgroup    3420 Dec 11 17:17 System_graph6_31day.png

-rw-r--r--   1 ins      insgroup    3504 Dec 11 17:17 System_graph6_3hr.png

-rw-r--r--   1 ins      insgroup    3530 Dec 11 17:17 System_graph6_24hr.png

-rw-r--r--   1 ins      insgroup    3462 Dec 11 17:17 System_graph6_3hr.png

-rw-r--r--   1 ins      insgroup    3604 Dec 11 17:17 System_graph6_60day.png

-rw-r--r--   1 ins      insgroup    3402 Dec 11 17:17 System_graph6_3day.png



I.e. it is called 8*12 times per  $updateGraphInterval = 300 ( per 5 minutes).



So the High CPU utilization vary from 28% to 49%

           Low CPU Utilization vary from  0.5% to 1%

As observed from the top command.


Thanks & Regards
Krishna

"DISCLAIMER: This message is proprietary to Aricent and is intended solely for 
the use of the individual to whom it is addressed. It may contain privileged or 
confidential information and should not be circulated or used for any purpose 
other than for what it is intended. If you have received this message in 
error,please notify the originator immediately. If you are not the intended 
recipient, you are notified that you are strictly prohibited from using, 
copying, altering, or disclosing the contents of this message. Aricent accepts 
no responsibility for loss or damage arising from the use of the information 
transmitted by this email including damage from virus."

_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to