aboutsummaryrefslogtreecommitdiffstats
path: root/prototypes/connections/results/2026-09-24-posix-idle
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-24 17:14:54 +0100
committereunhhu <[email protected]>2026-09-24 17:14:54 +0100
commitb1ce1927022d374198441afafeb27199fc8a052a (patch)
tree6021f175f4c67ed03b44240eaa2f90d846f12f6f /prototypes/connections/results/2026-09-24-posix-idle
parentd34f9426d5317a1948f12f229439946728bc342a (diff)
downloadpure-b1ce1927022d374198441afafeb27199fc8a052a.tar.gz
pure-b1ce1927022d374198441afafeb27199fc8a052a.zip
Establish native micro runtime checkpoint
Diffstat (limited to 'prototypes/connections/results/2026-09-24-posix-idle')
-rw-r--r--prototypes/connections/results/2026-09-24-posix-idle/fixed-profile.json32
-rw-r--r--prototypes/connections/results/2026-09-24-posix-idle/fixed-server-regression.json68
-rw-r--r--prototypes/connections/results/2026-09-24-posix-idle/package.json14
-rw-r--r--prototypes/connections/results/2026-09-24-posix-idle/pure-document-fixed-http-linux-aarch64.tar.gzbin0 -> 32346 bytes
-rw-r--r--prototypes/connections/results/2026-09-24-posix-idle/reproducible-comparison.json21
-rw-r--r--prototypes/connections/results/2026-09-24-posix-idle/service-scale.json62
-rw-r--r--prototypes/connections/results/2026-09-24-posix-idle/source-profile.json32
7 files changed, 229 insertions, 0 deletions
diff --git a/prototypes/connections/results/2026-09-24-posix-idle/fixed-profile.json b/prototypes/connections/results/2026-09-24-posix-idle/fixed-profile.json
new file mode 100644
index 0000000..b56deb9
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-posix-idle/fixed-profile.json
@@ -0,0 +1,32 @@
+{
+ "passed": true,
+ "failures": [],
+ "profile": "linux-aarch64-gcc14-fixed-document-runner",
+ "scope": "Release-linked CLI and HTTP document hosts with one build-time prepared app. The source parser and compiler are separate build tools. These text ceilings apply only to the recorded Linux AArch64/GCC 14 toolchain and exclude libc, heap, stack, and storage files.",
+ "budget_sha256": "2b7e550992abb1872e52846dec712fab59b78692b776fd7e648d7976299f4b2a",
+ "platform": "Linux-6.18.39+rpt-rpi-2712-aarch64-with-glibc2.41",
+ "binaries": {
+ "pure-edit-fixed": {
+ "sections": {
+ "text": 19244,
+ "data": 920,
+ "bss": 16
+ },
+ "needed": [
+ "libc.so.6"
+ ],
+ "sha256": "8b594a7b1a4ae5b33cde5c842ec1e11c79b6368babc08ac2ffea378b38ac24f8"
+ },
+ "pure-connections-fixed": {
+ "sections": {
+ "text": 26261,
+ "data": 1028,
+ "bss": 16
+ },
+ "needed": [
+ "libc.so.6"
+ ],
+ "sha256": "1999ad534e9091fbaca096402ba2fbeaeb92c9fb4d4150cacaf309e9a9cd9555"
+ }
+ }
+}
diff --git a/prototypes/connections/results/2026-09-24-posix-idle/fixed-server-regression.json b/prototypes/connections/results/2026-09-24-posix-idle/fixed-server-regression.json
new file mode 100644
index 0000000..d96f70c
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-posix-idle/fixed-server-regression.json
@@ -0,0 +1,68 @@
+{
+ "profile": "build-time-prepared-http-document-host",
+ "fixed_source_cli_same_document": "pass",
+ "conditional_conflict_and_invalid_splice": "pass",
+ "one_mib_roundtrip_and_native_edit": "pass",
+ "slow_consumer_budget_and_release": "pass",
+ "runtime_parser_symbols_absent": "pass",
+ "fixed_stats": {
+ "active": 0,
+ "retained_payload_bytes": 0,
+ "peak_retained_payload_bytes": 1048584,
+ "payload_budget": 4194304,
+ "peak_connections": 1,
+ "accepted": 7,
+ "commits": 2,
+ "gets": 3,
+ "conflicts": 1,
+ "budget_rejections": 0,
+ "expired": 0,
+ "releases": 7,
+ "ingress_prefix_copy_bytes": 11,
+ "borrowed_output_bytes": 2097177,
+ "server_structure_bytes": 40848
+ },
+ "source_stats": {
+ "active": 0,
+ "retained_payload_bytes": 0,
+ "peak_retained_payload_bytes": 1048576,
+ "payload_budget": 4194304,
+ "peak_connections": 1,
+ "accepted": 6,
+ "commits": 1,
+ "gets": 3,
+ "conflicts": 1,
+ "budget_rejections": 0,
+ "expired": 0,
+ "releases": 6,
+ "ingress_prefix_copy_bytes": 0,
+ "borrowed_output_bytes": 2097162,
+ "server_structure_bytes": 41528
+ },
+ "limited_stats": {
+ "active": 0,
+ "retained_payload_bytes": 0,
+ "peak_retained_payload_bytes": 1048576,
+ "payload_budget": 1048576,
+ "peak_connections": 2,
+ "accepted": 3,
+ "commits": 0,
+ "gets": 2,
+ "conflicts": 0,
+ "budget_rejections": 1,
+ "expired": 0,
+ "releases": 2,
+ "ingress_prefix_copy_bytes": 0,
+ "borrowed_output_bytes": 1048586,
+ "server_structure_bytes": 40848
+ },
+ "fixed_idle_rss_kib": 1520,
+ "source_idle_rss_kib": 1552,
+ "fixed_after_large_rss_kib": 1648,
+ "source_after_large_rss_kib": 1680,
+ "fixed_peak_rss_kib": 2144,
+ "source_peak_rss_kib": 1680,
+ "fixed_peak_rss_limit_kib": 4096,
+ "fixed_sha256": "1999ad534e9091fbaca096402ba2fbeaeb92c9fb4d4150cacaf309e9a9cd9555",
+ "source_sha256": "1d4e858f18e7cea6df263e2d716898ba7a15b966ecda7e1145b21b80f8fe8f88"
+}
diff --git a/prototypes/connections/results/2026-09-24-posix-idle/package.json b/prototypes/connections/results/2026-09-24-posix-idle/package.json
new file mode 100644
index 0000000..5085bdd
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-posix-idle/package.json
@@ -0,0 +1,14 @@
+{
+ "archive_sha256": "47f8a4943187edc3733f5900790d5c240d25e2042a0b6c3567eb5da2ece68dd1",
+ "archive_bytes": 32346,
+ "selected_hosts": [
+ "pure-edit-fixed",
+ "pure-connections-fixed"
+ ],
+ "checks": [
+ "relocated archive has only declared files and every file hash matches",
+ "relocated parser-free runner creates and restores a document",
+ "relocated parser-free runner performs revision-checked edits",
+ "relocated parser-free HTTP host and CLI share the document"
+ ]
+}
diff --git a/prototypes/connections/results/2026-09-24-posix-idle/pure-document-fixed-http-linux-aarch64.tar.gz b/prototypes/connections/results/2026-09-24-posix-idle/pure-document-fixed-http-linux-aarch64.tar.gz
new file mode 100644
index 0000000..8b50236
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-posix-idle/pure-document-fixed-http-linux-aarch64.tar.gz
Binary files differ
diff --git a/prototypes/connections/results/2026-09-24-posix-idle/reproducible-comparison.json b/prototypes/connections/results/2026-09-24-posix-idle/reproducible-comparison.json
new file mode 100644
index 0000000..7548186
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-posix-idle/reproducible-comparison.json
@@ -0,0 +1,21 @@
+{
+ "profile": "idle-http-host-poll-syscalls",
+ "observation_seconds": 1.25,
+ "before": {
+ "poll_calls": 25,
+ "timeout_values_ms": [
+ 50
+ ],
+ "trace_excerpt": "ppoll([{fd=3, events=POLLIN}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}], 9, {tv_sec=0, tv_nsec=50000000}, NULL, 0) = 0 (Timeout)\nppoll([{fd=3, events=POLLIN}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}], 9, {tv_sec=0, tv_nsec=50000000}, NULL, 0) = 0 (Timeout)\nppoll([{fd=3, events=POLLIN}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}], 9, {tv_sec=0, tv_nsec=50000000}, NULL, 0) = 0 (Timeout)\nppoll([{fd=3, events=PO",
+ "binary_sha256": "7dd0010fa6d6024afa2fe35d57a4c73f33ac632e732616ac8f8853d7b22d79b3"
+ },
+ "after": {
+ "poll_calls": 1,
+ "timeout_values_ms": [
+ -1
+ ],
+ "trace_excerpt": "ppoll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}], 10, NULL, NULL, 0) = ? ERESTARTNOHAND (To be restarted if no handler)\n--- SIGTERM {si_signo=SIGTERM, si_code=SI_USER, si_pid=941369, si_uid=1000} ---\n",
+ "binary_sha256": "1999ad534e9091fbaca096402ba2fbeaeb92c9fb4d4150cacaf309e9a9cd9555"
+ },
+ "deadline_driven_idle_wait": "pass"
+}
diff --git a/prototypes/connections/results/2026-09-24-posix-idle/service-scale.json b/prototypes/connections/results/2026-09-24-posix-idle/service-scale.json
new file mode 100644
index 0000000..c1396ab
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-posix-idle/service-scale.json
@@ -0,0 +1,62 @@
+{
+ "profile": "document-app-many-objects-concurrent-clients",
+ "documents_per_variant": 1024,
+ "clients": 8,
+ "body_bytes": 8192,
+ "operations_per_variant": 4096,
+ "server_budget_bytes": 1048576,
+ "peak_rss_limit_kib": 4096,
+ "same_final_documents": "pass",
+ "fixed": {
+ "binary_sha256": "1999ad534e9091fbaca096402ba2fbeaeb92c9fb4d4150cacaf309e9a9cd9555",
+ "document_digest": "e54baed00186fb020edbbcd407d86471c136287de346e3386ce52d16883e488b",
+ "stored_objects": 1024,
+ "stored_file_bytes": 8413184,
+ "fresh_cli_restore_samples": 4,
+ "idle_rss_kib": 1504,
+ "peak_rss_kib": 1680,
+ "stats": {
+ "active": 0,
+ "retained_payload_bytes": 0,
+ "peak_retained_payload_bytes": 49185,
+ "payload_budget": 1048576,
+ "peak_connections": 8,
+ "accepted": 4096,
+ "commits": 2048,
+ "gets": 2048,
+ "conflicts": 0,
+ "budget_rejections": 0,
+ "expired": 0,
+ "releases": 4096,
+ "ingress_prefix_copy_bytes": 326623,
+ "borrowed_output_bytes": 25166848,
+ "server_structure_bytes": 40848
+ }
+ },
+ "source": {
+ "binary_sha256": "1d4e858f18e7cea6df263e2d716898ba7a15b966ecda7e1145b21b80f8fe8f88",
+ "document_digest": "e54baed00186fb020edbbcd407d86471c136287de346e3386ce52d16883e488b",
+ "stored_objects": 1024,
+ "stored_file_bytes": 8413184,
+ "fresh_cli_restore_samples": 4,
+ "idle_rss_kib": 1552,
+ "peak_rss_kib": 1712,
+ "stats": {
+ "active": 0,
+ "retained_payload_bytes": 0,
+ "peak_retained_payload_bytes": 49168,
+ "payload_budget": 1048576,
+ "peak_connections": 8,
+ "accepted": 4096,
+ "commits": 2048,
+ "gets": 2048,
+ "conflicts": 0,
+ "budget_rejections": 0,
+ "expired": 0,
+ "releases": 4096,
+ "ingress_prefix_copy_bytes": 366236,
+ "borrowed_output_bytes": 25166848,
+ "server_structure_bytes": 41528
+ }
+ }
+}
diff --git a/prototypes/connections/results/2026-09-24-posix-idle/source-profile.json b/prototypes/connections/results/2026-09-24-posix-idle/source-profile.json
new file mode 100644
index 0000000..d5795da
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-posix-idle/source-profile.json
@@ -0,0 +1,32 @@
+{
+ "passed": true,
+ "failures": [],
+ "profile": "linux-aarch64-gcc14-default-document-hosts",
+ "scope": "Review thresholds for release-built default CLI and HTTP adapter on the recorded Linux AArch64/GCC 14 toolchain. These section sizes exclude shared libc, heap, stack, mapped files, kernel buffers, and optional GTK/TLS hosts. Any failure requires a cost review, not automatic relaxation.",
+ "budget_sha256": "8b1eb0dd4844757705c24a0674142e76d9ee83fdce80a841e87a08e757f1183d",
+ "platform": "Linux-6.18.39+rpt-rpi-2712-aarch64-with-glibc2.41",
+ "binaries": {
+ "pure-edit": {
+ "sections": {
+ "text": 35807,
+ "data": 944,
+ "bss": 16
+ },
+ "needed": [
+ "libc.so.6"
+ ],
+ "sha256": "bce466328ac730ccb7cd22c7a0c4e2960bc94a0f20ac9f036e232bd499521ff7"
+ },
+ "pure-connections": {
+ "sections": {
+ "text": 43778,
+ "data": 1068,
+ "bss": 16
+ },
+ "needed": [
+ "libc.so.6"
+ ],
+ "sha256": "1d4e858f18e7cea6df263e2d716898ba7a15b966ecda7e1145b21b80f8fe8f88"
+ }
+ }
+}