相关疑难解决方法(0)

在Windows 7上使用start/AFFINITY命令设置关联

我正在使用该start /AFFINITY [n] [.exe]命令以指定的亲缘关系启动可执行文件.我有一个带8个处理器的系统(1,2,3,4,5,6,7,8).我想设置进程使用所有奇数处理器(1,3,5,7).我无法弄清楚如何做到这一点,并想知道是否可以使用start命令.如果没有,是否有另一种命令行方式呢?

start命令的帮助不是特别有用:

 AFFINITY    Specifies the processor affinity mask as a hexadecimal number.
             The process is restricted to running on these processors.

             The affinity mask is interpreted differently when /AFFINITY and
             /NODE are combined.  Specify the affinity mask as if the NUMA
             node's processor mask is right shifted to begin at bit zero.
             The process is restricted to running on those processors in
             common between the specified affinity mask and the NUMA node.
             If …
Run Code Online (Sandbox Code Playgroud)

command-line affinity windows-7

20
推荐指数
3
解决办法
6万
查看次数

标签 统计

affinity ×1

command-line ×1

windows-7 ×1