lnd.conf file tweaking for high-performance hardware #11080
Unanswered
SunnySarahNode
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There is a lot of information on how to optimize the LND client for weak hardware like Raspberry Pi, but there is nothing on how to optimize medium or large nodes for high performance.
Let's assume you have a good server with a powerful CPU, 128 Gb of RAM or more, fast storage units and so on. What would your
lnd.conffile settings be to take full advantage of this configuration?I'm guessing something like (conservative) :
blockcachesize=1000000000-- ~1Gb of RAM, connect to backend less oftengossip.msg-rate-bytes=1000000-- for not collecting gossips in a queuegossip.msg-burst-bytes=2000000-- samegossip.filter-concurrency=10-- or even more?caches.reject-cache-size=100000000-- ~2.5Gb of RAM for speeding up channel updates filtrationcaches.channel-cache-size=40000000-- ~8Gb of RAM for speeding up the response to other nodesThinking of
db.batch-commit-interval=2500ms-- (or more) increase RAM usage, decrease disk i/o, but not sure which backends this applies to and how safe/useful is it.Will there be any benefit from this? What else can I pay attention to?
Glad to hear your thoughts on this.
All reactions