Skip to content
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

ARC: boards: enable ticket spinlock on nsim SMP board #63218

Conversation

evgeniy-paltsev
Copy link
Collaborator

Enable ticket spinlock on nsim SMP board as they are naturally vulnerable to spinlock unfairness due to SMP nSIM way of work.

NOTE: this require #61541 to be merged first.

@evgeniy-paltsev evgeniy-paltsev added this to the v3.5.0 milestone Sep 28, 2023
@evgeniy-paltsev evgeniy-paltsev marked this pull request as ready for review October 3, 2023 17:35
@evgeniy-paltsev evgeniy-paltsev added the DNM This PR should not be merged (Do Not Merge) label Oct 3, 2023
@zephyrbot zephyrbot added the platform: Synopsys Synopsys label Oct 3, 2023
@ruuddw
Copy link
Member

ruuddw commented Oct 3, 2023

I still see discussion on the benefits vs drawbacks of the ticket spinlocks, do we have some proofpoint on the need of this for scaling SMP to larger number of CPUs?
@evgeniy-paltsev: as this depends on that PR, it would be good if you can provide some argumentation or point to additional tests in that PR discussion.

@fabiobaltieri fabiobaltieri removed this from the v3.5.0 milestone Oct 17, 2023
@evgeniy-paltsev evgeniy-paltsev removed the DNM This PR should not be merged (Do Not Merge) label Nov 5, 2023
Enable ticket spinlock on nsim SMP board as they are
naturally vulnerable to spinlock unfairness due to
SMP nSIM way of work.

Signed-off-by: Eugeniy Paltsev <[email protected]>
Signed-off-by: Evgeniy Paltsev <[email protected]>
@evgeniy-paltsev evgeniy-paltsev force-pushed the rff-nsim-enable-ticket-spinlock-v0wq branch from 3c4c87a to f3a007c Compare November 5, 2023 13:11
@evgeniy-paltsev
Copy link
Collaborator Author

Hi @ruuddw,

the ticket spinlock support was merged so, please re-review.

Thanks!

@carlescufi carlescufi merged commit 85256a2 into zephyrproject-rtos:main Nov 6, 2023
@abrodkin abrodkin added this to the v3.6.0 milestone Jan 25, 2024
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