From d1db24f0e5c3bba583a1f2a9d8a0c9d3fc64a55c Mon Sep 17 00:00:00 2001 From: eunhhu Date: Thu, 1 Oct 2026 09:18:23 +0100 Subject: Measure wires on the sending loop, and a host's threads (028) Five rounds of 1,000 bursts by one wire, four wires, one link and four links: a thread each (966b82f), links on the loop (94e7bb8), wires on it too (5f5603c). Medians: one wire 774k, 782k, 779k sends/s; four wires 629k, 625k, 615k (the same CPU a send); one link 581k to 948k; four links 485k to 811k. A host whose app sends to ten links and ten wires has 24 threads before and 5 after (3 with no output). --- research/experiments/028-one-sending-loop/many.aup | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 research/experiments/028-one-sending-loop/many.aup (limited to 'research/experiments/028-one-sending-loop/many.aup') diff --git a/research/experiments/028-one-sending-loop/many.aup b/research/experiments/028-one-sending-loop/many.aup new file mode 100644 index 0000000..03d2b23 --- /dev/null +++ b/research/experiments/028-one-sending-loop/many.aup @@ -0,0 +1,43 @@ +input ping = message { k: u32 } +output l1 = message { k: u32 } +output l2 = message { k: u32 } +output l3 = message { k: u32 } +output l4 = message { k: u32 } +output l5 = message { k: u32 } +output l6 = message { k: u32 } +output l7 = message { k: u32 } +output l8 = message { k: u32 } +output l9 = message { k: u32 } +output l10 = message { k: u32 } +output w1 = message { k: u32 } +output w2 = message { k: u32 } +output w3 = message { k: u32 } +output w4 = message { k: u32 } +output w5 = message { k: u32 } +output w6 = message { k: u32 } +output w7 = message { k: u32 } +output w8 = message { k: u32 } +output w9 = message { k: u32 } +output w10 = message { k: u32 } +on ping { + send l1 { k: ping.k } + send l2 { k: ping.k } + send l3 { k: ping.k } + send l4 { k: ping.k } + send l5 { k: ping.k } + send l6 { k: ping.k } + send l7 { k: ping.k } + send l8 { k: ping.k } + send l9 { k: ping.k } + send l10 { k: ping.k } + send w1 { k: ping.k } + send w2 { k: ping.k } + send w3 { k: ping.k } + send w4 { k: ping.k } + send w5 { k: ping.k } + send w6 { k: ping.k } + send w7 { k: ping.k } + send w8 { k: ping.k } + send w9 { k: ping.k } + send w10 { k: ping.k } +} -- cgit v1.2.3