zafer
Feb 05, 2009Nimbostratus
irule performance calculation
Hello
here is my irule transaction based load balance, i used timing on paramaters in irule for performance calculation
here is statistic outputs
if i have 2000 TPS and cpu MHz : 1993.943, it seems i rule uses %11 cpu
anybody help me about my cpu usage calculation
[root@f5test:Active] config bigpipe rule yeni1 show all
RULE yeni1
+-> CLIENT_ACCEPTED 3 total 0 fail 0 abort
| | Cycles (min, avg, max) = (8846, 8879, 8964)
+-> CLIENT_DATA 3 total 0 fail 0 abort
| Cycles (min, avg, max) = (73621, 85562, 104890)
[root@f5test:Active] config bigpipe rule all stats reset
when CLIENT_ACCEPTED {
TCP::collect 8
}
when CLIENT_DATA {
set pay1 [TCP::payload 8]
binary scan $pay1 IA4 len1 trx1
if { [matchclass $trx1 starts_with $::group1] } {
pool dbt1cics
log local0. "pool dbt1cics selected len1=$len1 trx1=$trx1 "
} elseif { [matchclass $trx1 starts_with $::group2] } {
pool dbt2cics
log local0. "pool dbt2cics selected len1=$len1 trx1=$trx1 "
}
}