Forum Discussion
simon_irwin_849
Jan 24, 2011Nimbostratus
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 associa...
simon_irwin_849
Feb 01, 2011Nimbostratus
Thanks, Colin. We've been running our load tests to try to measure where the best gains in RAM are. Reducing the use of local variables has been the biggest help so far.
I also have the following kind of code:
"
set myVar {
<20-30 lines of script>
}
catch { if 1 $myVar}
"
I used "myVar" as a kind of macro and invoked it 4 times in my iRule. Load tests showed that it was better (lower RAM usage) just to replicate the block of 20-30 lines throughout the iRule, as opposed to using my macro, even though "myVar" *should* be turned into bytecode.
Thanks for the responses to this thread.
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