diff --git a/proxyclient/experiments/cpu_pstate_latencies.py b/proxyclient/experiments/cpu_pstate_latencies.py index 8bd13cc..b62de4a 100644 --- a/proxyclient/experiments/cpu_pstate_latencies.py +++ b/proxyclient/experiments/cpu_pstate_latencies.py @@ -185,6 +185,10 @@ def bench_latency(cluster, cpu, from_pstate, to_pstate, verbose=False): return (tts - tval) / tfreq * 1000000000, blip / tfreq * 1000000000 +CLUSTER_DVMR = 0x206b8 +ena = (1<<63) +ena |= (1<<32) | (1<<31) +p.set64(CREG[1] + CLUSTER_DVMR, ena) # CLUSTER_DVMR for cluster, creg in enumerate(CREG): cpu = TEST_CPUS[cluster] #### Cluster 0 #### P-States: 0:24MHz 1:600MHz 2:972MHz 3:1332MHz 4:1704MHz 5:2064MHz To-> | 600 | 972 | 1332 | 1704 | 2064 | From |---------+---------+---------+---------+---------+ 600 | ******* | 21042 | 26125 | 32583 | 49708 | 972 | 6375 | ******* | 20500 | 27625 | 44875 | 1332 | 6458 | 4625 | ******* | 23250 | 40208 | 1704 | 4875 | 4458 | 3833 | ******* | 23125 | 2064 | 6958 | 7000 | 6500 | 4917 | ******* | Maximum execution latency spike: 325 ns #### Cluster 1 #### P-States: 0:24MHz 1:600MHz 2:828MHz 3:1056MHz 4:1284MHz 5:1500MHz 6:1728MHz 7:1956MHz 8:2184MHz 9:2388MHz 10:2592MHz 11:2772MHz 12:2988MHz 13:3096MHz 14:3144MHz 15:3204MHz To-> | 600 | 828 | 1056 | 1284 | 1500 | 1728 | 1956 | 2184 | 2388 | 2592 | 2772 | 2988 | 3096 | 3144 | 3204 | From |---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+ 600 | ******* | 18958 | 20500 | 22042 | 23208 | 26167 | 30042 | 31417 | 35042 | 37833 | 52125 | 53667 | 54125 | 54250 | 54458 | 828 | 4125 | ******* | 15958 | 17500 | 20333 | 21000 | 25000 | 26583 | 30125 | 33042 | 47417 | 49708 | 50042 | 49750 | 49500 | 1056 | 5208 | 4208 | ******* | 16083 | 18125 | 19500 | 23458 | 24750 | 28292 | 31083 | 45542 | 47542 | 47500 | 47000 | 47417 | 1284 | 6667 | 6292 | 5333 | ******* | 19125 | 20292 | 23500 | 24458 | 27833 | 30042 | 45458 | 47917 | 51875 | 48542 | 48458 | 1500 | 4208 | 5625 | 4958 | 4333 | ******* | 16375 | 19542 | 20875 | 24417 | 27208 | 41542 | 42958 | 43833 | 44000 | 44083 | 1728 | 5833 | 5042 | 5000 | 5250 | 3500 | ******* | 17792 | 19542 | 23000 | 25875 | 40333 | 42375 | 42750 | 42625 | 42542 | 1956 | 6625 | 6292 | 6167 | 6125 | 5792 | 3792 | ******* | 18958 | 21917 | 25333 | 37792 | 40083 | 40292 | 40125 | 40208 | 2184 | 7542 | 7542 | 7333 | 7208 | 6917 | 6917 | 4500 | ******* | 20375 | 24167 | 38208 | 40333 | 40625 | 40625 | 40708 | 2388 | 7250 | 7417 | 7167 | 6667 | 6708 | 6958 | 5292 | 3875 | ******* | 20833 | 24583 | 47042 | 39917 | 36833 | 36833 | 2592 | 6833 | 7083 | 6958 | 5375 | 6375 | 6667 | 6667 | 4750 | 3417 | ******* | 20125 | 23917 | 25750 | 25917 | 26458 | 2772 | 6333 | 6583 | 6417 | 6417 | 5875 | 6417 | 6583 | 6250 | 4000 | 3542 | ******* | 20083 | 22208 | 22167 | 22750 | 2988 | 5125 | 6083 | 5833 | 6167 | 4875 | 6042 | 6292 | 6542 | 4708 | 3667 | 2833 | ******* | 250 | 16792 | 17542 | 3096 | 5250 | 5500 | 5125 | 5792 | 5000 | 5458 | 5792 | 6208 | 5958 | 4042 | 2750 | 42 | ******* | 15250 | 14667 | 3144 | 5333 | 5333 | 4625 | 5833 | 5042 | 5417 | 5708 | 6167 | 5667 | 3708 | 3000 | 2208 | 125 | ******* | 15500 | 3204 | 5333 | 5083 | 4583 | 5667 | 5167 | 5083 | 5625 | 6083 | 5708 | 3542 | 3208 | 2417 | 2125 | 42 | ******* | Maximum execution latency spike: 382 ns