-
Notifications
You must be signed in to change notification settings - Fork 465
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
Adding lock to reduce the memory pressure while synching #1104
Adding lock to reduce the memory pressure while synching #1104
Commits on Sep 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for beb5b58 - Browse repository at this point
Copy the full SHA beb5b58View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89ef5fd - Browse repository at this point
Copy the full SHA 89ef5fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c87e99 - Browse repository at this point
Copy the full SHA 1c87e99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56a7c94 - Browse repository at this point
Copy the full SHA 56a7c94View commit details -
Configuration menu - View commit details
-
Copy full SHA for 923c34d - Browse repository at this point
Copy the full SHA 923c34dView commit details -
bugfix: Locking updatePhCacheFromDom and computing pending header
Protecting the async updates
Configuration menu - View commit details
-
Copy full SHA for aabe04f - Browse repository at this point
Copy the full SHA aabe04fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae4e089 - Browse repository at this point
Copy the full SHA ae4e089View commit details -
bugfix: UpdateDom no longer calculates, uses the pendingHeader given by
the zone UpdateDom takes zone pending header as input rather than entropy
Configuration menu - View commit details
-
Copy full SHA for ade2813 - Browse repository at this point
Copy the full SHA ade2813View commit details -
Modified the CalcDifficulty controller to use k factor that changes w…
…ith log of Difficutly (i.e bits)
Configuration menu - View commit details
-
Copy full SHA for 0d0da91 - Browse repository at this point
Copy the full SHA 0d0da91View commit details -
GasLimit adjustment steps for the Testnet
GasLimit ceiling target changes based on 4 steps Each step is 150,000 blocks (i.e expected blocks for 3 weeks) GasCeil is changed to 110M because it is enough to accomodate the 1700 testnet target These changes are for the testnet and probably is not a long term controller
Configuration menu - View commit details
-
Copy full SHA for c45b913 - Browse repository at this point
Copy the full SHA c45b913View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff5b5e1 - Browse repository at this point
Copy the full SHA ff5b5e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ac0cda - Browse repository at this point
Copy the full SHA 8ac0cdaView commit details -
Added minimum threshold deltaS into CalcOrder
From simulations and rigorous testing we have understood that there is stable operating point on just using Stoichastic or using the threshold to determine Dom blocks in a Synchronous setting To be able to handle the adverse network scenarios and testnet environment and malicious miners the correct solution is mixture of having threshold to counteract malicious miners getting lucky and having a increased difficulty threshold to find a dom block
Configuration menu - View commit details
-
Copy full SHA for 2f2a0f8 - Browse repository at this point
Copy the full SHA 2f2a0f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d32a65 - Browse repository at this point
Copy the full SHA 7d32a65View commit details -
bugfix: Added lock around block writes to reduce memory pressure
Since downloader insert is an asynchronous process, writing thousands of large blocks into the DB at the same time is very memory intensive. Adding this lock will make sure that only one block is written at a time and from the testing in the garden environment this has shown improved performance in memory use while syncing
Configuration menu - View commit details
-
Copy full SHA for 8d8c4d2 - Browse repository at this point
Copy the full SHA 8d8c4d2View commit details