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

Don't use vdsm core for isolate threads #421

Merged
merged 1 commit into from Jun 14, 2022

Conversation

liranr23
Copy link
Member

@liranr23 liranr23 commented Jun 7, 2022

When allocating CPUs for isolate threads we use the maximum freed
socket. This socket is already without pinned CPUs. With that, isolate
threads thinks these cores are free to use, while they are not.

This patch changes the maximum freed socket to contain every CPU within
it, without dropping taken CPUs.

Change-Id: Ic81d93ecd830cea689a8eea4579d6e728c5b2e04
Bug-Url: https://bugzilla.redhat.com/2094415
Signed-off-by: Liran Rotenberg lrotenbe@redhat.com

@ahadas ahadas added this to the ovirt-4.5.1 milestone Jun 9, 2022
@liranr23
Copy link
Member Author

/ost

@liranr23
Copy link
Member Author

/ost

When allocating CPUs for isolate threads we use the maximum freed
socket. We get all the non-pinned CPUs for this socket. The problem is
that later on we don't filter out cores with pinned CPUs. Now we return
all the CPUs in the socket and that way, when we iterate the cores, we
are able to filter out those with pinned CPUs.

Change-Id: Ic81d93ecd830cea689a8eea4579d6e728c5b2e04
Bug-Url: https://bugzilla.redhat.com/2094415
Signed-off-by: Liran Rotenberg <lrotenbe@redhat.com>
@liranr23
Copy link
Member Author

/ost

@ahadas ahadas merged commit e070095 into oVirt:master Jun 14, 2022
@liranr23 liranr23 deleted the isolate_manual branch June 14, 2022 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants