In general, in one aspect, the disclosure describes an apparatus capable to select
a queue. The apparatus includes a queue occupancy device to indicate an occupancy
status of the queues, a queue occupancy cache to record an update in occupancy
status of a particular queue, a next queue selector to select a queue based on
said queue occupancy device and a most recently serviced queue, and a queue identification
register to identify a most recently serviced queue.