A finite-buffer bulk-service queue with bounded queue-length-dependent vacations and state-dependent batch arrivals: application to LLM inference batching
Author:
Preprint
- 27 October 2026
- preprint
- Published by Elsevier in SSRN Electronic Journal
Abstract
Inference servers for large language models (LLMs) execute requests in batches whose size is limited by the free key–value cache, and they often fill quiet periods with background jobs. Motivated by this practice, we study a single-server queue with a finite waiting room and batch Poisson arrivals whose rate depends on the server state. A service starts only when at least a customers wait and removes the smaller of the queue length and a random capacity Y ; its duration depends on the batch size and on the number of customers left behind. When fewer than a customers wait, the server takes at most M vacations whose lengths depend on their order and on the queue length at their start, and then stays dormant until the threshold is reached. We describe the system by a piecewise-deterministic Markov process, write its extended generator and derive the Kolmogorov differential–difference equations. An embedded Markov chain at service and vacation completions, combined with the supplementary variable technique, gives the joint distribution of the queue length and the server state at arbitrary, departure and arrival epochs. Marginal distributions, blocking probabilities and mean performance measures follow in closed form or as explicit finite sums. Classical finite and infinite queues are recovered as special cases. A cost function that charges latency, rejection, energy and switching, and credits background work, is minimised over the threshold, the number of vacations, the vacation length and the size of the waiting room.Keywords
This publication has 35 references indexed in Scilit:
- Study on Infinite Buffer Batch Size Dependent Bulk Service Queue with Queue Length Dependent VacationInternational Journal of Applied and Computational Mathematics, 2021
- On Finite Buffer Bulk Arrival Bulk Service Queue with Queue Length and Batch Size Dependent ServiceInternational Journal of Applied and Computational Mathematics, 2019
- Analysis of a finite buffer variable batch service queue with batch Markovian arrival process and server’s vacationOPSEARCH, 2015
- On the batch arrival batch service queue with finite buffer under server’s vacation: queueComputers & Mathematics with Applications, 2008
- Fundamentals of Queueing Theory2008
- Operating characteristic analysis on the M[x]/G/1 system with a variant vacation policy and balkingApplied Mathematical Modelling, 2007
- Vacation Queueing Models Theory and Applications2006
- Steady state analysis of a bulk queue with multiple vacations, setup times with N-policy and closedown timesApplied Mathematical Modelling, 2005
- On the Mx/G/1 queue with vacation timeOperations Research Letters, 1986
- Queueing systems with vacations ? A surveyQueueing Systems, 1986