Post
Topic
Board Mining
Re: "Rug Monitor" - Monitor your mining rigs (graphs for hashrate, temps, etc.)
by
disq
on 20/06/2011, 10:46:55 UTC
very nice scripting Smiley
I am using manual patched phoenix 1.50.

I noticed, that hasrates per device values were incorrect. (rates were too low)
I am not very familiar in php coding but I found this line in update.php

line 25
Code:
if (is_array($st) && time() - $st['timestamp']<3)
 

I increased the value from 3 to 15 seconds and now the rates seem to be correct.
Is there a reason, why you set the interval of file change date so low?

fyi, the 1.48 patch can be applied to 1.50 as well. the reason behind that code is the assumption that if the stats isn't updated within the last 3 seconds than there's something wrong with the miner, maybe the card/miner froze or miner is not running. (as phoenix by default updates the file/dumps status every second)

of course, if phoenix updates the stats less frequently, this assumption isn't true. are you running phoenix with a custom avgsamples (-a) setting? i should probably extend the time to something like 30 seconds to cover most possibilities.