Skip to content
This repository was archived by the owner on Apr 24, 2022. It is now read-only.

Hashrate randomly increases after some time #463

Closed
heikomat opened this issue Dec 25, 2017 · 10 comments
Closed

Hashrate randomly increases after some time #463

heikomat opened this issue Dec 25, 2017 · 10 comments

Comments

@heikomat
Copy link

heikomat commented Dec 25, 2017

Hello,

I noticed, that my Hashrate increases after 10 to 30 hours of uninterrupted mining. I start with 11.5 to 12 MH/s, and then after a while it suddenly jumps to 13 to 13.5 MH/s

When i stop and instantly restart the ethminer, it's back to the lower hashrate. Why is this?

My setup is as follows:

  • GPU: GTX 780 from Gigabyte
    gpu + 270 MHz
    memory + 380 MHz
  • OS: Ubuntu 17.10
  • NVidia Driver: 384.90
  • Ethminer:
    ./ethminer \
    --farm-recheck 2000 \
    --report-hashrate \
    --verbosity 1 \
    --opencl \
    --stratum eu1.ethermine.org:4444 \
    -FS us1.ethermine.org:4444 \
    --userpass 0x572292428767D8906Ec5C3c0fa237C1921f24e53.PCHome_ubuntu
    

CUDA doesn't seem to be faster for me

@androidi
Copy link

Does the hashrate stay at 13-13.5 MH/s after the jump? If not, then it's just caused by timing vs. division artefact. Your machine however reports fairly stable 11.6 MH/s to the pool:
https://ethermine.org/miners/572292428767D8906Ec5C3c0fa237C1921f24e53

@heikomat
Copy link
Author

heikomat commented Dec 25, 2017

@androidi i haven't had the miner running for long enough for the effect to happen in the last two days. I have seen this happen three or four times now. When the hashrate jumps up, it stays up until i restart ethminer.

I do have a screenshot from the first time this happenend:
bildschirmfoto 2017-12-05 um 16 46 51

EDIT:
Although you can't see it in the screenshot, it's not only the reported hashrate. after enough time, the average hashrate aligns with the reported hashrate.

@androidi
Copy link

I've heard that Nvidia cards have these so called "perflevels". Maybe, at some point, your system decides to hop from level 2 to 3 or something like that? I were you, I'd monitor / print out GPU & mem freq when performance level boost happens next time to perhaps get some explanation for this.

@heikomat
Copy link
Author

@androidi will do. For reference, these are the numbers pre-jump:

bildschirmfoto vom 2017-12-25 12-29-29

@androidi
Copy link

Ok so on the left it says your GPU is currently at P0. Have you checked the output of that nvidia-smi right after you start mining? Is it perhaps at P2 then?

I've not had an nvidia card lately, but I'll probably receive my 1080 Ti in a couple of days. I'll be able to take better guesses once I've gotten the hang of how it operates.

@heikomat
Copy link
Author

heikomat commented Dec 26, 2017

@androidi i checked while it was already mining for a couple of hours.

The jump just happened an hour ago, but the performance-numbers look the same:
bildschirmfoto vom 2017-12-26 12-34-02

@heikomat
Copy link
Author

In also noticed, that we just started the next epoch. Could this be related? A wild guess would be that the performance increases when the dag changes. I have however no clue why that would be the case

@androidi
Copy link

I also noticed that by looking at your memory usage. From pics: 2790 MiB vs. 2849 MiB. But still, it really makes no sense. On a Vega 64 / Nanopool / Win10 / custom build from sources, the epoch change did not have any effect. Darn. :(
But hey! You should enjoy the risen hashrate :DD

I just can't help but wonder, why that nvidia-smi -q -d PREFORMANCE command displays the same P0 Performance State? Then again your PowerMizer is confident, the card is running at Performance Level 3 all the time?

However, when looking at the specs:
https://www.geforce.com/hardware/desktop-gpus/geforce-gtx-780/specifications

The memory bandwidth is 288.4 GB/s (non-OC'd), which roughly means a theoretical maximum of: 288.4 GB/s / 8 KB -> 36.05 MH/s

But those are just theoretical maximums.. my Vega 64 says 512 GB/s, theoretical max hashrate thus being: 512 GB/s / 8 KB -> 64 MH/s. Still, I can only get about 42 MH/s.

I also have an RX 480, which has memory throughput of 224 GB/s, and that crunched out about 25 MH/s, near ideal values.

People report all kinds of hashrates from 0.5 MH/s to 18 MH/s (e.g. in Reddit) for the GTX 780. So it can be a driver bug, a bug in ethminer, something related to power states, or.. dunno. Hopefully I observe something similar with the 1080 Ti so I can dig into this interesting issue.

@androidi
Copy link

GTX 1080 Ti grinding. Now we'll just have to wait 2+ days for the next epoch..

@DeadManWalkingTO
Copy link
Contributor

I think this issue can be closed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants