-
Notifications
You must be signed in to change notification settings - Fork 730
UTxO-HD release #5918
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days. |
Should we be able to build utxo-hd-9.1.1? Or should we hold off for now? .fatal: Could not parse object 'c09534a2cbaeacf1d49a4a49478ccc61cb49799d'. Note: I'm able to build utxo-hd-9.1 |
I'm sorry, I moved the tips of the branches a bit and maybe I moved the tip of the ouroboros-consensus' |
Just wanted to say great job with utxo-hd. It's looking like my server costs could be cut by half using it. A big help for those smaller struggling pools. You guys are heroes. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days. |
UTxO-HD branch on ouroboros-consensus (IntersectMBO/ouroboros-consensus#1267 + IntersectMBO/ouroboros-consensus#1304) is ready to be merged into main. Before doing so, we will conduct a validation benchmarking run. We need to rebase the UTxO-HD branch on top of the latest node release (10.2.0). The process will be:
|
Branches have been updated to |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days. |
UTxO-HD has been set to be released in node 10.4. Merging of the branches will commence once 10.3 is released. |
I've compiled and am running cardano-node utxo-hd-10.2 on Preview. I see "V2InMemory = true" in the logs when running v10.2. The "utxo-hd-in-depth.md" says: "The UTXO-HD feature provides two backends (V2InMemory and V1LMDB) which can be chosen in cardano-node's configuration file." But I can find nothing on how to do that. The runtime options: --utxos-on-disk, --lmdb-path, both availble in utxo-hd-9.1 seem to have been removed from the current versions. |
You are probably looking for the configuration option to be set in the config file:
In this document you will find more information on how to migrate from a pre-utxo-hd node, and in particular what config options are there. There have been some changes since 10.2 though (the checksum is now a metadata file instead) but the most part of the document technically still applies to the 10.2+utxohd (unofficial) version. Note that 10.3 is bound to be released soon, and soon after that 10.4 will come, with UTxO-HD officially released this time. A cardano-node should be runnable already from branch EDIT: forgot to add the document, here it is: https://github.com/IntersectMBO/ouroboros-consensus/blob/utxo-hd-10.4/docs/website/contents/for-developers/utxo-hd/migrating.md EDIT2: do read the guide! It tells you how to convert snapshots between backends. Otherwise you will have to replay from Genesis! |
Cannot figure out how to build utxo-hd-10.4. Keep getting the following error. utxo-hd-10.2 builds fine and is running very nicely. HEAD is now at 2471621 UTXO-HD I'm fine running utxo-hd-10.2 until final 10.4 is released. Just letting you know about this in case it's an issue. |
So the UTxO-HD branch has some references to commits in other repositories. As we have been merging some of that work, rebasing those branches, re-signing the commits, etc, those commits might have gone lost. I'm in the process of updating the dependencies for the utxo-hd release. I hope to have released cardano-cli and cardano-api by the end of my working day today, and then I can update the node branch to use these new versions. In the meantime you can track the progress towards the release of 10.4 in here #6183, which has sub-issues for the different components. |
UTxO-HD has been merged into master and cardano-node 10.4.0 has been tagged at 91e8d93, pending testing and benchmarking, so do not put it into production yet. |
Uh oh!
There was an error while loading. Please reload this page.
This issue is an aggregate of dangling issues here and there about UTxO-HD, to better reflect the current status of the feature, with updated information.
Current status
The UTxO-HD feature is targeted to be released in node 10.4.
CPU > 85% slots
is drastically increased. Seems like this is an artifact of the analysis. The performance team will look into this.High level description of UTxO-HD and features
UTxO-HD reworks the consensus codebase to decouple the LedgerState from the UTxO set, such that the latter can be stored on the disk therefore lowering the memory consumption of the node. It has two modes of operation: in-memory and on-disk, which use the same API so should be indistinguishable from the node's point of view.
The in-memory mode should work in a very similar way to the current node, with similar performance metrics. The on-disk mode will considerably lower the memory usage of the node at the cost of some performance. This is a tradeoff users will have to consider.
Using the on-disk mode, even a node running on a Raspberry Pi 5 (8GB of RAM) was able to follow the chain.
Currently on-disk uses LMDB underneath. In the long run, the LSM-tree library is being developed to provide a more performant on-disk backend.
In terms of functionality, a UTxO-HD node does not have more functionalities than a normal node.
You can try the feature already by building
cardano-node
from theutxo-hd-10.4
branch. It should work both withcabal
and withnix
.The text was updated successfully, but these errors were encountered: