Saturday, 1 September 2018

Please set up your full node servers to log performance data before the stress test

Hi folks. As you know, we're going to be getting a stress test tomorrow. This is a great opportunity to collect performance data on the BCH network. However, if we're not logging data when the test happens, the opportunity will be lost.

I recommend that people configure their full nodes to log extra performance information during the test. Adding debug=bench and logips=1 to your bitcoin.conf will help. Make sure you have NTP installed and running properly on your machines so that your logfile timestamps are accurate. If we can collate a bunch of log files after the event, we can see when blocks arrive at each node and get some idea for how long block propagation takes. Including information about your full node's hardware and software configuration in the collated data will be helpful.

It would also be good to set up monitoring software on your servers to log aggregate bandwidth usage, CPU usage, RAM usage, and disk traffic. Running 'time bitcoin-cli getblocktemplate' at occasional intervals can also provide information that can be useful to miners.

Please chip in with other suggestions for monitoring commands to run. We'll also need volunteers to help with data analysis for various topics, so if you're into that, nominate yourself and tell people what kind of data you want them to collect and how to collect it.

Some questions we might be interested in asking about the stress test:

How many transactions can we get through before things start to bog down? Which parts of the system bog down first? What kind of block propagation latency do we get? How much CPU usage on each node do we get? Do nodes crash? What getblocktemplate latency will we see? Do any miners have their systems configured to generate blocks larger than 8 MB yet? Can block explorers keep up with the load? Will the bottleneck be transaction propagation or block creation? Will mempool size inflate like a balloon? How much of a backlog will we see in the worst case? Will the spam delay real people's transactions, or will the priority systems work well at getting the most important transactions through first? Will mempool synchrony suffer? How efficient will Xthin be? How efficient will Compact Blocks be?

submitted by /u/jtoomim
[link] [comments]

source https://www.reddit.com/r/btc/comments/9byuy5/please_set_up_your_full_node_servers_to_log/

No comments:

Post a Comment