Commit 0e9ac4f4 authored by Waleed Akbar's avatar Waleed Akbar
Browse files

feat: Update bandwidth and latency range definitions for improved accuracy

parent a5f9ab73
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -48,10 +48,18 @@ class SyntheticSampler:
    # Connection count to (avg, min, max) percentage mapping
    # Latency uses same ranges divided by 10 (0-10ms range)
    BW_RANGES = {
        0: (3,  1,  10),    1: (25, 15, 30),    2: (45, 35, 55),    3: (65, 60, 80),    4: (85, 80, 95),
           0: (3,  5,  10),
           1: (25, 15, 30),
           2: (40, 35, 50),
           3: (60, 65, 80),
           4: (85, 80, 95),
    }
    LAT_RANGES = {
        0: (0.5, 0.0, 1.0), 1: (1.5, 1.0, 2.0), 2: (2.5, 2.0, 3.0), 3: (3.5, 3.0, 4.0), 4: (4.5, 4.0, 5.0),
        0: (0.4, 0.1, 0.8),
        1: (1.4, 1.0, 1.8),
        2: (2.4, 2.0, 2.8),
        3: (3.4, 3.0, 3.8),
        4: (4.4, 4.0, 4.8),
    }

    @classmethod