Forum Discussion
zafer
Nimbostratus
Feb 05, 2009irule 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 "
}
}
2 Replies
- hoolio
Cirrostratus
I'm not sure whether that's expected or not for scanning the TCP payload. How many entries do you have in the two classes? Also, I'd suggest running a lot more traffic through to get a more accurate average. Three requests aren't necessarily going to be representative.
Aaron - zafer
Nimbostratus
i cleared stats and sent request results same ,
what do you think about cpu usage calculation ?
how much traffic i need for good calculation?
i will add alot of entry on datagroup, im offering LTM 6900 to the customer for good performance
thanks
zafer
[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
[root@f5test:Active] config bigpipe rule yeni1 show all
RULE yeni1
+-> CLIENT_ACCEPTED 0 total 0 fail 0 abort
| | Cycles (min, avg, max) = (0, 0, 0)
+-> CLIENT_DATA 0 total 0 fail 0 abort
| Cycles (min, avg, max) = (0, 0, 0)
[root@f5test:Active] config bigpipe rule yeni1 show all
RULE yeni1
+-> CLIENT_ACCEPTED 0 total 0 fail 0 abort
| | Cycles (min, avg, max) = (0, 0, 0)
+-> CLIENT_DATA 0 total 0 fail 0 abort
| Cycles (min, avg, max) = (0, 0, 0)
[root@f5test:Active] config bigpipe rule yeni1 show all
RULE yeni1
+-> CLIENT_ACCEPTED 1 total 0 fail 0 abort
| | Cycles (min, avg, max) = (8826, 8826, 8826)
+-> CLIENT_DATA 1 total 0 fail 0 abort
| Cycles (min, avg, max) = (80775, 80775, 80775)
[root@f5test:Active] config
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
