Skip to content
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

Change fanout to scale by std::log rather than std::sqrt #4835

Merged
merged 2 commits into from
Jan 30, 2025

Conversation

clemahieu
Copy link
Contributor

No description provided.

@gr0vity-dev-bot
Copy link

gr0vity-dev-bot commented Jan 27, 2025

Test Results for Commit 0b0decc

Pull Request 4835: Results
Overall Status:

Test Case Results

  • 5n4pr_conf_10k_bintree: PASS (Duration: 109s)
  • 5n4pr_conf_10k_change: PASS (Duration: 132s)
  • 5n4pr_conf_change_dependant: PASS (Duration: 129s)
  • 5n4pr_conf_change_independant: PASS (Duration: 130s)
  • 5n4pr_conf_send_dependant: PASS (Duration: 113s)
  • 5n4pr_conf_send_independant: PASS (Duration: 139s)
  • 5n4pr_rocks_10k_bintree: PASS (Duration: 115s)
  • 5n4pr_rocks_10k_change: PASS (Duration: 151s)

Last updated: 2025-01-30 19:21:45 UTC

@qwahzi qwahzi added this to the V28 milestone Jan 28, 2025
@pwojcikdev
Copy link
Contributor

I rebased it on top of develop after merging #4837 which seems to have fixed it. Looks good.

@pwojcikdev pwojcikdev merged commit 568ab07 into nanocurrency:develop Jan 30, 2025
26 checks passed
@@ -430,7 +430,8 @@ std::deque<std::shared_ptr<nano::transport::channel>> nano::network::list_non_pr
// Simulating with sqrt_broadcast_simulate shows we only need to broadcast to sqrt(total_peers) random peers in order to successfully publish to everyone with high probability
Copy link
Contributor

@not-Ian not-Ian Jan 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this comment out of date after this change?

sqrt(total_peers) should now be log(total_peers), no?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Merged / V28.0
Development

Successfully merging this pull request may close these issues.

5 participants