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

Rename cores to workers and set to opimal #46

Merged
merged 2 commits into from
Oct 10, 2023

Conversation

jackos
Copy link
Contributor

@jackos jackos commented Oct 10, 2023

Renamed cores to workers to avoid confusion.

Workers being half the threads appears to be the sweet spot. Achieving 900tk/s on macOS m2 max now with mojo v0.4.0, 0.3.1 without global runtime was running at 700tk/s.

Now we have a separate param for setting number of workers `-j` so no need to change default value = num_cores() // 2
Better to set it on execution via CLI
@tairov tairov merged commit 531121b into tairov:master Oct 10, 2023
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.

2 participants