Exam4Training

Engineer A discovered during a performance test that process P (PD 12345) was constantly migrating on an 8-core processor. To improve the running efficiency of process P, A decided to bind process P to CPU1 and CPU2. Which of the following can be bound? (Multiple choice)

Engineer A discovered during a performance test that process P (PD 12345) was constantly migrating on an 8-core processor. To improve the running efficiency of process P, A decided to bind process P to CPU1 and CPU2. Which of the following can be bound? (Multiple choice)
A . taskset -pc 1-2 12345
B . taskset -p 6 12345
C . numactl –cpubind=0, 1 –membind=0, 1P
D . numactl –cpubind=1, 2 –membind=1

Answer: A-B

Exit mobile version