Class Qsys_fcfs_alis

java.lang.Object
jline.api.qsys.Qsys_fcfs_alis

public final class Qsys_fcfs_alis extends Object
Exact steady-state means of an isolated FCFS parallel-server system with job-server compatibilities under Assign Longest Idle Server (ALIS).

Port of matlab/src/api/qsys/qsys_fcfs_alis.m. C job classes arrive as Poisson streams at rates lambda, M servers serve at rates mu that depend on the server only (exponential, noncollaborative: one server per job), a class-c job may only be served by the servers m with compat(c,m) true, a server that frees up takes the OLDEST waiting job it is compatible with, and an arriving job that finds compatible idle servers starts on the one that has been idle longest.

PRODUCT FORM. With the partially aggregated state of Adan and Weiss (Gardner, Righter 2020, Thm 5.2): the idle servers s in the order they became idle, the busy servers b in the arrival order of the jobs they serve, and n_j the number of waiting jobs between the j-th and (j+1)-th job in service,

   pi(s, b, n) = G * prod_j alpha_j^{n_j} / mu(b_1..b_j) * prod_j 1/lambda(C(s_1..s_j)),
 
alpha_j = lambda(R(b_1..b_j)) / mu(b_1..b_j), where R(B) are the classes whose compatible servers all lie in B and C(S) the classes compatible with some server of S. Given (s, b) the n_j are independent geometric, and each job of segment j is class c in R(b_1..b_j) with probability lambda_c / lambda(R(b_1..b_j)), which gives the mean waiting counts Qw.

PER-CLASS MEANS. The classes of the jobs in service are not part of that state, so the in-service means come from the matching rates X(c,m), the rate at which class-c jobs start service at server m: a completion at b_j hands the server to the first waiting job it is compatible with (scanning segments i >= j, segment i holds none with probability (1 - alpha_i) / (1 - alpha_i q_i), q_i the probability that one of its jobs is incompatible with b_j), and an arrival of class c that finds compatible idle servers starts at the first of them in s. Then E[in service, class c] = sum_m X(c,m) / mu_m and Q = Qw plus that.

The system is exact only IN ISOLATION: the noncollaborative ALIS pool has no balance function independent of lambda, so it does not compose into a product-form network. This is the textbook ALIS of the literature, which orders individual SERVERS by idle time; it is NOT HeteroSchedPolicy.ALIS, so this function is not used by any solver route.

Cost: one visit per ordered busy set and per ordered idle set, about e * M! of each, so M is limited to 9 servers with traffic.

References: I. Adan, G. Weiss, "A skill based parallel service system under FCFS-ALIS: steady state, overloads, and abandonments", Stochastic Systems 4(1):250-299, 2014; K. Gardner, R. Righter, "Product forms for FCFS queueing models with arbitrary server-job compatibilities: an overview", Queueing Systems 96:3-51, 2020, Sec. 3.2 and 5.1.

  • Method Details

    • qsys_fcfs_alis

      public static Qsys_fcfs_alis.Result qsys_fcfs_alis(double[] lambda, double[] mu, boolean[][] compat)
      Parameters:
      lambda - (C) arrival rates (>= 0)
      mu - (M) server rates (> 0)
      compat - (C x M) compatibility matrix; a class with lambda_c = 0 and a server no class with traffic can use are left out (the server stays idle)
      Returns:
      the per-class means, matching rates, server utilizations and P0