Author

Topic: Must have tool for multi-gpu/cpu windows miners! (Read 4394 times)

qed
full member
Activity: 196
Merit: 100
Why don't you just use:

Code:
start /affinity 1 poclbm.exe...
newbie
Activity: 38
Merit: 0
I've been using prifinnity. low overhead, can be set on startup, overrides task manager.
full member
Activity: 154
Merit: 100
Eh.

Code:
#include
#include
#include

global $core=0

while 1
$list=processlist("phoenix.exe")
for $i=1 to $list[0][0]
$processhandle=_winapi_openprocess($process_all_access,false,$list[$i][1])
_winapi_setprocessaffinitymask($processhandle,affinitymask($core))
_winapi_closehandle($processhandle)
next
sleep(10)
wend

func affinitymask($c)
return bitor(0,2^int($c))
endfunc

Compile that, and set it to run on startup.
hero member
Activity: 886
Merit: 500
Why you need that ? For me poclbm eats less then 1% CPU.

Not with opencl and multiple GPUs. With 2 GPUs and 2 workers for each (1 backup), I use 100% of my i5-2500k ALL THE TIME. If this works, that'd be AWESOME!
newbie
Activity: 38
Merit: 0
The latest version of GUI Miner has built in affinity options.  Windows 7 64-bit, Cat 11.5 and Stream 2.4 on my rig makes each miner use a "fake" 100% CPU on all cores.  Despite plenty of complaints this bug has still not been fixed in poclbm/phatk/etc.  When I set all my miners to a single core in GUI Miner I use less power and generate less heat (on the remaining cores).

its more a drive bug / feature on ATI's end I believe.
hero member
Activity: 630
Merit: 500
The latest version of GUI Miner has built in affinity options.  Windows 7 64-bit, Cat 11.5 and Stream 2.4 on my rig makes each miner use a "fake" 100% CPU on all cores.  Despite plenty of complaints this bug has still not been fixed in poclbm/phatk/etc.  When I set all my miners to a single core in GUI Miner I use less power and generate less heat (on the remaining cores).
legendary
Activity: 1806
Merit: 1003
WinAFC - http://affinitychanger.sourceforge.net/

It's not my program, but I find it VERY useful.

This will keep all of your miners on one cpu, and not keep your other cores running at 100%.
Since I have a 6core workstation, having 4 miners open ties up 4 cores. Not anymore.
Less CPU utilization also equals less power consumption

My config file for demonstration:
E:\Program Files (x86)\GUIMiner\guiminer\phoenix.exe := CPU1
E:\Program Files (x86)\GUIMiner\guiminer\poclbm.exe := CPU1

Enjoy!


Tested and IT WORKS like a charm. Finally I can stop setting CPU affinity after each reboot. Man there's a proggy for everything.
sr. member
Activity: 406
Merit: 250
Why you need that ? For me poclbm eats less then 1% CPU.

Well, in my case, using stream 2.4 in windows 7 64bit, each opencl program will go full bore for a whole cpu WHILE GPU MINING if you let it. So, with my usual 4 miners open I get 4 cpus at 100%

On my linux miner, hashkill uses 1-2% cpu, same with phoenix and poclbm.
newbie
Activity: 16
Merit: 0
Setting CPU affinity is a kind of a "last resort" solution. With a GPU miner you don't need it at all because it consumes virtually no CPU resources. With CPU mining, if you really want it, you can use start /low to run it with low priority. On modern systems like Win 7 you will barely notice something's consuming your CPU's idle time.
hex
newbie
Activity: 45
Merit: 0
Why you need that ? For me poclbm eats less then 1% CPU.
member
Activity: 112
Merit: 10
I have been looking for something like this.  Will try at home.
legendary
Activity: 1806
Merit: 1003
great find if it works, I will try it when I get home
sr. member
Activity: 406
Merit: 250
WinAFC - http://affinitychanger.sourceforge.net/

It's not my program, but I find it VERY useful.

This will keep all of your miners on one cpu, and not keep your other cores running at 100%.
Since I have a 6core workstation, having 4 miners open ties up 4 cores. Not anymore.
Less CPU utilization also equals less power consumption

My config file for demonstration:
E:\Program Files (x86)\GUIMiner\guiminer\phoenix.exe := CPU1
E:\Program Files (x86)\GUIMiner\guiminer\poclbm.exe := CPU1

Enjoy!
Jump to: