A benchmark harness under src/script/benchmark/alternatives runs the scenarios against Ninlil's container image and writes a results file #92
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
Reference
lantea-one/ninlil#92
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The comparison must be rerunnable by anyone. In-process BenchmarkDotNet classes cannot measure the other servers, so the harness is black-box over the network for every server, Ninlil included.
What changes
New directory
src/script/benchmark/alternatives/:compose.yaml: theninlil-benchnetwork, the fake upstream (#91), a static HTTP server for the block list, and a load-generator image withdnsperffrom Debian's package (Q-PROC-8), pinned by digest. Check whether the installeddnsperfversion supports DoT for S5 and record it.run.sh <target> [--config <id>] [scenario...], which:targets/<target>/configure.sh;results/<date>-<host>/<target>[-<config>].json(metrics, versions, image digests,lscpumodel,uname -r, cpusets per container, the exact commands).The
--configvalue selects a Ninlil configuration from #90's table; this issue implementsN-SQLiteand the plumbing, #94 and #95 add the rest.targets/ninlil/:git.lantea.one/lantea-one/ninlil:<tag>(docker-compose.yml:12-13), the bootstrap administrator from an environment variable, SQLite;configure.shuses the REST API to add the fake upstream as the forwarder and subscribe the block list at its HTTP URL;fixtures/make-blocklist.sh: writes 100,000 names deterministically in the formats the targets need (plain domain list and hosts file).fixtures/make-queries.sh: writes the query files for S1 to S5.fixtures/certs.sh: makes one self-signed certificate for S5.src/script/row mentionsbenchmark/alternatives/.Acceptance
./run.sh ninlil --config N-SQLite S1on a laptop (Small run: one repetition, 10 s) writes a results file whose JSON parses and whose S1 answer check passed. The harness checks one reply per scenario first: A 192.0.2.77 for S1 and S2, the blocked answer for S3.fake-upstreamreports zero queries during S1 after warm-up, proving the cache was hit.src/script/,lint.sh:34).Source
project_alternatives_benchmarks.md("ship the harness and configs in the repo").