作者terry0201 (飞翔的大阪)
看板OverClocking
标题Re: [闲聊] 分享SP2004(orthos)多核心烧机批次档
时间Sun Mar 28 20:55:15 2010
先感谢版主把这小东西加到至底
还有版友r51303解答了XP不能使用的问题:
: 关於 /AFFINITY的参数,XP指令集本身没有支援不能使用
: 唯一的方式只能自己设置,或是用imagecfg设定(还需要研究)
batch档做了一点更新
1. 增加1个及6个thread的支援
2. 修正2个threads的指令(原本只是直接启动orthos,现在还是把相关性写进去)
打包好的档案(含orthos)在这里
http://www.badongo.com/file/21592350
同样还是附上原始码作参考:
@echo off
title by
[email protected]
set /p thread=number of threads?
if %thread% == 1 (
start /LOW /AFFINITY 1 ORTHOS.exe
goto end
)
if %thread% == 2 (
start /LOW /AFFINITY 3 ORTHOS.exe
goto end
)
if %thread% == 3 (
start /LOW /AFFINITY 3 ORTHOS.exe
start /LOW /AFFINITY 4 ORTHOS.exe
goto end
)
if %thread% == 4 (
start /LOW /AFFINITY 3 ORTHOS.exe
start /LOW /AFFINITY C ORTHOS.exe
goto end
)
if %thread% == 6 (
start /LOW /AFFINITY 03 ORTHOS.exe
start /LOW /AFFINITY 0C ORTHOS.exe
start /LOW /AFFINITY 30 ORTHOS.exe
goto end
)
if %thread% == 8 (
start /LOW /AFFINITY 03 ORTHOS.exe
start /LOW /AFFINITY 0C ORTHOS.exe
start /LOW /AFFINITY 30 ORTHOS.exe
start /LOW /AFFINITY C0 ORTHOS.exe
goto end
)
if %thread% == 12 (
start /LOW /AFFINITY 003 ORTHOS.exe
start /LOW /AFFINITY 00C ORTHOS.exe
start /LOW /AFFINITY 030 ORTHOS.exe
start /LOW /AFFINITY 0C0 ORTHOS.exe
start /LOW /AFFINITY 300 ORTHOS.exe
start /LOW /AFFINITY C00 ORTHOS.exe
goto end
)
echo not support setting for target threads number!
pause
:end
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.113.241.69
1F:推 gtypist :推 方便好用。 03/29 13:48