tutulino / Megaminer

Multipool and multialgo windows miner
GNU General Public License v3.0
78 stars 69 forks source link

Is benchmarking taking longer than it's supposed to? #370

Closed VukaKun closed 6 years ago

VukaKun commented 6 years ago

I'm trying to get an estimate for the benchmark time, so I added these lines to core.ps1

   `$RemainingBenchmarks = ($ActiveMiners.subminers | where-object NeedBenchmark -eq $true).count       
    if($RemainingBenchmarks -ne 0){
    $ETA = Get-Date
    $BenchmarkETA = New-TimeSpan -seconds ([int] $BenchmarkintervalTime*$RemainingBenchmarks )
    $ETA = $ETA.AddDays($BenchmarkETA.days)
    $ETA = $ETA.AddHours($BenchmarkETA.hours)
    $ETA = $ETA.AddMinutes($BenchmarkETA.minutes)
    $ETA = $ETA.AddSeconds($BenchmarkETA.seconds)

    Print_Horizontal_line "$RemainingBenchmarks benchmarks left. ETA: $ETA"
    Print_Horizontal_line
    }`

... but it seems way off and it even increases from time to time. What's up with that? If $BenchmarkintervalTime*$RemainingBenchmarks isn't the required benchmark time, then what is?

tutulino commented 6 years ago

$ActiveMiners.subminers | where-object NeedBenchmark -eq $true is not true benchmarks left if you use coin level pool like mining pool hub, there is a subminer for each coin but only 1 benchmark for that algo will be done and all coin for that algo will be covered (I know "benchmarks" left number in screen is also false).

Only things that can increase pending benchmarks are:

VukaKun commented 6 years ago

Thanks a lot, I get it now ^_^

Yeah, I'm using both the powerlimit feature and the minworkers filter, so it makes sense.