Bitcoin Forum
December 05, 2016, 08:45:27 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: CGMiner - restricting clock settings by time (time-based clock setting)  (Read 1729 times)
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1190


฿itcoin: Currency of Resistance!


View Profile WWW
January 12, 2012, 09:14:12 PM
 #1

 Hi!

 I would like to setup the hardware settings, according to the daytime, similar to Squid time-based ACLs (Restricting Web Access By Time)... For example:

 For each GPU (or maybe for the entire minig rig):

 gpu0-uuid off 07:00-18:30
 gpu0-uuid gpu-clock 500-900 18:30-07:00

 gpu1-uuid off 07:00-18:30
 gpu1-uuid gpu-clock 500-900 18:30-07:00

 gpu2-uuid gpu-clock 500-900 18:30-07:00
 gpu2-uuid gpu-clock 500-930 07:00-18:30

 Trying to simplify, turn off the mining rig 07:00-18:30 and turn it on 18:30-07:00 at full load.

 I can do it from crontab, of course, but, I think it can be awesome to have this feature within CGMiner...

 What about that?!

 5~10 Bitcoins?!

Cheers!
Thiago

Mercado Forex acessível para todos os Brasileiros que tenham Bitcoins! Cadastre-se hoje mesmo! Bastar acessar aqui: https://1broker.com/m/r.php?i=8879
1480970727
Hero Member
*
Offline Offline

Posts: 1480970727

View Profile Personal Message (Offline)

Ignore
1480970727
Reply with quote  #2

1480970727
Report to moderator
1480970727
Hero Member
*
Offline Offline

Posts: 1480970727

View Profile Personal Message (Offline)

Ignore
1480970727
Reply with quote  #2

1480970727
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1526

Reverse engineer from time to time


View Profile
January 12, 2012, 10:16:25 PM
 #2

CGminer already has this built in. Look at cgminer --help

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1190


฿itcoin: Currency of Resistance!


View Profile WWW
January 13, 2012, 12:18:31 AM
 #3

CGminer already has this built in. Look at cgminer --help

LOL

I'll check it!!!

Thanks!!

Mercado Forex acessível para todos os Brasileiros que tenham Bitcoins! Cadastre-se hoje mesmo! Bastar acessar aqui: https://1broker.com/m/r.php?i=8879
stevegee58
Hero Member
*****
Offline Offline

Activity: 783



View Profile
January 13, 2012, 01:10:23 AM
 #4

Unless I'm missing something it doesn't look like cgminer does what OP wants.  There's a --sched-start and --sched-stop switch for turning mining on/off.  But not throttling the clock speed based on time.

I'd like to change the intensity based on time of day myself.  For instance when I'm not on the computer at night and while at work I'd like the intensity to be high, but low otherwise.

You are in a maze of twisty little passages, all alike.
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1526

Reverse engineer from time to time


View Profile
January 13, 2012, 01:29:14 AM
 #5

Unless I'm missing something it doesn't look like cgminer does what OP wants.  There's a --sched-start and --sched-stop switch for turning mining on/off.  But not throttling the clock speed based on time.

I'd like to change the intensity based on time of day myself.  For instance when I'm not on the computer at night and while at work I'd like the intensity to be high, but low otherwise.
I see no problem changing intensity when you are going to bed or sleeping. It is fairly easy to do via [G]->->Enter GPU->Enter intensity


BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
stevegee58
Hero Member
*****
Offline Offline

Activity: 783



View Profile
January 13, 2012, 01:34:50 AM
 #6


I see no problem changing intensity when you are going to bed or sleeping. It is fairly easy to do via [G]->->Enter GPU->Enter intensity

I know but I'm lazy.  I want it automatic like OP.

You are in a maze of twisty little passages, all alike.
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1190


฿itcoin: Currency of Resistance!


View Profile WWW
January 13, 2012, 02:43:45 AM
 #7

Unless I'm missing something it doesn't look like cgminer does what OP wants.  There's a --sched-start and --sched-stop switch for turning mining on/off.  But not throttling the clock speed based on time.

I'd like to change the intensity based on time of day myself.  For instance when I'm not on the computer at night and while at work I'd like the intensity to be high, but low otherwise.
I see no problem changing intensity when you are going to bed or sleeping. It is fairly easy to do via [G]->->Enter GPU->Enter intensity


I prefer all automatic... Lots of mining rigs to control...

I'll workaround with cron jobs...

But, if someone wants to automatize this routines at CGMiner, lets discuss about it!

Best!
Thiago

Mercado Forex acessível para todos os Brasileiros que tenham Bitcoins! Cadastre-se hoje mesmo! Bastar acessar aqui: https://1broker.com/m/r.php?i=8879
3phase
Sr. Member
****
Offline Offline

Activity: 313


Third score


View Profile
January 13, 2012, 04:43:42 AM
 #8

Maybe I'm wrong, but I suppose what you want to do essentially is not to vary the clock settings but to control heat generation and GPU temperatures. I guess it's summer in Brazil, isn't it?

I had a similar issue during the summer here in Greece, with ambient temperatures of about 30-35 C. I went away on a holiday and I did not want to leave the air-conditioning on all day (and thus double my electricity consumption) so I had a setup like this:

  • A cgminer process running with intensity 1 (-I 1) 24 hours a day. This produced around 350 MH/s on a 5870 and acceptable temperatures for the cards.
  • A cron job starting a second cgminer process with intensity 3 (-I 3) during the night (using the --sched-start and --sched-stop switches), when ambient temperatures were lower. When that process kicked in, it was going to 320-330 MH/s while the first one reduced to around 110-120 MH/s, giving me an effective hash rate of about 440 MH/s which is the same like what I got running a single cgminer with intensity 9
  • The clocks were set the same all the time (atitweak -e 950 -m 319 -v 1.08)
Just to be clear, the second process runs on the same cards as the first. This setup worked fine for about a month or so, when I needed it.

It should be simple to implement.

If you actually want to completely turn off some cards for certain day intervals, as your post suggests, then just omit the first cgminer process.

Hope this helps.

Fiat no more.
Δοκιμάστε το http://multibit.org - Bitcoin client τώρα και στα Ελληνικά
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!