Author

Topic: CGMiner - restricting clock settings by time (time-based clock setting) (Read 2078 times)

sr. member
Activity: 313
Merit: 251
Third score
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.
legendary
Activity: 1204
Merit: 1000
฿itcoin: Currency of Resistance!
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
legendary
Activity: 916
Merit: 1003

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.
legendary
Activity: 1862
Merit: 1011
Reverse engineer from time to time
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

legendary
Activity: 916
Merit: 1003
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.
legendary
Activity: 1204
Merit: 1000
฿itcoin: Currency of Resistance!
CGminer already has this built in. Look at cgminer --help

LOL

I'll check it!!!

Thanks!!
legendary
Activity: 1862
Merit: 1011
Reverse engineer from time to time
CGminer already has this built in. Look at cgminer --help
legendary
Activity: 1204
Merit: 1000
฿itcoin: Currency of Resistance!
 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
Jump to: