Bitcoin Forum
July 04, 2024, 01:31:37 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Useful watch scripts for Bitcoin Miners in Tray  (Read 1754 times)
anonppcoin (OP)
Newbie
*
Offline Offline

Activity: 48
Merit: 0


View Profile
June 21, 2013, 08:42:55 PM
 #1

It would be great if we could provide each other with watch scripts that can be used to modify mining intensity in response to popular programs.

For instance, if you are a madVR user:

Code:
      <watch condition="RunningApplication" action="Stop">
        <conditionParams>
          <process>madHcCtrl</process>
        </conditionParams>
      </watch>

or a bf3/origin game player:

Code:
      <watch condition="RunningApplication" action="Stop">
        <conditionParams>
          <process>GameOverlayUI</process>
        </conditionParams>
      </watch>

In essence, what processes correspond with common programs that require modifying mining intensity?
BitOmni
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
June 21, 2013, 10:30:38 PM
 #2

What is this?

It would be great if we could provide each other with watch scripts that can be used to modify mining intensity in response to popular programs.

For instance, if you are a madVR user:

Code:
      <watch condition="RunningApplication" action="Stop">
        <conditionParams>
          <process>madHcCtrl</process>
        </conditionParams>
      </watch>

or a bf3/origin game player:

Code:
      <watch condition="RunningApplication" action="Stop">
        <conditionParams>
          <process>GameOverlayUI</process>
        </conditionParams>
      </watch>

In essence, what processes correspond with common programs that require modifying mining intensity?

Albert Speer
Newbie
*
Offline Offline

Activity: 28
Merit: 0



View Profile
June 21, 2013, 10:55:50 PM
 #3

That is very cool
anonppcoin (OP)
Newbie
*
Offline Offline

Activity: 48
Merit: 0


View Profile
June 21, 2013, 11:31:02 PM
 #4

What is this?

https://bitcointalk.org/index.php?topic=149442.0

Essentially it's part of the XML config files for the Bitcoin Miners in Tray program.

Said program can restart mining w/ new arguments or pause mining in response to specific computer activities and then restart mining automatically upon completion. The key is finding which processes correspond to popular programs that require heavy GPU loads. Sometimes I can even get away with mining on one GPU while playing videos with madVR, so you could set up something like this:

Code:
    <miner id="CGMiner-PPCoin" autoStart="true" averageWindow="5" watcherCheckInterval="2" killDelay="5" restartEvery="24" displaySpeedIn="M" readSpeedFrom="stdout">
      <workingDir>C:\Program Files (x86)\Bitcoin Miner\cgminer</workingDir>
      <application>cgminer.exe</application>
      <arguments>--text-only -o stratum.d7.lt:3333 -u user -p pass -v 1 -I 10 -w128</arguments>
      <priority>normal</priority>
      <keepAlive enabled="true" interval="5">
      </keepAlive>
      <watch condition="RunningApplication" action="Stop">
        <conditionParams>
          <process>GameOverlayUI</process>
        </conditionParams>
      </watch>
      <watch condition="RunningApplication" action="RestartWithArguments">
        <conditionParams>
          <process>madHcCtrl</process>
        </conditionParams>
        <actionParams>
          <arguments>--text-only -o stratum.d7.lt:3333 -u user -p pass -v 1 -d 1 -I 8 -w128</arguments>
        </actionParams>
      </watch>
    </miner>

The -d 1 option tells CGMiner to only use one particular video card, -I 8 tells it to lower the intensity from my max setting (I've found this to be the highest intensity that will not kick my fan on loud during movies).
Nemo1024
Legendary
*
Offline Offline

Activity: 1680
Merit: 1014



View Profile WWW
July 24, 2013, 01:14:30 PM
 #5

Good to see my program being used Smiley

Any questions or (reasonable) suggestion for new functionality are welcome.

“Dark times lie ahead of us and there will be a time when we must choose between what is easy and what is right.”
“We are only as strong as we are united, as weak as we are divided.”
“It is important to fight and fight again, and keep fighting, for only then can evil be kept at bay, though never quite eradicated.”
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!