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

Remove contention on the Gic #202

Merged
merged 2 commits into from
Jul 10, 2024
Merged

Conversation

dgageot
Copy link
Contributor

@dgageot dgageot commented Jun 24, 2024

Instead of locking a single Gic, we move the contention down to the vCPU level.
This gives us better performance for CPU bound tasks.

On a 8 cores M3:

  • Building the Linux Kernel: 7m21s -> 6:58s
  • Building Wasmer: 3m13s -> 2m30s

@slp slp marked this pull request as ready for review June 24, 2024 13:38
@dgageot dgageot force-pushed the remove-contention-gic branch from e15cc13 to 2fc86db Compare June 24, 2024 15:11
dgageot added 2 commits July 2, 2024 16:05
And move it down to each vcpu

Building the Linux Kernel: 7m21s -> 6:58s
  Building Wasmer: 3m13s -> 2m30s

Signed-off-by: David Gageot <david.gageot@docker.com>
Signed-off-by: David Gageot <david.gageot@docker.com>
@dgageot dgageot force-pushed the remove-contention-gic branch from 2fc86db to 7b2bbe2 Compare July 2, 2024 14:07
@dgageot
Copy link
Contributor Author

dgageot commented Jul 2, 2024

Hi!
I've pushed a fix for the linter. Can someone re-trigger the Code Quality jobs, so that I check if something else is missing?
Thanks!

Copy link
Contributor

@slp slp left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@tylerfanelli could you please take another look?

Copy link
Collaborator

@tylerfanelli tylerfanelli left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@slp slp merged commit a0473b3 into containers:main Jul 10, 2024
5 checks passed
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.

3 participants