Latency ~ what can I do with the knowledge?

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Latency ~ what can I do with the knowledge?

  • Creator
    Topic
  • #49716
    Nate Kruse
    Participant

    In reading several threads, I was able to extract the IB Lat, OB Lat, Total Lat, and most other stats.

    With these Latency stats, what can I do with them?  How would knowing this help with our interfaces?

    Feel free to discuss.

    Thanks.

Viewing 3 reply threads
  • Author
    Replies
    • #63256
      Michael Hertel
      Participant

      My understanding of the magic latency numbers is that you can use these numbers to know what kind of a time drag the engine is adding to the travel time of the message from sending host to receiving client.

      These numbers really never made sense to me.

      Especially how the numbers were determined.

    • #63257
      Jim Kosloskey
      Participant

      Nate,

      Here is my limited knowledge (based primarily on observation) of the various thread stats:

      The Latencies:

      IB Latency.

      This is the measurement of time between the receipt of inbound traffic. So you receive the first message since zeroing out the stats. The timer starts. When you receive the next message, the timer stops while the message is processed on the inbound side and then starts again once the message is dispositioned. The count is cumulative and only resets when the stats get zerod out.

      This is a measurement regardless of whether this is an Inbound or Outbound thread (each thread has an inbound and outbound side remember). So obviously the value of the data will be different depending on the orientation of the thread (Inbound or Outbound).

      There are other considerations when trying to make sense of this data.

      OB Latencey.

      This is the measurement of the time elapsed between sending of messages. Just as with IB Latency, this value is measured for both Inbound and Outbound threads and has the same caveats as IB Latency.

      Again there are other considerations when trying to make sense of this data.

      Total latency.

      At first blush one would think this should be the sum of IB Latency and OB Latency and sometimes it is. However, this value depends on the configuration. Rarely is this number exactly calculable from the displayed data by humans. I suspect therefor there is some additional rounding or truncation going on behind the scenes.

      Also there is no figure presented that gives end-to-end time. That needs to be calculated by you and is extrememly dependant on local knowledge of the integrations.

      I once had a discussion with someone in the old HCI days (Streepy, etal) about these stats and gained some insight. However, I do not recall ever seeing any written explanation of how the stats are collected or computed and after the Bob Murray purge of the developers, I am not sure there is anyone left at Quovadx who really understands how these stats are derived.

      What I have given here is just a small description. This topic can get much more complex. I suspect this is one of the reasons that although I have provided a proc to completely dump the msi stats in a delimited format for import into statistical analysis tools to a number of people, I have not heard of a single organization making use of the stats beyond number of messages, etc. When attempting to make sense of the data many just give up.

      I have to admit, I have never been given sufficient time by any of my employers to properly make use of these statistics. Dumping the stats is easy, crunching those numbers in a meaningful manner is not.

      There is a lot more I can discuss with you.

      Email me if you would like to chat in more depth.

      Jim Kosloskey

      email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

    • #63258
      Nate Kruse
      Participant

      Thanks for the replies.  I guess there is no easy definition.

      When I get a chance, I’ll have to do some comparisons between queue depth and latency times and see if we can use that to help our load on some of our threads.

    • #63259
      Russ Ross
      Participant

      Nate Kruse:

      If all your questions about latency is about queue depths building up because of loads, I have alot of experience remedying such situations.

      However, the scope and dynamics of that discussion is beyond what I’m willing to do in a clovertech post.

      If your underlying desire is to better balance your interface loads, you can call me off-line to discuss the details of your situation to see if what you are up against is something I’ve already been through.

      Russ Ross
      RussRoss318@gmail.com

Viewing 3 reply threads
  • The forum ‘Cloverleaf’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,116
Forums
28
Topics
9,292
Replies
34,432
Topic Tags
286
Empty Topic Tags
10