Forum Discussion
Steven_Hotovy_8
Nimbostratus
May 25, 2005Getting CPU Utilization in BigIP
I have several questions regarding CPU performance monitoring of the BigIP.
1. What method should be invoked to get CPU utilization on the BigIP?
2. Can the STATISTIC_TM_TOTAL_CYCLES value of the get_global_statistics call be used to determine CPU utilization?
3. Currently when I invoke the get_global_statistics method, the value of STATISTIC_TM_TOTAL_CYCLES is zero. How can that be?
Thanks,
Steven Hotovy
CSG Systems, Inc.
14 Replies
- That's great. If you want to post some code using BigInt, I'll see if I can get it incorporated into the next version of the SDK (for those without builtin 64-bit support).
-Joe - Thanks for the tip on using BigInt. I've got correct 64-bit values represented on my perl installation that is built without 64-bit number support by using the following code.
use Math::BigInt; ... $value64 = Math::BigInt->new($high)->blsft(32)->bxor($low);
You learn something new everyday...
-Joe - Thanks for the update! I'll have to dig into this again...
-Joe - Not easily. XML Schema doesn't support a 64 bit type (at least it didn't when we defined the interfaces.
We contemplated using strings and just passing the values around that way but that has other problems with non-64 bit enabled clients being able to decipher them. Other issues we ran into was the signed/unsigned issue with the high/low values. Java doesn't support an unsigned type (again, at least at the time of designing the interfaces) so when we returned the values as an unsigned long schema type, java threw exception after exception and just wouldn't work.
So, unfortunately, to support every toolkit out there, we are stuck with some limitations. One of them being the low/high 32bit value pairs for the statistics.
Keep in mind that you can always "chunk" your requests to smaller sizes. That won't reduce overall bandwidth usage, but it will make single responses smaller.
-Joe
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
