Re: [閒聊] 分享SP2004(orthos)多核心燒機批次檔
先感謝版主把這小東西加到至底
還有版友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 terry0201@gmail.com
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
推
03/29 13:48, , 1F
03/29 13:48, 1F
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 4 之 4 篇):
OverClocking 近期熱門文章
PTT數位生活區 即時熱門文章