Forum Discussion

RobW's avatar
RobW
Icon for Nimbostratus rankNimbostratus
Feb 14, 2008

iRule vs Profile Processing

Can anyone address the efficiency of the LTM processing iRules versus profiles? It is my understanding that iRules are processed at the OS level and profiles are either handled/processed by TMM or Packet Velocity ASIC (PVA). Are profiles initially processed by the TMM and placed in a flow table to be handled by the PVA? In v9.4.x some functions that were handled in iRules can now be handled in a more efficient manner by a profile, e.g. http to https redirection (SOL7125).

 

 

-Rob

 

  • Deb_Allen_18's avatar
    Deb_Allen_18
    Historic F5 Account
    The code for TMM profiles is compiled in the TMM kernel, and has undergone strenuous testing & optimization to be as fast & reliable as possible, so if you can use a built-in profile option instead of an iRule, it will be more efficient.

     

     

    However, SOL7125 refers specifically to HTTP classes, and I'm not sure they are any more efficient than iRules for functions such as simple HTTP redirection on client connection.

     

     

    HTH

     

    /deb