Will the decoder respond in time when slow jobs arrive in bursts?
A quiet average can hide a decoder’s busiest minute
Source research checked . Teaching calculations are ideal models.
A decoder is a classical computation attached to a quantum experiment. Its response can become part of a time-critical feedback path. Average throughput describes whether work is usually sustainable, while individual response times reveal what happens to the jobs that encounter a backlog. Both are needed to interpret a claim about operating speed.
This laboratory uses a deterministic arrival trace and makes the first two service times in each block longer. A single worker can have an average service time below the arrival spacing and still miss deadlines after those bursts. A second worker changes the schedule, but it does not make either individual service operation faster. The distinction separates hardware acceleration from queue management.
The exact trace is supplied with each worked case, making the result reproducible without a random seed. It is intentionally a classical queue simulation. Real decoders can have batch dependencies, shared memory, communication bottlenecks and different requirements for when an answer becomes necessary. The Model page can use this trace to explain what a latency histogram adds to a mean-speed number, while leaving quantum error-correction performance to its own evidence.
Start with the assumptions
- Jobs can use any available identical worker.
- There are no inter-job dependencies or transfer costs.
- The burst pattern and service times are stipulated.
start_i = max(arrival_i, earliest worker-free time)
finish_i = start_i + service_i
response_i = finish_i - arrival_i; miss if response_i > deadline
Compare the input regimes
Each case uses invented inputs. The results follow from this model and do not describe measured hardware.
Baseline regime
Complete inputs
- Arrival spacing
- 1
- Normal service time
- 0.45
- Burst service time
- 1.6
- Burst period
- 10
- Response deadline
- 2.5
- Jobs in trace
- 60
- Burst jobs at start of each period
- 2
- Create 60 arrivals separated by 1 time units. The first two jobs in every 10-job block use burst service 1.6.
- For each arrival, select the first available worker; start at max(arrival time, worker-free time). Completion minus arrival is the response time.
- The one-worker queue misses 0 deadlines. The two-worker schedule misses 0 under exactly the same arrival and service trace.
| Calculated quantity | Synthetic result |
|---|---|
| Mean service / arrival spacing | 0.68 |
| One-worker maximum response time | 2.2 |
| One-worker missed deadlines | 0 |
| Two-worker maximum response time | 1.6 |
| Two-worker missed deadlines | 0 |
| One-worker maximum wait before service | 1.2 |
| Job | Service time | One-worker response | Two-worker response |
|---|---|---|---|
| 1 | 1.6 | 1.6 | 1.6 |
| 2 | 1.6 | 2.2 | 1.6 |
| 3 | 0.45 | 1.65 | 0.45 |
| 4 | 0.45 | 1.1 | 0.45 |
| 5 | 0.45 | 0.55 | 0.45 |
| 6 | 0.45 | 0.45 | 0.45 |
| 7 | 0.45 | 0.45 | 0.45 |
| 8 | 0.45 | 0.45 | 0.45 |
| 9 | 0.45 | 0.45 | 0.45 |
| 10 | 0.45 | 0.45 | 0.45 |
| 11 | 1.6 | 1.6 | 1.6 |
| 12 | 1.6 | 2.2 | 1.6 |
The average utilization proxy is 0.68, while the maximum one-worker response is 2.2. A mean below one does not rule out burst-related deadline failures. The second worker is a scheduling experiment; real decoding may have dependencies, memory contention and communication costs omitted here.
Comparison regime
Complete inputs
- Arrival spacing
- 1
- Normal service time
- 0.575
- Burst service time
- 2.5
- Burst period
- 12
- Response deadline
- 2.6
- Jobs in trace
- 60
- Burst jobs at start of each period
- 2
- Create 60 arrivals separated by 1 time units. The first two jobs in every 12-job block use burst service 2.5.
- For each arrival, select the first available worker; start at max(arrival time, worker-free time). Completion minus arrival is the response time.
- The one-worker queue misses 20 deadlines. The two-worker schedule misses 0 under exactly the same arrival and service trace.
| Calculated quantity | Synthetic result |
|---|---|
| Mean service / arrival spacing | 0.895833333333 |
| One-worker maximum response time | 4 |
| One-worker missed deadlines | 20 |
| Two-worker maximum response time | 2.5 |
| Two-worker missed deadlines | 0 |
| One-worker maximum wait before service | 3 |
| Job | Service time | One-worker response | Two-worker response |
|---|---|---|---|
| 1 | 2.5 | 2.5 | 2.5 |
| 2 | 2.5 | 4 | 2.5 |
| 3 | 0.575 | 3.575 | 1.075 |
| 4 | 0.575 | 3.15 | 0.65 |
| 5 | 0.575 | 2.725 | 0.575 |
| 6 | 0.575 | 2.3 | 0.575 |
| 7 | 0.575 | 1.875 | 0.575 |
| 8 | 0.575 | 1.45 | 0.575 |
| 9 | 0.575 | 1.025 | 0.575 |
| 10 | 0.575 | 0.6 | 0.575 |
| 11 | 0.575 | 0.575 | 0.575 |
| 12 | 0.575 | 0.575 | 0.575 |
The average utilization proxy is 0.895833, while the maximum one-worker response is 4. A mean below one does not rule out burst-related deadline failures. The second worker is a scheduling experiment; real decoding may have dependencies, memory contention and communication costs omitted here.
Extended regime
Complete inputs
- Arrival spacing
- 1
- Normal service time
- 0.725
- Burst service time
- 3.58
- Burst period
- 12
- Response deadline
- 2.8
- Jobs in trace
- 60
- Burst jobs at start of each period
- 2
- Create 60 arrivals separated by 1 time units. The first two jobs in every 12-job block use burst service 3.58.
- For each arrival, select the first available worker; start at max(arrival time, worker-free time). Completion minus arrival is the response time.
- The one-worker queue misses 60 deadlines. The two-worker schedule misses 10 under exactly the same arrival and service trace.
| Calculated quantity | Synthetic result |
|---|---|
| Mean service / arrival spacing | 1.20083333333 |
| One-worker maximum response time | 15.8 |
| One-worker missed deadlines | 60 |
| Two-worker maximum response time | 3.58 |
| Two-worker missed deadlines | 10 |
| One-worker maximum wait before service | 14.8 |
| Job | Service time | One-worker response | Two-worker response |
|---|---|---|---|
| 1 | 3.58 | 3.58 | 3.58 |
| 2 | 3.58 | 6.16 | 3.58 |
| 3 | 0.725 | 5.885 | 2.305 |
| 4 | 0.725 | 5.61 | 2.03 |
| 5 | 0.725 | 5.335 | 1.305 |
| 6 | 0.725 | 5.06 | 0.755 |
| 7 | 0.725 | 4.785 | 0.725 |
| 8 | 0.725 | 4.51 | 0.725 |
| 9 | 0.725 | 4.235 | 0.725 |
| 10 | 0.725 | 3.96 | 0.725 |
| 11 | 0.725 | 3.685 | 0.725 |
| 12 | 0.725 | 3.41 | 0.725 |
The average utilization proxy is 1.200833, while the maximum one-worker response is 15.8. A mean below one does not rule out burst-related deadline failures. The second worker is a scheduling experiment; real decoding may have dependencies, memory contention and communication costs omitted here.
Try the reasoning: Find a regime with a mean service time below the arrival spacing but a missed deadline. Which burst causes it?