Skip to content

Add RFC about TCM open sourcing#1970

Open
aleksei-fedotov wants to merge 13 commits intomasterfrom
add-tcm-rfc
Open

Add RFC about TCM open sourcing#1970
aleksei-fedotov wants to merge 13 commits intomasterfrom
add-tcm-rfc

Conversation

@aleksei-fedotov
Copy link
Copy Markdown
Contributor

Please read the RFC from this PR.


2. /Library/

This number reflects the version of the binary. It consists of three numbers: =major=, =minor=,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Shouldn't be mentioned that this is only for Linux and for Windows binaries are not versioned?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Changed to library to avoid confusion with the naming of executable files.

number of available cores.
- *Load imbalance*: Some cores may be idle while others are overloaded due to poor resource
distribution.
- *Performance degradation*: The overall application performance suffers despite individual
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Isn't this mostly covered by the three previous points. The reason why the individual components perform well in isolation but not together is due to resource contention, oversubscription or load imbalance. So maybe you can remove this point.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think you are right. Removed.

@akukanov akukanov added the RFC label Mar 2, 2026
Comment on lines +58 to +63
Since Thread Composability Manager provides a general interface to consult on CPU utilization and
allows any threading framework to get recommendations on the use of CPU resources, the proposal is
to make the TCM more available so that everyone interested can leverage its use and make their
parallel runtime composable with oneTBB and Intel's OpenMP now, and with more and more threading
runtimes in the future, allowing users to use those parallel runtimes in which they are fluent the
most and/or which fit computations the best.
Copy link
Copy Markdown
Contributor

@vossmjp vossmjp Mar 10, 2026

Choose a reason for hiding this comment

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

I'd suggest also breaking it into two or more sentences since its rather long, which probably make its difficult to read.

Suggested change
Since Thread Composability Manager provides a general interface to consult on CPU utilization and
allows any threading framework to get recommendations on the use of CPU resources, the proposal is
to make the TCM more available so that everyone interested can leverage its use and make their
parallel runtime composable with oneTBB and Intel's OpenMP now, and with more and more threading
runtimes in the future, allowing users to use those parallel runtimes in which they are fluent the
most and/or which fit computations the best.
Since Thread Composability Manager provides a general interface to consult on CPU utilization and
allows any threading framework to get recommendations on the use of CPU resources, the proposal is
to make the TCM more available so that everyone interested can use it. Integration with TCM will make a
parallel runtime more composable with oneTBB and Intel's OpenMP now, and possibly more threading
runtimes in the future. Users will then have more choice to use the parallel runtimes in which they are
fluent and that best fit their computations, while still creating composable parallelism.

Copy link
Copy Markdown
Contributor

@akukanov akukanov left a comment

Choose a reason for hiding this comment

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

The proposal now looks good to go; the suggestions below are not critical.

Comment on lines +63 to +64
To avoid confusion about whether a particular patch, issue or any other repository activity is
related to oneTBB or TCM project, '[TCM]' prefix will be used to mark TCM activities.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Does it make sense to also add a special label for TCM related "records" in the repo? The prefix is still needed for commit messages, so I am not sure if adding a label will be useful or not so much.

akukanov
akukanov previously approved these changes Mar 27, 2026
Copy link
Copy Markdown
Contributor

@akukanov akukanov left a comment

Choose a reason for hiding this comment

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

No more questions from me at this point.

vossmjp
vossmjp previously approved these changes Mar 27, 2026
Copy link
Copy Markdown
Contributor

@vossmjp vossmjp left a comment

Choose a reason for hiding this comment

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

Looks good to me.

dnmokhov
dnmokhov previously approved these changes Mar 31, 2026
Copy link
Copy Markdown
Contributor

@dnmokhov dnmokhov left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Contributor

@isaevil isaevil left a comment

Choose a reason for hiding this comment

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

Since there are enough of approvals, let's fix the spelling and merge?

1. User does not specify anything explicit about build of TCM:
- TCM dependencies are met: TCM is built.
- TCM dependencies are not met: A message about not able to build TCM appears on the screen,
futher configuration and building of other targets continues.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
futher configuration and building of other targets continues.
further configuration and building of other targets continues.

@aleksei-fedotov aleksei-fedotov dismissed stale reviews from dnmokhov, vossmjp, and akukanov via c7b2347 March 31, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants