<p></p>
<blockquote>
<p>I do notice much more disk activity now as it is persisting to disk rather than remaining in memory</p>
</blockquote>
<p>The persistence of dao state has not changed. Only that we do not keep the daostate used for persisting in memory longer as needed.</p>
<p>I have started a full sync from genesis with a full node, still missing 10 000 blocks, but so far looks all as expected.</p>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/sqrrm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sqrrm">@sqrrm</a> From my side you can merge it. Other potential optimizations can be done later.</p>
<p>Observations from dao parsing performance:<br>
Initially parsing is very fast (10ms), getting the block via rpc is rather slow (about 1 sec.) - what I remember it was faster with the pre-segwit rpc library, but not sure. But a much bigger improvement might be done to request not each single block but a batch.<br>
Over time when dao state gets bigger parsing gets slower as well. Not at block 680000 its about 200-300 ms, though that might be also because of the very long running process (runs since > 48 h). But there is likely more optimization options in that area - usually to add a hashmap as cache to avoid iterations.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/pull/5609#issuecomment-877418997">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNRMCVNIMEK6IC5NVCTTW5HB5ANCNFSM475F7XPA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNQXFYBNLIXV3MRXA4LTW5HB5A5CNFSM475F7XPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGRGFT5I.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/5609#issuecomment-877418997",
"url": "https://github.com/bisq-network/bisq/pull/5609#issuecomment-877418997",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>