You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The miner threads run in a while loop. Number of hashes is counted per thread. Hash rate is calculated per thread by deviding hash rate by time. Time is not measured from the beginning of the while loop. This causes hodlminer to overestimate hash rate. Error is very high if you use much higher thread count than your core count is. High thread count causes delays which are outside of the time measurements.
Reported total hash rate is the sum of thread hasrates. This works accurately only if every thread finishes at the same time. If this doesn't happen we need to wait slower threads and the waiting time is not included to calculations.
The text was updated successfully, but these errors were encountered:
I fixed the code so that time is measured from the beginning of the while loop.
Total hash count is calculated including all threads. The count is devided by the time which is the longest thread excecution time. In this way the waiting needed for slowest thread is included in calculations.
The fix in added to the source code but new binaries are not build.
The miner threads run in a while loop. Number of hashes is counted per thread. Hash rate is calculated per thread by deviding hash rate by time. Time is not measured from the beginning of the while loop. This causes hodlminer to overestimate hash rate. Error is very high if you use much higher thread count than your core count is. High thread count causes delays which are outside of the time measurements.
Reported total hash rate is the sum of thread hasrates. This works accurately only if every thread finishes at the same time. If this doesn't happen we need to wait slower threads and the waiting time is not included to calculations.
The text was updated successfully, but these errors were encountered: