Open sergioclemente opened 6 years ago
How can we know the max speed of the fan ? Every model uses a different fan. For example the fan of my S7 broke (3000rpm) and I replaced it with a fan from bitmain which was 6000rpm. I think the rpms are just fine. If you agree you can close this issue
Thats a good point. I was assuming every model came with some default values that we could customize.
Imagine when you are adding a model, you pick model S9 it would show default hashrate of 13.5, default rpm of 6000 and you could change it.
If you changed during operations (Like you said) as long as you could edit the miner (which you can't yet) you could update the rpm.
We could hide by default these options with a because they introduce complexity and its more for power users.
Here is a small prototype I've made, it includes the fan percentage, cpu percentage and also highlights the temperatures if above 70 but below 80. For the two miners I've have both have max rpm 7125, and the value displayed currently is matching what is shown in the antminer interface.
Looks nice but i have a question. How do we determine the 100% of the fan speed and cpu? As i see for the frequency you have set the default. Although for the D3 the default freq is the one which sets the hadhrate to 15GH/s since this was the original announcement of bitmain. But for the fan you cant assume any speed as 100% for the reason i mention in my previous reply.
For fan, I think we can provide a default option when you add a miner, most of the latest antminer monitors is 7125rpm.
For frequency it depends even on the sub model inside the model, for the S9 13.5 its 550Mhz, but for the latest ones its 650Mhz i believe. Found the frequency looking at the specs of a model.
I tried to dissect the cgminer driver of Antminer D3 and it looks like the cgminer only knows about any kind of percentage, if there is a manual fan percentage set in the config upon start.
but later the api only can tell you the current speed, but not the percentage. so the only way to calculate a percentage would be to rely on published specs, which can change without prior notification.
They probably just forgot.
https://github.com/sergioclemente/cgminer-dash/blob/master/driver-btm-DASH.c#L5086
Can easily add there the line to add: dev.pwm_percent but it would require a custom version of cgminer.
For fan, I think we can provide a default option when you add a miner, most of the latest antminer monitors is 7125rpm.
My S9's fan runs at 4600rpm by default.
For frequency it depends even on the sub model inside the model, for the S9 13.5 its 550Mhz, but for the latest ones its 650Mhz i believe. Found the frequency looking at the specs of a model.
You see that it is not easy to calculate the percentage of neither the frequency nor the fan speed.
What we could do is to set a default frequency for all S9, S7, D3... etc and display the percentage of the frequency according to that value. For the fan speed I am not sure if we can do something like the above.
I also have to agree that percentage is a bit useless because of the simple fact of determining which rpm would have to be 100%. I use special type of fans doing well over 10k rpm with higher airflow (CFM), and set it at max. As oon as I see it's off, and for whatever reason running at 9300 rpm, I will know something isn't good ;)
After the new API we will add more fields to the database and bind them with a nice UI so the user can set more settings per miner. Please be patient
It would be nice to show not only the rpm, but what percentage of the fan its running.
Again, will be happy to do this.