Closed anshumanmohan closed 2 months ago
@polybeandip just wondering if you'd like to poke around some of this, especially as the main near-term development work is on stable binary heaps!
Happy to work on this; looks fun!
Just to record this in writing: #2276 makes great strides towards closing this, but does not mess with PIEOs yet. @polybeandip is going to refactor this issue into two issues. One of those will be the non-PIEO work, which is exactly solved by #2276. The other will remain open
We have a small clutch of queue implementations now, and those have different capabilities. In increasing order of expressivity:
n
flows in a round-robin (resp. strict) policy. These are not strictly PIFOs: they cannot actually accept an item and a rank and enqueue that item with that rank.We have long had this vague notion that the simpler kinds of queues will be more performant. This issue seeks to test that for real. We will likely want to chat with @calebmkim, who has a little repository to measure LUTs, cycle counts, etc for a given design under a given set of inputs.
The first few concrete steps (just to get a comparison between 1 and 2 going) are:
strict
round_robin
This work does not strictly have to happen during flag day, but I've put it in the flag day list because we will probably benefit from the tidying of flag day. Also, it kinda feels like this sort of benchmarking is "good housekeeping" when building multiple gadgets that have similar functionality.