Predict Queue-Head Service
Predict Queue-Head Service
Compare queues at one scheduling decision
Packet switchingFIFO · the same input holds both packets
FIFO input queue
Switch fabric
Outputs
FIFO · the scheduler checks the head
FIFO input queue
Switch fabric
Outputs
Virtual output queues · predict the grant
Virtual output queues
Switch fabric
Outputs
Which head can request service? Select Step.
Virtual output queues · the eligible head moves
Virtual output queues
Switch fabric
Outputs
Matching FIFO decision
FIFO input queue
Switch fabric
Outputs
Which telemetry explains a blocked packet?
FIFO outcome
Busy-side packet remains at the head. The trailing packet has no request and the idle output goes unused.
Virtual output queue outcome
Busy-side packet remains in its own queue. The idle-side eligible head gets a grant and transfers.
Show answer
Check which packet is the queue head, whether its output can accept, whether the fabric path is available, which requests are eligible and which ones get a grant.
Base case · backpressure
Busy-side packet: head, output cannot accept, path usable, no eligible request or grant.
FIFO trailing packet: behind head, output accepts, path usable, no request or grant. This is head-of-line blocking.
Replay · unavailable fabric path
Packet is head; output accepts. Path unavailable. No eligible transfer or grant.
Replay · arbitration
Packet is head; output accepts; path usable. Request eligible. Grant goes to a competing queue.
Track buffer size, fairness, arbitration and backpressure when choosing a queue design.
The head packet wants the busy output. The packet queued behind it wants the idle output.
Technical boundaries. The comparison freezes one scheduling decision at a single input with two packets and a usable fabric path. The grant to the idle head faces no competing request in that decision. The answer panel describes unavailable paths and arbitration as separate cases.