Timing/CPU info for BigIP DNS WideIP iRules
I just realized yesterday (or put better, one of my students pointed it out to me...) that BigIP DNS doesn't seem to hold timing information on the execution of iRules. For LTM, this ("show ltm rule <irule name>") is a great way of seeing roughly how much CPU power is required per iRule, and if there's any optimization that can be done, (https://clouddocs.f5.com/api/irules/timing.html). For BigIP DNS iRules though, and specifically the iRules under the Wide IP configuration, this doesn't seem to be recorded. "show gtm rule <irule name>" show the number of executions, but not the timing info. I've tried to lookup any information about this, or a clear statement that this does not NOT happen, but no luck so far. So, does anyone know if this information is available and I'm just looking in the wrong place, or if there's any reason why this isn't recorded? And if not, is there another way in which this information can be obtained? Thanks!Solved752Views0likes5CommentsShould timing data be gathered for every iRule invocation?
I've got an iRule with "timing on" as the very first line. The CLIENT_ACCEPTED clause then handles incoming connections, either sending them to a snatpool or snat'ing them to a specific IP address. When looking at the statistics in tmsh or the web gui, it shows 744 total executions, even though the iRule has been in place for days, and we're seeing 40-50 new connections per second. So, question is ... shouldn't my timing data have hundreds of thousands of data points by now? Why does it seem stuck at 744 total executions? I'll include a stripped down version of my iRule below. Thanks Norman timing on when RULE_INIT { log local0. "Rule initialized with timing enabled" } when CLIENT_ACCEPTED { set hsl [HSL::open -proto UDP -pool WM-SYSLOG-POOL] if { bunch of logic here } { HSL::send $hsl "<190> natipam-f5 $flow_info, Unknown user\n" snatpool WM-SNAT-UNKNOWN-USERS } else { if { more logic here } { HSL::send $hsl "<190> natipam-f5 $flow_info, Invalid user\n" snatpool WM-SNAT-UNKNOWN-USERS } else { HSL::send $hsl "<190> natipam-f5 $flow_info, slot $slot/$position, NAT to $nat_ip\n" snat $some_other_ip } } }236Views0likes3Comments