How to map a task to a specific CPU core and block any other task on this core?

Multi tool use
up vote
0
down vote
favorite
I wonder if I use taskset
to map a task to specific CPU core, does this also block other task running on this core as well? If not, what is the correct way to do that?
Thanks.
cpu
New contributor
Lei Xun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
up vote
0
down vote
favorite
I wonder if I use taskset
to map a task to specific CPU core, does this also block other task running on this core as well? If not, what is the correct way to do that?
Thanks.
cpu
New contributor
Lei Xun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I wonder if I use taskset
to map a task to specific CPU core, does this also block other task running on this core as well? If not, what is the correct way to do that?
Thanks.
cpu
New contributor
Lei Xun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I wonder if I use taskset
to map a task to specific CPU core, does this also block other task running on this core as well? If not, what is the correct way to do that?
Thanks.
cpu
cpu
New contributor
Lei Xun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Lei Xun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Lei Xun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 5 hours ago
Lei Xun
1
1
New contributor
Lei Xun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Lei Xun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Lei Xun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Lei Xun is a new contributor. Be nice, and check out our Code of Conduct.
Lei Xun is a new contributor. Be nice, and check out our Code of Conduct.
Lei Xun is a new contributor. Be nice, and check out our Code of Conduct.
Lei Xun is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1093398%2fhow-to-map-a-task-to-a-specific-cpu-core-and-block-any-other-task-on-this-core%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
F9Txo ExJmP1c6LER0l3aJ