Установить привязку с помощью команды start / AFFINITY в Windows 7

Я использую команду start / AFFINITY [n] [.exe] , чтобы запустить исполняемый файл с указанным соответствием. У меня есть система с 8 процессорами (1,2,3,4,5,6,7,8). Я хотел бы настроить процесс на использование всех нечетных процессоров (1,3,5,7). Я не могу понять, как это сделать, и хотел бы знать, возможно ли это с помощью команды запуска. Если нет, есть ли альтернативный способ командной строки сделать это?

Помощь для команды запуска не была особенно полезной:

 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 no processors are in common, the process is restricted to
             running on the specified NUMA node.
20
задан bradvido 13 October 2011 в 20:17
поделиться