Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-369

investigate excursions in memory usage

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.6.0
    • Backlog
    • Router Node

    Description

      I don't know if this is a bug or not. I'm Jirifying it as a way of remembering an interesting behavior that my testing has shown, so that I can continue developing the testing and come back to this later.

      ...

      While measuring router memory usage under varying message rate and number of senders – when I run the same test multiple times, I am occasionally (about 1 in 4 times or so) seeing a test in which memory usage is much higher than the others.

      For example:
      In this test:

      { straight-through topology ( 1 sender --> 1 address --> 1 receiver ) 200 senders 200 messages per second 100 bytes per message }

      I record router memory usage at the point when all receivers are just hitting 10,000 messages. (This is because it grows – see previous JIRA.)

      In three iterations I get the following memory usage:

      66 MB
      63 MB
      181 MB

      Something similar, but less drastic, happened occasionally at lower levels in the test.

      In this case, this is a tripling of memory usage for the same scenario. I doubt that this is the result of slightly different timing in a block allocation of data structures. What just happened?

      Start by investigating with "qdstat -m" and see if that shows some or all of the difference.

      Attachments

        1. n_senders_vs_MEM_three_trials.jpg
          37 kB
          Michael Goulish

        Activity

          People

            mgoulish Michael Goulish
            mgoulish Michael Goulish
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: