Skip to content

define conc level by CPU count#807

Merged
bitfaster merged 5 commits into
mainfrom
users/alexpeck/conclevel
Jun 16, 2026
Merged

define conc level by CPU count#807
bitfaster merged 5 commits into
mainfrom
users/alexpeck/conclevel

Conversation

@bitfaster

@bitfaster bitfaster commented May 6, 2026

Copy link
Copy Markdown
Owner

Revert the change made in #692.

Since LFU striped buffer configuration is determined by concurrency level, -1 is not correct when the host machine has many CPU cores.

Instead accept -1 as the default, and internally detect this and convert it to processor count for striped buffer.

@coveralls

coveralls commented May 6, 2026

Copy link
Copy Markdown

Coverage Status

coverage: 99.211% (-0.01%) from 99.224% — users/alexpeck/conclevel into main

@bitfaster bitfaster marked this pull request as ready for review June 16, 2026 20:49
@bitfaster bitfaster merged commit 1633a04 into main Jun 16, 2026
26 of 27 checks passed
@bitfaster bitfaster deleted the users/alexpeck/conclevel branch June 16, 2026 21:33
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