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

Curio Network Optimizaton #11796

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Curio Network Optimizaton #11796

wants to merge 1 commit into from

Conversation

snadrus
Copy link
Contributor

@snadrus snadrus commented Mar 28, 2024

Related Issues

Network-level optimization has not been a priority. Here is a straightforward way we could implement it.

Proposed Changes

CanAccept's end (once hard requirements are met) can include a "soft requirements" section managed by taskhelp.NetworkOptimizer which skips rounds if soft requirements are too few.

Additional Info

Checklist

Before you mark the PR ready for review, please make sure that:

  • Commits have a clear commit message.
  • PR title is in the form of of <PR type>: <area>: <change being made>
    • example: fix: mempool: Introduce a cache for valid signatures
    • PR type: fix, feat, build, chore, ci, docs, perf, refactor, revert, style, test
    • area, e.g. api, chain, state, market, mempool, multisig, networking, paych, proving, sealing, wallet, deps
  • If the PR affects users (e.g., new feature, bug fix, system requirements change), update the CHANGELOG.md and add details to the UNRELEASED section.
  • New features have usage guidelines and / or documentation updates in
  • Tests exist for new functionality or change in behavior
  • CI is green

Copy link
Contributor

@magik6k magik6k left a comment

Choose a reason for hiding this comment

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

I quite like this approach.

Would be nice to ship this initially with some machine-resource-based funcs - e.g. "machine load over 50%" and "machine load over 80%" - then give SPs a config toggle to say "prefer spreading load - less utilized machines accept tasks first" and "prefer consolidating load - more utilized machines accept tasks first" (in the latter more of the cluster can idle/sleep when not needed)

I can see this applied to almost all heavier tasks that aren't latency-sensitive (like winningPoSt which needs to happen in <30s)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants