Skip to content

refactor: improve local development resilience and add SKIP_TUNE#641

Merged
MDA2AV merged 1 commit intoMDA2AV:mainfrom
kevmoo:local_dev
Apr 26, 2026
Merged

refactor: improve local development resilience and add SKIP_TUNE#641
MDA2AV merged 1 commit intoMDA2AV:mainfrom
kevmoo:local_dev

Conversation

@kevmoo
Copy link
Copy Markdown
Contributor

@kevmoo kevmoo commented Apr 26, 2026

  • Make CPU pinning (cpuset-cpus) dynamic based on host core count
  • Add SKIP_TUNE environment variable to bypass sudo-required system tuning
  • Update documentation to reflect new dynamic defaults and configuration options

- Make CPU pinning (cpuset-cpus) dynamic based on host core count
- Add SKIP_TUNE environment variable to bypass sudo-required system tuning
- Update documentation to reflect new dynamic defaults and configuration options
@MDA2AV
Copy link
Copy Markdown
Owner

MDA2AV commented Apr 26, 2026

Typically for local development you'd want to use the lite script version benchmark-lite.sh, it doesn't pin to specific cores and uses a much lower connection count. The system_tune is still called though, that can be adjusted.

Wouldn't it be better to extend the lite version or do you see a need to be able to run the original benchmark script locally too?

Repository owner deleted a comment from github-actions Bot Apr 26, 2026
Repository owner deleted a comment from github-actions Bot Apr 26, 2026
@kevmoo
Copy link
Copy Markdown
Contributor Author

kevmoo commented Apr 26, 2026

It's nice to be able to debug high connection counts (like for race conditions) without crashing on a 16-core laptop.

The main entry point should "just work" for everyone, I think!

@MDA2AV MDA2AV merged commit 9ed1a8f into MDA2AV:main Apr 26, 2026
@kevmoo kevmoo deleted the local_dev branch April 26, 2026 22:07
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