工程师A在一次性能调测中发现,进程P(PID 12345)在一个8核处理器上不断迁移,为了提升进程Р的运行效率,A决定将Р进程绑定到CPu1和 CPU2上,下列可以实现绑定的是()

A.numactl --cpubind=O,1 --membind=0,1 P B.numactl --cpubind=1,2 --membind=1,2 P C.taskset -pc 1-212345 D.taskset -p 6 12345

时间:2023-08-07 21:29:00

相似题目