I just installed 2.0.5 from git, running smoothly as always.
I guess that I will start the features-for-donations requests:
1) The ability to pause/unpause mining. Ideally this would be easily done by another program (without sending keystrokes). I am thinking perhaps a SIGINT or SIGCONT could stop and start mining respectively.
I recently switched to hourly based electricity pricing and plan on evaluating the feasibility of mining every hour. That is what inspires this request to be able to pause mining during peak electricity demand.
Thoughts?
There already is a time based scheduling option. I suspect that suits your purpose?
--sched-start
Set a time of day in HH:MM to start mining (a once off without a stop time)
--sched-stop Set a time of day in HH:MM to stop mining (will quit without a start time)
I was actually planning on evaluating my profitability every hour since my electricity prices are updated every hour. Therefore it would be more of a game-time decision if I want to mine or not.
Obviously I could just kill/start cgminer. But I was thinking that a pause feature would be nice, but it sounds like communicating with cgminer once it has started might not be as simple.
a pause feature may not be that good.
it is posible that by the time you resume the miner anything it has queued would be stale anyways.
Um, the reply question is missing the facts about shares/blocks
Do you mean evaluating it based on results? Then of course the results are:
The number of shares/blocks you get per hour does not depend on anything but statistics and the number you will get is an expected statistical average.
There is no reason to adjust your mining based on results - it's simply a case of calculating the average expected number of shares per hour.
That is a simple calculation - if your rig calculates 700Mh/s (as an example) then you will get a share on average every 2^32/(700*10^6) seconds.
Or if your hash rate is a high Z GHash/s then you will get (Z*10^9)/(2^32) shares per second (the inverse of the previous calculation)
Turning that into hours: If your hash rate is Z GHash/s the number of shares per hour:
(60 * 60) * (Z * 10^9) / (2^32)
of course if it is Y MHash/s then it is (60 * 60) * (Y * 10^6) / (2^32) shares per hour.
Again, this is the average statistical expected result.
Nothing can effect the actual result you get other than your hash rate and the reliability of submitting shares.
cgminer is really good at both of those