Forum Discussion
Yalkrif_99781
Nimbostratus
Mar 07, 2012Multi cpu preformance
hi
we are using big-ip 3900 with 4 core's,we are running load tests on http virtual server with iRule and we see that one core (0) gets to 80% cpu while other core's are on 30%.
Any idea why this happening ?is there a why to see the Irule usage and in which Cpu?
thanks
5 Replies
- hoolio
Cirrostratus
Hi Yalkrif,
Is the iRule CMP compatible? If not, that would explain why the first core has higher utilization. You can check using:
tmsh show ltm virtual VS_NAME |grep -i cmp
CMP : enabled
CMP Mode : all-cpus
If that's not it, what process(es) does top show running with high CPU utilization on CPU0?
Aaron - Ron_Masson_7797
Nimbostratus
How are you running the load tests exactly?
If all of the traffic is coming from the same source IP/port and being sent to the same virtual server, it will hash to the same core.
Ron - hoolio
Cirrostratus
That CMP wiki page should be a good start. Can you post an anonymized version of the iRule?
Aaron - hoolio
Cirrostratus
I think you should be able to change all the global variables in RULE_INIT to static variables to make the iRule CMP compatible. If you're using any of the currently global variables to store values that change over the course of a connection, you should replace them with session variables.
https://devcentral.f5.com/wiki/iRules.static.ashx
Aaron - Yalkrif_99781
Nimbostratus
Again thanks a lot!we tried it and it worked.
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