Forum Discussion
NiHo_202842 Cirrostratus
Cirrostratus
Sep 14, 2016Unusual high CPU cycles on iRule
 Hi, So I am using the following iRule on all virtual servers & just enabled timing on this: 
  priority 50
when RULE_INIT {
        set static::maindatalist
        set static::debug 0
}
when HTTP_RE...
Kai_Wilke MVP
MVP
Sep 15, 2016Hi NiHo,
you should consider in your calculations how often each event is executed.
 : Is only issued each time you load/save the config- RULE_INIT
 : Is issued on each request.- HTTP_REQUEST
 : Is issued on each request, but only if the POOL has been failed and if- LB_FAILED
 is not active.- ( $status eq "1" )
In addition, if
( $status eq "1" )In the end just the
HTTP_REQUEST$status[class match -value "[virtual name]" equals "maintenance-list"]if { } then {Also keep in mind, that you've to multiply the Cycles/Sec value of the spreatsheet with the total number of CPU cores in your system.
Cheers, Kai
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