core-lightning/gossipd
Rusty Russell 891ee20a59 tools/bench-gossipd.sh: rough benchmark for gossipd and the million channels project
Outputs CSV.  We add some stats for load times in developer mode, so we can
easily read them out.

peer_read_all_sec doesn't work, since we seem to reject about half the
updates for having bad signatures.  It's also very slow...

routing fails, for unknown reasons, so that failure is ignored in routing_sec.

Results from 5 runs, min-max(mean +/- stddev):
	store_load_msec,vsz_kb,store_rewrite_sec,listnodes_sec,listchannels_sec,routing_sec,peer_write_all_sec
	39275-44779(40466.8+/-2.2e+03),2899248,41.010000-44.970000(41.972+/-1.5),2.280000-2.350000(2.304+/-0.025),49.770000-63.390000(59.178+/-5),33.310000-34.260000(33.62+/-0.35),42.100000-44.080000(43.082+/-0.67)

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>



Header from folded patch 'fixup!_tools-bench-gossipd.sh__rough_benchmark_for_gossipd_and_the_million_channels_project-2.patch':

fixup! tools/bench-gossipd.sh: rough benchmark for gossipd and the million channels project

Suggested-by: @niftynei



Header from folded patch 'fixup!_tools-bench-gossipd.sh__rough_benchmark_for_gossipd_and_the_million_channels_project-1.patch':

fixup! tools/bench-gossipd.sh: rough benchmark for gossipd and the million channels project

MCP filename change.



Header from folded patch 'tools-bench-gossipd.sh__dont_print_csv_by_default.patch':

tools/bench-gossipd.sh: don't print CSV by default.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>



Header from folded patch 'fixup!_tools-bench-gossipd.sh__rough_benchmark_for_gossipd_and_the_million_channels_project.patch':

fixup! tools/bench-gossipd.sh: rough benchmark for gossipd and the million channels project

Make shellcheck happy.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-04-08 04:41:43 +00:00
..
test gossipd: preserve unannounced channels across store compaction. 2019-04-08 04:41:43 +00:00
broadcast.c gossipd: wire up memleak detection. 2018-11-22 05:15:42 +00:00
broadcast.h gossipd: wire up memleak detection. 2018-11-22 05:15:42 +00:00
gossip_constants.h gossipd: split wire types into msgs from lightningd and msgs from per-peer daemons 2018-11-21 00:36:31 +00:00
gossip_peerd_wire.csv daemons: use amount_msat/amount_sat in all internal wire transfers. 2019-02-21 08:01:37 +00:00
gossip_store.c tools/bench-gossipd.sh: rough benchmark for gossipd and the million channels project 2019-04-08 04:41:43 +00:00
gossip_store.csv daemons: use amount_msat/amount_sat in all internal wire transfers. 2019-02-21 08:01:37 +00:00
gossip_store.h dev-compact-store-gossip: specific RPC so we can test gossip_store rewrite. 2019-04-08 04:41:43 +00:00
gossip_wire.csv dev-compact-store-gossip: specific RPC so we can test gossip_store rewrite. 2019-04-08 04:41:43 +00:00
gossipd.c dev-compact-store-gossip: specific RPC so we can test gossip_store rewrite. 2019-04-08 04:41:43 +00:00
Makefile common/amount: new types struct amount_msat and struct amount_sat. 2019-02-21 00:44:57 +00:00
routing.c gossipd: store local channel updates across restart, even if unannounced. 2019-04-08 04:41:43 +00:00
routing.h gossipd: dev option to allow unknown channels. 2019-04-08 04:41:43 +00:00