Memory footprint of an iRule
Hi guys -
Is there any way to tell how much memory an iRule requires to maintain a given TCP connection?
Here's my scenario:
- i have a TCP virtual server with an associated iRule
- the iRule is quite long and relatively complex; among other things, it wakes up every 30 seconds or so to check the status of the connection (e.g. inactivity and data thresholds).
Load testing is indicating that the iRule adds an extra 10kb to each TCP connection (I think it was 4K without the iRule, 14K with the iRule). This seems to be an average when 100,000s of simultaneous connections are used. I think tmstat was used to measure this.
My question is whether a developer has ready access to the amount of memory required for a single connection. I want to be able to tweak the iRule and see the memory requirements drop (hopefully!) so I can make informed decisions about what looks worth changing.
any help would be gratefully received