PriorityTicketHolder microbenchmarks cannot be directly compared to SemaphoreTicketHolder

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2022-11-14
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The PriorityTicketHolder will not have comparable performance to the SemaphoreTicketHolder when the priority of operations are varied. This is because low priority operations will always wait for the normal priority queue to be cleared in the contended case. 

      Since microbenchmarks are relatively cheap, one option is to have two variations of the PriorityTicketHolder benchruns:
      (1) Where all operations are normal - this allows for a more reasonable direct comparison to SemaphoreTicketHolder performance since the SemaphoreTicketHolder disregards ticket priority
      (2) Where operations are varied low and high - this will allow for iterative comparisons of the PriorityTicketHolder's performance when it manages a balanced load of low and high priority operations

            Assignee:
            Haley Connelly
            Reporter:
            Haley Connelly
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: