Re: Quick questions about f5's iRules

"Erhan Dolak" <[email protected]> Thu, 10 Sep 2009 15:48:53 +0300
Newsgroups gmane.comp.programming.load-balancing.general
Message-ID <004d01ca3215$0e2ad2f0$2a8078d0$@com>
Good Day Kirk,

 

I know that most of the vendors does not commit or guaranty the performance
or give any performance figures when scripts are used and surprised about
your comments. Performance has two dependencies, developer brightness and
how the platform handles and executes the code. You may control the second
one only  to commit best performance J

 

From development perspective, it may be very nice if you could give more
detail about how this irules scripts are running on the platform without
breaking your company privacy rules.

 

is there any compilation task to convert the script to machine code before
executing  to achieve the efficiency you described. Also is it possible to
create multithread irules scripts or run it in multithread mode? and last
question, is there any irules used inside F5 by default to accomplish some
basic features defined in the datasheet of the product, so that we can
compare the compiled code and irules performance.

 

I always thought that scripting is the weakest link of this kind of
platforms and any web application. For "web application load balancing", the
execution delay (not the cpu/memory usage) due to scripts can be
understandable and can be seen as part of the web app code but for TCP/UDP
load balancing I always prefer to have functions are available in the
product in enterprise level solution instead of calling a script. Each hook
means delay and resource usage and loading the scripting engine to the
memory. 

 

Regards,

Erhan DOLAK



 

From: [email protected] [mailto:[email protected]] On Behalf Of
Kirk Bauer
Sent: Tuesday, September 08, 2009 8:58 PM
To: Load Balancing Mailing List
Subject: Re: [load balancing] Quick questions about f5's iRules

 

1)      iRules are event-driven which means you can attach iRule code to
various events that already occur in the BIG-IP system.  The standard
full-proxy mode already fires all of these events, whether or not iRules are
being used.  So there is no immediate performance impact just by attaching
an iRule to a virtual server: in other words, the BIG-IP or the specific
virtual sererv will not change modes and become less efficient just because
iRules are being used.  However, there will be some CPU time required to run
the actual iRule code.  This is very efficient, and for most iRules (which
tend to be fairly trivial) the performance impact is negligible.  However,
you can do just about anything you want in an iRule, so it is possible to
significantly affect performance by creating a very intensive iRule.  

2)      There are no published tests because each iRule is different.
However, BIG-IP includes some great timing functionality so you can
determine how much CPU time your iRules utilize, and so you can optimize
your iRule by making changes and observing the effects.

 

From: [email protected] [mailto:[email protected]] On Behalf Of
Joo Yong-Seok
Sent: Tuesday, September 08, 2009 10:46 AM
To: Load Balancing Mailing List
Subject: [load balancing] Quick questions about f5's iRules

 

Hello Load-balancing Gurus,

I have simple questions about f5's iRules. Please share your experience if
you have anything :-)

1) f5's iRule can impact their L4/L7 performance? it means if we're turning
on the options, there is
   any performance degradation or improvement?(maybe upt to iRule script)
2) If there is any official marketing data in regards of iRule test, where
can I get? (like Tolly group
    report).

Thanks in advance.

Best regards,

- yongseok

_______________________________________________
lb-l mailing list
[email protected]
http://vegan.net/mailman/listinfo/lb-l
Searchable Archive: http://vegan.net/lb/archive
http://lbdigest.com Load Balancing Digest
http://lbwiki.com Load Balancing Wiki