Skip to content

[Config] Document 'memtx' configuration settings #4038

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

Merged
merged 9 commits into from
Mar 13, 2024
Merged

Conversation

xuniq
Copy link
Contributor

@xuniq xuniq commented Feb 9, 2024

Fixes #4012
Fixes #3509

@xuniq xuniq force-pushed the gh-4012-memtx-config branch from 2cc1028 to ee4d094 Compare February 20, 2024 11:26
@xuniq xuniq force-pushed the gh-4012-memtx-config branch 2 times, most recently from fa05f18 to e7a2d9d Compare March 4, 2024 08:56
@xuniq xuniq requested a review from Gumix March 4, 2024 09:00
@xuniq xuniq requested a review from andreyaksenov March 6, 2024 16:10
Copy link
Contributor

@andreyaksenov andreyaksenov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see my comments below.
One important thing regarding a new option for specifying a number of sorting threads: this option replaces the legacy approach when OpenMP threads are used to parallelize sorting:

https://www.tarantool.io/en/doc/latest/concepts/atomic/thread_model/#supplementary-threads

So, we also need to update this section to using a new option and mention that the value of OMP_NUM_THREADS is still taken into account for backward compatibility (please double check).

@xuniq xuniq force-pushed the gh-4012-memtx-config branch from 81d1268 to 6021bcc Compare March 11, 2024 10:56
@xuniq xuniq force-pushed the gh-4012-memtx-config branch from 6021bcc to d113f81 Compare March 12, 2024 16:29
@xuniq xuniq requested a review from andreyaksenov March 12, 2024 19:12
@xuniq xuniq merged commit 30125ad into latest Mar 13, 2024
@xuniq xuniq deleted the gh-4012-memtx-config branch March 13, 2024 10:56
p7nov pushed a commit that referenced this pull request 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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Config] Document 'memtx' configuration settings new box.cfg parameter memtx_sort_threads
3 participants