aboutsummaryrefslogtreecommitdiffstats
path: root/research
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-10-13 05:19:58 +0100
committereunhhu <[email protected]>2026-10-13 05:19:58 +0100
commit109ea31ef2ca06210e196c1b8fa7005cd9ef5ce9 (patch)
tree03409edbd81e8dacedfc179ce221ddb5a99130f7 /research
parent41a2e5c65dc92a0c47212efcb7f5dfef8443f9b2 (diff)
downloadpure-109ea31ef2ca06210e196c1b8fa7005cd9ef5ce9.tar.gz
pure-109ea31ef2ca06210e196c1b8fa7005cd9ef5ce9.zip
Research 140: stage 1's instruction counts: the workloads' modules byte for byte the same, the executor alone moved matmul +0.43% and BFS -0.34% (knapsack, roots, join within 0.03%; the bar of 0.1% missed, mixed signs: four cases more in step), the bank's queries -0.22% to 0.00% (bar 1%); the four cases out of line in a noinline function (b23) cost 6-15% of the executor's instructions (a call taking frame from step: the register cliff) and were taken back; CHECKPOINT's direction row through 027's stage 1
Diffstat (limited to 'research')
-rw-r--r--research/experiments/040-against-c/2026-10-13-counts-s22.jsonl4
-rw-r--r--research/experiments/041-batches/2026-10-13-counts.jsonl40
2 files changed, 44 insertions, 0 deletions
diff --git a/research/experiments/040-against-c/2026-10-13-counts-s22.jsonl b/research/experiments/040-against-c/2026-10-13-counts-s22.jsonl
new file mode 100644
index 0000000..a8bc144
--- /dev/null
+++ b/research/experiments/040-against-c/2026-10-13-counts-s22.jsonl
@@ -0,0 +1,4 @@
+{"serve": "pure-serve", "per_branch": {"instructions": 27277327, "cycles": 12521098}, "in_credit": {"instructions": 3555347, "cycles": 1727380}, "large": {"instructions": 1419266, "cycles": 635285}, "ranks": {"instructions": 24576440, "cycles": 15098298}, "none": {"instructions": 615608, "cycles": 201453}, "field": {"instructions": 9007140, "cycles": 3293193}, "found": {"instructions": 14138595, "cycles": 11152298}}
+{"serve": "pure-serve", "per_branch": {"instructions": 27245159, "cycles": 12335668}, "in_credit": {"instructions": 3548203, "cycles": 1643795}, "large": {"instructions": 1418203, "cycles": 626835}, "ranks": {"instructions": 24540489, "cycles": 15109900}, "none": {"instructions": 615600, "cycles": 198615}, "field": {"instructions": 8987089, "cycles": 3379269}, "found": {"instructions": 14136563, "cycles": 11456537}}
+{"serve": "pure-serve", "per_branch": {"instructions": 27254641, "cycles": 12402614}, "in_credit": {"instructions": 3550367, "cycles": 1784791}, "large": {"instructions": 1419115, "cycles": 629545}, "ranks": {"instructions": 24563665, "cycles": 15251048}, "none": {"instructions": 615608, "cycles": 215072}, "field": {"instructions": 9007140, "cycles": 3310034}, "found": {"instructions": 14136155, "cycles": 11191218}}
+{"serve": "pure-serve", "per_branch": {"instructions": 27241076, "cycles": 12235100}, "in_credit": {"instructions": 3547210, "cycles": 1695243}, "large": {"instructions": 1418203, "cycles": 654392}, "ranks": {"instructions": 24536879, "cycles": 15388450}, "none": {"instructions": 615600, "cycles": 202412}, "field": {"instructions": 8986986, "cycles": 3353373}, "found": {"instructions": 14136698, "cycles": 11380094}}
diff --git a/research/experiments/041-batches/2026-10-13-counts.jsonl b/research/experiments/041-batches/2026-10-13-counts.jsonl
new file mode 100644
index 0000000..1ce2959
--- /dev/null
+++ b/research/experiments/041-batches/2026-10-13-counts.jsonl
@@ -0,0 +1,40 @@
+{"version":"b21","way":"batches","work":"matmul","instructions":712373863,"cycles":231285206}
+{"version":"b21","way":"rounds","work":"matmul","instructions":21436716312,"cycles":6627046518}
+{"version":"b21","way":"batches","work":"knapsack","instructions":348467334,"cycles":108971916}
+{"version":"b21","way":"rounds","work":"knapsack","instructions":21688103023,"cycles":7534433045}
+{"version":"b21","way":"batches","work":"roots","instructions":157587366,"cycles":109574669}
+{"version":"b21","way":"rounds","work":"roots","instructions":2755945483,"cycles":987613235}
+{"version":"b21","way":"batches","work":"join","instructions":1790209319,"cycles":1138195102}
+{"version":"b21","way":"rounds","work":"join","instructions":7669661804,"cycles":3552710443}
+{"version":"b21","way":"batches","work":"bfs","instructions":3358271366,"cycles":1799155912}
+{"version":"b21","way":"rounds","work":"bfs","instructions":4711634330,"cycles":2111102110}
+{"version":"b22","way":"batches","work":"matmul","instructions":713384697,"cycles":233469040}
+{"version":"b22","way":"rounds","work":"matmul","instructions":21529596474,"cycles":7133885622}
+{"version":"b22","way":"batches","work":"knapsack","instructions":348623832,"cycles":105438942}
+{"version":"b22","way":"rounds","work":"knapsack","instructions":21692082138,"cycles":7895357997}
+{"version":"b22","way":"batches","work":"roots","instructions":157299294,"cycles":109561365}
+{"version":"b22","way":"rounds","work":"roots","instructions":2755945582,"cycles":1062025791}
+{"version":"b22","way":"batches","work":"join","instructions":1783709071,"cycles":1138916922}
+{"version":"b22","way":"rounds","work":"join","instructions":7671461452,"cycles":3691930011}
+{"version":"b22","way":"batches","work":"bfs","instructions":3365486934,"cycles":1682419615}
+{"version":"b22","way":"rounds","work":"bfs","instructions":4695835340,"cycles":2139890198}
+{"version":"b23","way":"batches","work":"matmul","instructions":713396728,"cycles":230634989}
+{"version":"b23","way":"rounds","work":"matmul","instructions":23814167660,"cycles":6929205123}
+{"version":"b23","way":"batches","work":"knapsack","instructions":348640620,"cycles":106463019}
+{"version":"b23","way":"rounds","work":"knapsack","instructions":23841569109,"cycles":7776297154}
+{"version":"b23","way":"batches","work":"roots","instructions":157299548,"cycles":110050298}
+{"version":"b23","way":"rounds","work":"roots","instructions":3180389280,"cycles":1010234680}
+{"version":"b23","way":"batches","work":"join","instructions":1783707618,"cycles":1068427873}
+{"version":"b23","way":"rounds","work":"join","instructions":8534868597,"cycles":3567287721}
+{"version":"b23","way":"batches","work":"bfs","instructions":3359478710,"cycles":1685037112}
+{"version":"b23","way":"rounds","work":"bfs","instructions":5008018326,"cycles":2202220966}
+{"version":"b21","way":"batches","work":"matmul","instructions":712374039,"cycles":231321891}
+{"version":"b21","way":"rounds","work":"matmul","instructions":21436716261,"cycles":6631584887}
+{"version":"b21","way":"batches","work":"knapsack","instructions":348467367,"cycles":108483093}
+{"version":"b21","way":"rounds","work":"knapsack","instructions":21688103040,"cycles":7534696732}
+{"version":"b21","way":"batches","work":"roots","instructions":157587322,"cycles":109861963}
+{"version":"b21","way":"rounds","work":"roots","instructions":2755945346,"cycles":988101655}
+{"version":"b21","way":"batches","work":"join","instructions":1790209314,"cycles":1134651176}
+{"version":"b21","way":"rounds","work":"join","instructions":7669661569,"cycles":3593363686}
+{"version":"b21","way":"batches","work":"bfs","instructions":3358271260,"cycles":1692916302}
+{"version":"b21","way":"rounds","work":"bfs","instructions":4711634325,"cycles":2111516521}