Forum Discussion

jhanington_1353's avatar
jhanington_1353
Icon for Nimbostratus rankNimbostratus
Apr 10, 2014

HSL iRule performance question.

Hello. I am looking into creating a High Speed Logging iRule to send syslogs of our main web app to our centralized syslog server (Logstash + Elasticsearch + Graylog2). I am already running the iRule on another web app that is not as heavily used as our main web application and it is running fine.

 

Our main web application gets substantially more traffic than the virtual server running with the HSL iRule. Here is my concern: Because more traffic heading to the main web app, I am worried that this might exhaust all of the hardware resources of our BIG-IP LTM. Am I being paranoid? Is the load from a HSL iRule minimal?

 

  • You can do a search on iRule timing if you really wanted to see how many clock cycles it is using, but in general, the HSL is very performant.

     

    I would need more details on what you mean by "substantially more traffic". I've seen HSL send 50,000 messages per second per cpu core that a platform had and use an extra 5-10% cpu.

     

    Main questions. How cpu busy is your box now? What model device do you have? How much traffic is making your box that busy today?

     

  • You can do a search on iRule timing if you really wanted to see how many clock cycles it is using, but in general, the HSL is very performant.

     

    I would need more details on what you mean by "substantially more traffic". I've seen HSL send 50,000 messages per second per cpu core that a platform had and use an extra 5-10% cpu.

     

    Main questions. How cpu busy is your box now? What model device do you have? How much traffic is making your box that busy today?

     

    • jhanington_1353's avatar
      jhanington_1353
      Icon for Nimbostratus rankNimbostratus
      Thanks for taking some time to respond to my question. The most I've every seen the CPU was 25-30% usage. I have the 1600. We have a bunch of virtual IPs that experience light to moderate traffic but the virtual server that I want to run this iRule on has had a max of 416 connections - that might not be a lot for some people but I just have no idea.
    • James_Thomson's avatar
      James_Thomson
      Icon for Employee rankEmployee
      I would agree, that is not a lot. Anecdotally, I would not be worried about the overhead of HSL with that type of traffic.
  • James_Thomson_1's avatar
    James_Thomson_1
    Historic F5 Account

    You can do a search on iRule timing if you really wanted to see how many clock cycles it is using, but in general, the HSL is very performant.

     

    I would need more details on what you mean by "substantially more traffic". I've seen HSL send 50,000 messages per second per cpu core that a platform had and use an extra 5-10% cpu.

     

    Main questions. How cpu busy is your box now? What model device do you have? How much traffic is making your box that busy today?

     

    • jhanington_1353's avatar
      jhanington_1353
      Icon for Nimbostratus rankNimbostratus
      Thanks for taking some time to respond to my question. The most I've every seen the CPU was 25-30% usage. I have the 1600. We have a bunch of virtual IPs that experience light to moderate traffic but the virtual server that I want to run this iRule on has had a max of 416 connections - that might not be a lot for some people but I just have no idea.
    • James_Thomson_1's avatar
      James_Thomson_1
      Historic F5 Account
      I would agree, that is not a lot. Anecdotally, I would not be worried about the overhead of HSL with that type of traffic.