Skip to content

Add cpuset pinning and dynamic WG bucket count#1

Draft
amiller wants to merge 1 commit intotokscope-xordi-perffrom
staging-enclave-fixes
Draft

Add cpuset pinning and dynamic WG bucket count#1
amiller wants to merge 1 commit intotokscope-xordi-perffrom
staging-enclave-fixes

Conversation

@amiller
Copy link
Copy Markdown

@amiller amiller commented Jan 27, 2026

These are two changes we made during staging that don't hurt.

The CPUSET CPUs is useful for limiting the total amount of CPUs, which is useful for bnechamrking on the staging server but not relevant for prod anyway. So it's instrumentation

  • BROWSER_CPUSET_CPUS env var for CPU pinning during profiling

The wireguard buckets were hardcoded previously, it's easier not to have to need all 10

  • WIREGUARD_BUCKET_COUNT env var (was hardcoded to 10)

- BROWSER_CPUSET_CPUS env var for CPU pinning during profiling
- WIREGUARD_BUCKET_COUNT env var (was hardcoded to 10)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@amiller amiller marked this pull request as ready for review January 27, 2026 23:55
@amiller amiller marked this pull request as draft January 27, 2026 23:56
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.

1 participant