Skip to content

new box.cfg parameter memtx_sort_threads #3509

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

Closed
TarantoolBot opened this issue Jun 9, 2023 · 1 comment · Fixed by #4038
Closed

new box.cfg parameter memtx_sort_threads #3509

TarantoolBot opened this issue Jun 9, 2023 · 1 comment · Fixed by #4038
Assignees
Labels
3.0 config reference [location] Tarantool manual, Reference part

Comments

@TarantoolBot
Copy link
Collaborator

TarantoolBot commented Jun 9, 2023

Related dev. issue(s): tarantool/tarantool#3389
Parent doc. issue: #4012

Product: Tarantool
Since: 3.0
Root document:

SME: @ nshy

Details

The parameter sets the number of threads used to sort keys of secondary
indexes on loading memtx database. The parameter cannot be changed
dynamically (as it does not make sense).

Maximum value is 256, minimum is 1. Default is to use all available cores.

Usage example:

box.cfg{memtx_sort_threads=4}

Requested by @ nshy in tarantool/tarantool@4f617b7.

@alyapunov
Copy link

Note that we still support OMP_NUM_THREADS environment variable, just for backward compatibility.

@andreyaksenov andreyaksenov self-assigned this Aug 10, 2023
@andreyaksenov andreyaksenov added config reference [location] Tarantool manual, Reference part labels Aug 10, 2023
@andreyaksenov andreyaksenov removed their assignment Aug 11, 2023
@xuniq xuniq self-assigned this Feb 12, 2024
@xuniq xuniq closed this as completed in 30125ad Mar 13, 2024
p7nov pushed a commit that referenced this issue Apr 4, 2024
- Add `memtx` section in the Configuration reference
- Add `memtx_sort_threads` option to the box.cfg reference and updated box.cfg reference
- Add `In-memory storage` topic to the Configuration section
- Update `Supplementary threads` topic and added a note about OpenMP threads deprecation
- Fix some build warnings

Fixes #4012
Fixes #3509
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.0 config reference [location] Tarantool manual, Reference part
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants