M1 Testing With MinerX.2 #6852
Replies: 12 comments 1 reply
-
LoggingMinerRun Client
|
Beta Was this translation helpful? Give feedback.
-
Releases2021-07-212021-07-282021-07-29
2021-08-052021-08-12 |
Beta Was this translation helpful? Give feedback.
-
2021.07.24 - Stage ITest Users10 fellows AssignmentSplit lotus main miner and markets service processes, then accept online storage and retrieval deals. Steps
DisclaimerYou don't need to stop your usual dealmaking activities for the testing, however, we do expect you to whitelist and accept deals from the M1 testing clients. If a trade-off is required, we do request that you prioritize the testing deals. What to expectYou can expect storage deals from the M1 client starting today. Deals will be verified deals and the size range is 4GB-32GB. If you don't get any deals, please ping @jennijuju or @dkkapur in the MinerX.2 Slack channel. Risks and MitigationsIf deal-making is not working well with the market service process, you can follow the instruction here to roll back to Known Issues With the RollbackIf a storage deal was made before splitting the market process and a retrieval deal on the data stored after the split - everything works. A Happy testing! |
Beta Was this translation helpful? Give feedback.
-
2021.07.27 - Stage IIRecap From Stage IHuge thanks to @TippyFlitsUK, @boqian-nbai, @Meatball13, and @WillTechMusing for participating in Stage I testing actively, provided valuable feedback on doc and bug reports! With that being said, we are now ready to move to the next stage! Test Users34 fellows AssignmentSplit lotus main miner and markets service processes, then accept online storage and retrieval deals. Steps
DisclaimerYou don't need to stop your usual dealmaking activities for the testing, however, we do expect you to whitelist and accept deals from the M1 testing clients. If a trade-off is required, we do request that you prioritize the testing deals. What to expectYou can expect storage deals from the M1 client starting today. Deals will include both regular and verified deals and the size range is 4GB-32/64GB. If you don't get any deals, please ping @jennijuju or @dkkapur in the MinerX.2 Slack channel. Risks and MitigationsIf deal-making is not working well with the market service process, you can follow the instruction here to roll back to Happy deal making! |
Beta Was this translation helpful? Give feedback.
-
Hello! An update from the Lotus team on upcoming DAG store migrationSeveral early testers noticed that the In
It is worth noting that DAG store migration is mostly asynchronous: we register one shard per deal in the DAG store, and this is quick operation (but it will be limited by throttling directive 2 above). Your markets node will not expose any APIs until the registrations are complete. This is normal. Shards are initialized in the background; it does not block the markets process startup. This is how initialization works:
Garbage collection Every minute, the DAG store's garbage collection will reclaim (= delete) unused transients. That is, transients for shards whose initialization has completed as per above. Deletions will be logged with message: Monitoring the migration
|
Beta Was this translation helpful? Give feedback.
-
Second update on Introducing markets environment variables and flagsWe have made it a lot easier to manage a split miner/market environment. Before, you needed to override the The Lotus CLI now supports the following, analogous to the existing miner and daemon vars and flags:
When splitting miner and markets, we recommend adding
A client configuration that speaks to all nodes remotely:
Furthermore, we have made |
Beta Was this translation helpful? Give feedback.
-
2021.07.29 - Stage IIIRecap From Stage IIThanks to @TippyFlitsUK, @Meatball13 and @BenjenminH, a few dagstore enhancements were identified and are now implemented in m1.3! Learn more about the previous issue and the implemented solution in DAG store migration. Another feedback we got is using the same LOTUS_MINER env var for both miner and market subsystem is confusing anderror-prone , therefore, we are also introducing dedicated markets environment variables and flags in the newer releases! Stage III OverviewGiven the feedbacks we received from the fellows from the previous stages, we decided to break the MinerX.2 group into even more smaller cohorts and test things gradually. So for this stage, we are testing with two cohorts:
Cohort Bleeding-EdgeTest Users5 fellows Assignment
Steps
DisclaimerYou don't need to stop your usual dealmaking activities for the testing, however, we do expect you to whitelist and accept deals from the M1 testing clients. If a trade-off is required, we do request that you prioritize the testing deals. What to expectYou can expect storage deals from the M1 client starting today. Deals will include both regular and verified deals and the size range is 4GB-32/64GB. If you don't get any deals, please ping @jennijuju or @dkkapur in the MinerX.2 Slack channel. Risks and MitigationsIf deal-making is not working well with the market service process, you can follow the instruction here to roll back to Cohort Shipperzcoming soon |
Beta Was this translation helpful? Give feedback.
-
m1.3.4 release notesTag: https://github.com/filecoin-project/lotus/releases/tag/m1.3.4. For miners already running m1 releasesThis release introduces two changes that require action on your side. Prior to upgrading:
After upgrading:
Changelog
[DAGStore]
RootDir = "$LOTUS_HOME/dagstore"
MaxConcurrentIndex = 5
MaxConcurrentReadyFetches = 0
MaxConcurrencyStorageCalls = 100
GCInterval = "1m"
Redesigned dagstore migration logicm1.3.4 replaces the staging Badger store with a new component called dagstore. It is designed to provide higher efficiency and throughput, and reduce the system resource footprint of deal-making processes.
Refer to the dagstore's technical design for more information. Previous m1.x releases used a migration process to register all deals in the dagstore that proved problematic for miners with many deals. Starting with m1.3.4, the migration will register all shards in lazy initialization mode. As deals come in, those shards are fetched and initialized just in time. You can also force initialization using the In our test environments, we found the new migration to progress at a rate of 400-500 shards/deals per second. |
Beta Was this translation helpful? Give feedback.
-
2021.08.09 - Stage IVRecap From Stage IIIFrom Stage III, most of the fellows have upgraded to v1.11.1-rc2 and up and we are seeing a huge improvements in deal making: Miners who have split the market process also have very positive feedback, for example: Since then, we have implemented a new DAG shards registration process which gives the user more control according to their setup and avoids missing Window PoSt due to the CPU usage, most of the work is done and has been introduced in m1.3.4. The highlight being starting with m1.3.4, the migration will register all shards only in lazy initialization mode. Shards are fetched and initialized just in time as the deals come in. For existing storage deal data, shards will be initialized when the first retrieval deal arrives that access that data. After #7010 is resolved, likely in m1.3.5, we will ask miners to try the very user-controllable force initializations to register all shards for existing data. Stage IV OverviewFor this testing stage, we will be focusing on splitting the market system. Test UsersCohort Bleeding-Edge and f099 Assignment
Using M1 discussion for questions and disucssion, create an M1 issue in lotus for bug report and create an issue in filecoin docs for feedbacks on the guides. Steps
DisclaimerYou don't need to stop your usual dealmaking activities for the testing, however, we do expect you to whitelist and accept deals from the M1 testing clients. If a trade-off is required, we do request that you prioritize the testing deals. What to expectYou can expect storage deals from the M1 client starting today. Deals will include both regular and verified deals and the size range is 4GB-32/64GB. If you don't get any deals, please ping @jennijuju or @dkkapur in the MinerX.2 Slack channel. Risks and MitigationsIf deal-making is not working well with the market service process, you can follow the instruction here to roll back to |
Beta Was this translation helpful? Give feedback.
-
m1.3.5 release notesThis is a minor bugfix release. Tag: https://github.com/filecoin-project/lotus/releases/tag/m1.3.5. For miners already running m1 releases (e.g. m1.3.4)This release fixes an issue that led to some deals not being registered in the dagstore during migration. It is safe to trigger migration again with m1.3.5 -- this will not lead to any IO. Any shards that were already registered the first time will simply lead to an inoffensive warning in the log files. Any shards that were not registered the first time will be registered this time. To force the migration with the new version:
Changelog
|
Beta Was this translation helpful? Give feedback.
-
2021.08.11 - Stage VStage V OverviewFor this testing stage, we will invite more fellows to split their market process out of the main miner and work two cohorts to further test the new dagstore migration and initialization tool. Test UsersCohort Bleeding: Edges 6 fellows ReadingsBefore you proceed, make sure you have read:
Communication PlatformIf you hit any blockers or have any questions, leave a comment:
DisclaimerYou don't need to stop your usual dealmaking activities for the testing, however, we do expect you to whitelist and accept deals from the M1 testing clients. If a trade-off is required, we do request that you prioritize the testing deals. What to expectYou can expect storage deals from the M1 client starting today. Deals will include both regular and verified deals and the size range is 4GB-32/64GB. If you don't get any deals, please ping @jennijuju or @dkkapur in the MinerX.2 Slack channel. Risks and MitigationsIf deal-making is not working well with the market service process, you can follow the instruction here to roll back to Cohort Bleeding Edge and Cohort f099Task Assignments
Steps
Cohort ShipperZTask Assignments
Steps
|
Beta Was this translation helpful? Give feedback.
-
LoggingMiner processRun lotus-miner log set-level --system stores debug Markets processRun lotus-miner --call-on-markets log set-level --system dt-impl --system dt-chanmon --system dt_graphsync --system markets --system data_transfer_network --system retrievaladapter --system retrieval --system markets-rtvl-reval --system dagstore debug Clientlotus log set-level --system dt-impl --system dt-chanmon --system dt_graphsync --system markets --system data_transfer_network --system retrieval debug |
Beta Was this translation helpful? Give feedback.
-
Motivation & Goals
With the goal of supporting and enabling much greater online deal-making experience on Filecoin, lotus teams started to work on milestone M1 a few weeks ago. M1 also aimed to reduce the performance impact of the very large and continuously growing Filecoin datastore.
Today, we are ready to share the progress with Filecoin MinerX.2 fellows and start to test the new features, bug fixes, and enhancements. The goal of MinerX.2 M1 testing is to:
By the end of M1, we are expecting a much higher online storage and retrieval deal success rate from Filecoin using lotus.
What’s being built
To support the above goal, the team focused on implementing the following:
To better test and analyze storage and retrieval deal capability on the Filecoin network, the team also build a DealBot for sending out deals and collect success rate and failure reasons.
What’s next
The first iteration of M1 has been tagged as m1.0 this Wednesday. While a tremendous amount of testing has been done internally with the dev teams, potential bugs and further improvements are expected to be discovered throughout the testing. We will split MinerX.2 fellows into different groups to test different components in different stages. Each testing plan and instruction will be shared in its own post on this discussion page. MinerX.2 fellows that are selected for the current stage are expected to upgrade your lotus to a specific tag within 48 hours.
This discussion page will be used to communicate the testing plans and instructions. We will use this discussion for questions(❓) and feedbacks(🤩 ). A slack channel will be created for coordination and sync discussions. Issues should be reported by filing tickets in the lotus repo using the corresponding issue templates: M1 Bug Report For Deal Making and M1 Bug Report For Non Deal Making Issue
To the Filecoin Community
Most of the M1 work that has been well tested is merged into the
master
(dev) branch, and any future improvements will be merged ASAP as well. You can also expect multiple feature releases over the next few weeks, the first one is coming on July 27th and details will be available in the release note. As always, we would love you to try out the new release candidates, enjoy the new features and improvements, and let us know any issue and feedback you have so we can make lotus better together ❤️ .Huge thanks to @magik6k, @raulk, @vyzo , @dirkmc , @aarshkshah1992 , @nonsense , @hannahhoward , @willscott , @Stebalien , @arajasek, @ZenGround0, @coryschwartz , @ognots , @travisperson, @iand , @masih , @mvdan , @jacobheun , @gammazero, @dkkapur and so on for making this happen 💙 .
Beta Was this translation helpful? Give feedback.
All reactions