Execution-resource benchmarks and security exploits¶
Summary¶
Adds cores×threads-per-core competitive sweep CSV, SIMD intrathread labeling, lic resource flags (--cores, --threads-per-core), and execution_exploits CI gates for oversubscribe and memory-bomb caps.
Agent continuation¶
- Read
benchmarks/harness/execution_resource_sweep.py,benchmarks/competitive/registry.toml(execution_resource_sweeptrack). - Run
./scripts/build.shthenpython3 benchmarks/harness/execution_resource_sweep.py --smokeand./li-tests/run_all.sh execution_exploits. - Next: stack PR on #206; full sweep on Linux CI (
bench.py --tier 6). - Blocked: none.
Changed¶
compiler/common/resource_options.{hpp,cpp}—--cores,--threads-per-core, cap host cores,effective_jobsmemory capcompiler/lic/main.cpp— wire flags oncheck/buildbenchmarks/harness/execution_resource_sweep.py,bench.py --tier 6,bench_toolchain.py --resource-sweepbenchmarks/runtime_refs/reduce_parallel/—li_native,cpp_omp,cpp_pthreadli-tests/execution_exploits/run.sh,scripts/ci-security.sh,run_all.shbenchmarks/competitive/registry.toml—execution_resource_sweepecosystem
Not changed¶
- Tier-0 energy/invariant rows (
bench.py --tier 0/stability.pythresholds) - Li parallel codegen for reduce (li_native uses serial ref kernel)
Breaking¶
N/A — additive harness and CLI flags.
Security¶
execution_exploits:--cores=999999capped, negative--threads/--coresrejected,--jobsmemory bomb capped viaeffective_jobs
Performance¶
benchmarks/results/execution_resource_sweep.csv— wall_s, peak_rss_mb, speedup, efficiency = speedup/(cores×tpc)
Downstream¶
li-langverse/benchmarksdashboard may ingestexecution_resource_sweep.csvwhen published