Files
agentic-kvc/microbench/interference/results/summary.csv
Gahow Wang 06dd175441 Microbench 1 plots: prefill-decode interference heatmap + lines
plot_interference.py reads the interference sweep summary (4 D × 4 P × 3 reps,
cold prefill prompts) and produces:

  fig_interference_heatmap.png
    TPOT p90 interference index over (D, P): 14x at D=8 P=2k → 214x at D=1 P=32k.

  fig_interference_lines.png
    (a) TPOT p90 during prefill vs P, log-y, one line per D + baseline dashed
    (b) Cold prefill TTFT vs P (interference window length)

Confirms B2 finding: cold prefill on the same worker stalls overlapping
decodes for 14-214x baseline TPOT. The interference window grows linearly
with P (from ~140ms at 2k to ~4.6s at 32k) and is essentially independent
of decode batch size — prefill compute time dominates.
2026-05-26 14:21:30 +08:00

8.0 KiB

1chunk_sizedecode_batch_sizenew_prefill_tokensrepetitiontpot_baseline_p50_mstpot_baseline_p90_mstpot_during_prefill_p50_mstpot_during_prefill_p90_mstpot_after_prefill_p50_msprefill_ttft_msnum_tokens_during_prefilltpot_penalty_p50_mstpot_penalty_ratio
2819211638406.09388400334864856.2095870147459216.038327002897859721.81749599985795.9027365059591831551.69449199456727-0.055557000450789930.9908831542542883
3819211638415.9234100044704976.0979835921898486.318648986052722716.13358320901185.9447629901114851538.593037985265370.395238981582224371.0667249069849851
4819211638425.8580209733918316.1004624876659366.006712967064232717.03389459289625.8800234983209521537.48971904860870.14869199367240071.0253826325217656
581921204805.8952769904863096.0925003606826076.601358996704221101.924822991713885.88772798073478138.616782962344630.70608200621791181.119770794036883
681921204815.840500001795596.0317248222418136.71500200405716998.4029556158935.963494011666626135.2612320333719330.8745020022615791.149730674084877
781921204825.8469290379434826.0237626079469926.4958180300891498.785653198137885.865664483280852139.5208730245940430.64888899214565751.1109794539893867
8819213276805.8154829894192525.982315214350827.9059239942580461327.4177330313255.9148715226911014565.813232969958112.09044100483879451.35946128784869
9819213276815.8842069702222946.0935502056963746.9139995030127471289.13550988072555.9185940190218394564.696346002165121.02979253279045221.1750095701938827
10819213276825.8445089962333446.0364666045643395.9494184970390051289.8687508772135.9965160035062584559.26972796442120.104909500805661081.0179500965561474
1181921819205.89539599604904656.0776048107072716.700786994770169400.016602710820855.933274980634451592.771089985035440.80539099872112271.1366135539089954
1281921819215.8599970070645216.0443629859946676.52295647887513399.09608859452435.9106440166942775587.912035989575140.66295947181060911.1131330734489076
1381921819225.8526159846223896.0773396049626176.839454494183883397.372216067742675.842902464792132585.434413980692640.9868385095614941.1686149428143566
14819221638406.6653660032898196.9961880217306326.953017000341788753.41228398610846.2783560133539141542.8870850009844160.287650997051969171.0431560692856165
15819221638416.2156515195965776.4321087906137116.437333504436538825.86020880844486.3215369882527741544.4676239858381140.221681984839960931.0356651244267872
16819221638426.1982900078874086.4149960817303516.23783003538847791.2874628091236.2290620116982611547.6729370420799150.039540027501061561.0063791832022617
1781922204806.3082035339903096.53725371230393657.2736715083010495124.342463386710736.42395400791429140.235750994179480.96546797431074081.1530495915530528
1881922204816.2956695328466596.5656963619403546.80624000960961122.763477801345296.219618488103151134.0023750090040350.51057047676295041.081098678083265
1981922204826.2219230458140376.4567846187856056.77992551936768121.530795498983936.372162490151823133.6582509684376460.55800247355364261.089683281108572
20819223276806.2172049656510356.4114834240172066.4448619959875941327.6056774193426.2790575029794134562.765512033366240.227657030336558821.0366172631583364
21819223276816.2492450233548886.465236714575446.6381020005792381327.37256548716696.2828015070408584588.010042964015260.388856977224351.0622246328590255
22819223276826.30477300728671256.5115824982058267.0321719686035071328.65639351075526.6786250099539764575.238945020828260.72739896131679421.1153727438681942
2381922819206.2162739923223856.4180609711911537.465646980563179566.21000090963216.486822996521369591.6664049727842101.24937298824079331.2009842213814694
2481922819216.2199890089686966.4269328198861336.889350013807416563.88072772533636.498989008832723589.0314219868742100.669361004838721.1076144996194621
2581922819226.2025620136416.4264094107784336.2741125002503395506.359113293001666.247896992135793589.9350599502213120.071550486609339711.0115356342188893
26819241638406.5810965024866166.8137834896333527.222604966955259896.07943558949137.279518002178521548.318826011382320.64150846446864311.097477443800779
27819241638416.6321264894213536.8885369983036077.169383025029674901.46344918757766.63801448536105451556.7272949847393320.53725653560832141.0810081859061764
28819241638427.30018399190157657.6275981613434857.801887986715883895.80707533750767.3810250323731451548.7530149985105320.50170399481430651.0687248424657336
2981924204806.5749465138651436.77603846997953958.21773149073124122.996769467135897.327278988668695141.15837798453867161.64278497686609631.2498552609366202
3081924204816.5393045078963046.8279860133770857.7418964938260615123.067835986148577.355214998824522144.0463720355183161.20259198592975741.183902123609263
3181924204826.6033879993483426.8892594717908658.407105488004163123.281592450803157.304991508135572139.0016739605926121.80371748865582051.2731503114513067
32819243276806.5745220053941016.814571010181688.6374040110968051329.56139848683967.3525610205251724582.872495986521482.0628820057027041.3137691232929485
33819243276816.6115094814449556.8324434629175816.8100829957984391329.56925448961566.5946374961640694584.32119601639520.198573514353483921.0300345200911798
34819243276827.2478500078432267.5129265896975997.6984885090496391330.07095953216787.3669285047799354593.307823990472520.45063850120641291.062175472825563
3581924819206.580765999387956.83584800572134557.33237000531517563.13514836947437.409162994008511588.1257400033064200.751604005927221.114212236994466
3681924819217.2943139821290977.6118555851280696.714510993333533567.656560119946.66655000532046593.753799970727420-0.57980298879556360.9205130201118203
3781924819227.3463100125081847.6324235764332127.1000695170369562.16235110186976.561954505741596589.450169005431220-0.24624049547128380.9664810639556427
38819281638408.5455190273933118.81595812970772410.58233599178493935.5996255879298.9643669780343771564.8929480230436492.0368169643916191.2383491228399874
39819281638418.9904909837059689.3600359221454719.607686952222139929.18031355366119.0455244935583321548.527927021496490.6171959685161711.0686498623528742
40819281638428.9137859758920979.2707730131223810.43433096492663928.71562838554388.99063702672721554.4496020302176491.52054498903453351.1705835200830426
4181928204808.985161490272739.2935318069066859.877634001895785123.179905000142758.940142986830324138.16959800897166210.89247251162305471.0993273757616087
4281928204818.521424490027138.7872321950271739.08006398822181122.787572932429618.527457976015285139.2026540124789220.55863949819467961.0655570554956477
4381928204828.5132064996287238.813207375351349.523249987978488123.090922395931568.918915002141148138.62996903480962221.01004348834976551.1186443073351757
44819283276808.5195480205584328.80023558856919410.8591030002571641329.6700409846388.9710890315473084627.19459598884812.33955497969873251.2746102227551481
45819283276818.9514869614504289.3323245993815369.675498993601651329.52957000816248.9639100187923764593.522923998535810.72401203215122221.0808817613508437
46819283276828.946589485276499.308438526932159.1161529999226331329.51715481467558.5701150237582624582.791887049098850.169563514646142721.018952866332494
4781928819209.0043800009880219.33062842232175210.226367478026077566.94692628225318.936587983043864595.0289380270988321.22198747703805571.13571034062356
4881928819218.5105324978940198.80632456974126411.104884033557028573.67826002882798.955864497693256599.6217179927044312.59435153566300871.3048400950592687
4981928819228.5118110000621538.7595463090110579.393914020620286564.93276702240118.936407044529915594.1418160218745330.88210302055813371.1036328250887728