Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Acquire reliable hash rate distribution with the method of Statistics #77

Closed
marktwtn opened this issue Sep 29, 2018 · 3 comments
Closed
Assignees

Comments

@marktwtn
Copy link
Collaborator

marktwtn commented Sep 29, 2018

The hash rate would be different at each time we execute PoW with the same hardware.
There might be a lot of factors which influence the hash rate value.

We try to measure the hash rate distribution and remove the extremely large and small hash rate.
A reliable range of hash rate value should be got with the method of Statistics.

@marktwtn
Copy link
Collaborator Author

This is what I am going to do.

  1. Get the hash rate n times -> [ h1, h2, ......, hn ]

  2. Calculate the standard deviation -> sqrt{ [ (h1 - avg)^2 + ... + (hn - avg)^2 ] / n }

  3. Show the result:

average hash rate: XXX kH/sec
with 95% confidence interval and error value (2 * standard deviation).
  1. Show the hash rate with histogram.

@furuame
Copy link
Member

furuame commented Sep 30, 2018

I agree that time to find the nonce value is probability problem, but not the hash rate, which is dependent on the implementation.

@marktwtn marktwtn self-assigned this Sep 30, 2018
@marktwtn marktwtn changed the title Acquire reliable estimated hash rate value with the method of Statistics Acquire reliable hash rate distribution with the method of Statistics Oct 3, 2018
@marktwtn
Copy link
Collaborator Author

marktwtn commented Oct 3, 2018

I agree that time to find the nonce value is probability problem, but not the hash rate, which is dependent on the implementation.

You are right.
I rewrite the title and the description of this issue.

marktwtn added a commit to marktwtn/dcurl that referenced this issue Oct 4, 2018
Implement functions of getting the average value and standard deviation.
Close DLTcollab#77.
marktwtn added a commit to marktwtn/dcurl that referenced this issue Oct 5, 2018
Implement functions of getting the average value and standard deviation.
Print the hash rate range when the `BUILD_STAT` option is enabled.
Close DLTcollab#77.
marktwtn added a commit to marktwtn/dcurl that referenced this issue Oct 7, 2018
Implement functions of getting the average value and standard deviation.
Print the hash rate range when the `BUILD_STAT` option is enabled.
Close DLTcollab#77.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants