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

Use fewer threads when running openroad. #366

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

Conversation

grebe
Copy link
Contributor

@grebe grebe commented Nov 7, 2024

Don't overwhelm remote executors (which may be running multiple actions) with too many threads. Just use one unless the job is required to be run locally, in which case we expect an action will often have the entire system to itself.

Don't overwhelm remote executors (which may be running multiple actions) with too many threads. Just use one unless the job is required to be run locally, in which case we expect an action will often have the entire system to itself.
@mikesinouye
Copy link
Collaborator

/gcbrun

# locally, in which case we expect an action will often have the entire
# system to itself.
num_threads = "1"
if "no-remote-exec" in execution_requirements:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Will this trigger if you run with --strategy=OpenROAD=local?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It looks like setting the strategy still keeps num_threads=1 :/

Might be better to have num_threads be a parameter to override. WDYT?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Could we check the opposite? i.e. is this running remotely?

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.

3 participants