From d7caf4dfb1947d8f804e3d8ae7ef066c6e3b8fb7 Mon Sep 17 00:00:00 2001 From: eunhhu Date: Sun, 18 Oct 2026 23:54:06 +0100 Subject: 027's 4f-3a: no fixed count of inputs, views (the load's columns among them, in u16s), handlers or message fields: the header's u16s alone; a message's fields at most 64 (PURE_MESSAGE_FIELDS: a send pushes them all, as the stored sends' shapes hold them), outputs at most 255 (the store names them in a byte's count: the links and the outbox's image), the numbers of outputs a module dropped carried within it; an app's numbers of each input (last sent, saved, where the event began) in a block sized to its module's inputs (by_input), a replace laying the new one first and filling it by output name; image headers sized to the module (header_room); a view's arguments u32, a made column's field u16; pure-serve's timers grow to the module's inputs, its outlets and known senders its own count (OUTLETS, 32), a list view's JSON keys its columns on the stack for 64, else on the heap; unit test: 40 inputs and 70 views, the last of each used; counts: b40 against b39b within 0.01% with batches and without but BFS +0.09%; the bank's queries (s39b and s40 in turns, three each) in_credit -0.64%, per_branch -0.37%, field +0.34%, the rest within 0.22%; 008 and 027 --- research/experiments/040-against-c/2026-10-18-counts-s40.jsonl | 6 ++++++ research/experiments/041-batches/2026-10-18-counts.jsonl | 10 ++++++++++ 2 files changed, 16 insertions(+) create mode 100644 research/experiments/040-against-c/2026-10-18-counts-s40.jsonl (limited to 'research') diff --git a/research/experiments/040-against-c/2026-10-18-counts-s40.jsonl b/research/experiments/040-against-c/2026-10-18-counts-s40.jsonl new file mode 100644 index 0000000..814492c --- /dev/null +++ b/research/experiments/040-against-c/2026-10-18-counts-s40.jsonl @@ -0,0 +1,6 @@ +{"serve": "pure-serve", "per_branch": {"instructions": 27303845, "cycles": 11984302}, "in_credit": {"instructions": 3554637, "cycles": 1660832}, "large": {"instructions": 1410925, "cycles": 607926}, "ranks": {"instructions": 24554510, "cycles": 15132982}, "none": {"instructions": 617412, "cycles": 191670}, "field": {"instructions": 8887420, "cycles": 3108065}, "found": {"instructions": 14037493, "cycles": 10277104}} +{"serve": "pure-serve", "per_branch": {"instructions": 27123411, "cycles": 11827373}, "in_credit": {"instructions": 3514168, "cycles": 1595207}, "large": {"instructions": 1412790, "cycles": 590883}, "ranks": {"instructions": 24458149, "cycles": 14733028}, "none": {"instructions": 617338, "cycles": 189544}, "field": {"instructions": 8917567, "cycles": 3100659}, "found": {"instructions": 14068878, "cycles": 10323783}} +{"serve": "pure-serve", "per_branch": {"instructions": 27251835, "cycles": 11892299}, "in_credit": {"instructions": 3543022, "cycles": 1628013}, "large": {"instructions": 1410973, "cycles": 596939}, "ranks": {"instructions": 24526658, "cycles": 15060621}, "none": {"instructions": 617412, "cycles": 188384}, "field": {"instructions": 8887523, "cycles": 3105043}, "found": {"instructions": 14037773, "cycles": 10698227}} +{"serve": "pure-serve", "per_branch": {"instructions": 27150298, "cycles": 11790298}, "in_credit": {"instructions": 3520194, "cycles": 1582251}, "large": {"instructions": 1412854, "cycles": 589572}, "ranks": {"instructions": 24473068, "cycles": 14908265}, "none": {"instructions": 617338, "cycles": 189895}, "field": {"instructions": 8917669, "cycles": 3105534}, "found": {"instructions": 14070879, "cycles": 10553232}} +{"serve": "pure-serve", "per_branch": {"instructions": 27188950, "cycles": 12434083}, "in_credit": {"instructions": 3528940, "cycles": 1628962}, "large": {"instructions": 1411005, "cycles": 593522}, "ranks": {"instructions": 24493212, "cycles": 15096704}, "none": {"instructions": 617412, "cycles": 194288}, "field": {"instructions": 8887420, "cycles": 3112893}, "found": {"instructions": 14040078, "cycles": 10241171}} +{"serve": "pure-serve", "per_branch": {"instructions": 27374146, "cycles": 11970829}, "in_credit": {"instructions": 3570384, "cycles": 1638751}, "large": {"instructions": 1412822, "cycles": 591408}, "ranks": {"instructions": 24596026, "cycles": 14897005}, "none": {"instructions": 617338, "cycles": 189957}, "field": {"instructions": 8917669, "cycles": 3102074}, "found": {"instructions": 14069079, "cycles": 10362448}} diff --git a/research/experiments/041-batches/2026-10-18-counts.jsonl b/research/experiments/041-batches/2026-10-18-counts.jsonl index 45e7776..54ecee2 100644 --- a/research/experiments/041-batches/2026-10-18-counts.jsonl +++ b/research/experiments/041-batches/2026-10-18-counts.jsonl @@ -158,3 +158,13 @@ {"version":"b39b","way":"rounds","work":"matmul","instructions":21186408258,"cycles":7035750569} {"version":"b39b","way":"batches","work":"bfs","instructions":3341451010,"cycles":1659602824} {"version":"b39b","way":"rounds","work":"bfs","instructions":4705138988,"cycles":2092014946} +{"version":"b40","way":"batches","work":"roots","instructions":157244381,"cycles":110023886} +{"version":"b40","way":"rounds","work":"roots","instructions":2715503173,"cycles":1021976018} +{"version":"b40","way":"batches","work":"knapsack","instructions":348029695,"cycles":105176316} +{"version":"b40","way":"rounds","work":"knapsack","instructions":22162560925,"cycles":7863801511} +{"version":"b40","way":"batches","work":"join","instructions":1783718594,"cycles":1035974654} +{"version":"b40","way":"rounds","work":"join","instructions":7723675759,"cycles":3511172064} +{"version":"b40","way":"batches","work":"matmul","instructions":702228931,"cycles":227222897} +{"version":"b40","way":"rounds","work":"matmul","instructions":21186408621,"cycles":7035599078} +{"version":"b40","way":"batches","work":"bfs","instructions":3341460802,"cycles":1651233853} +{"version":"b40","way":"rounds","work":"bfs","instructions":4709146257,"cycles":2085067007} -- cgit v1.2.3