Bitcoin Forum
April 27, 2024, 01:49:22 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Throughput calculations?  (Read 1491 times)
kingcoin (OP)
Sr. Member
****
Offline Offline

Activity: 262
Merit: 250


View Profile
March 19, 2013, 04:01:48 PM
 #1

How do the pools calculate your mining hash throughput?
1714182562
Hero Member
*
Offline Offline

Posts: 1714182562

View Profile Personal Message (Offline)

Ignore
1714182562
Reply with quote  #2

1714182562
Report to moderator
1714182562
Hero Member
*
Offline Offline

Posts: 1714182562

View Profile Personal Message (Offline)

Ignore
1714182562
Reply with quote  #2

1714182562
Report to moderator
1714182562
Hero Member
*
Offline Offline

Posts: 1714182562

View Profile Personal Message (Offline)

Ignore
1714182562
Reply with quote  #2

1714182562
Report to moderator
The block chain is the main innovation of Bitcoin. It is the first distributed timestamping system.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714182562
Hero Member
*
Offline Offline

Posts: 1714182562

View Profile Personal Message (Offline)

Ignore
1714182562
Reply with quote  #2

1714182562
Report to moderator
1714182562
Hero Member
*
Offline Offline

Posts: 1714182562

View Profile Personal Message (Offline)

Ignore
1714182562
Reply with quote  #2

1714182562
Report to moderator
Graet
VIP
Legendary
*
Offline Offline

Activity: 980
Merit: 1001



View Profile WWW
March 19, 2013, 04:36:13 PM
 #2

if you mean hashrate
most pools take an average of shares submitted over a time period to give miners an estimate of hashrate

Ozcoin uses a rolling 5 minute period

| Ozcoin Pooled Mining Pty Ltd https://ozcoin.net Double Geometric Reward System https://lc.ozcoin.net for Litecoin mining DGM| https://crowncloud.net VPS and Dedicated Servers for the BTC community
kingcoin (OP)
Sr. Member
****
Offline Offline

Activity: 262
Merit: 250


View Profile
March 19, 2013, 05:02:19 PM
 #3

if you mean hashrate
most pools take an average of shares submitted over a time period to give miners an estimate of hashrate

Yes. I mean hashrate.

But how do they know how many hash calculations you did per second for a given submit? Do they assume that you got there by incrementing the nonce  by one until you submitted?
eleuthria
Legendary
*
Offline Offline

Activity: 1750
Merit: 1007



View Profile
March 19, 2013, 05:17:04 PM
Last edit: March 19, 2013, 05:28:36 PM by eleuthria
 #4

BTC Guild's dashboard uses a growing averaging window.  After shares have been submitted for about 1 minute, it will begin to estimate your hash rate.  As more time is measured, it increases the amount of data used to guess more accurately, up to 1 full hour of share submissions.  If a 10 minute gap is seen in your history, it will reset that estimate to only most recent submissions until there is no longer a gap.


EDIT:  More detailed explanation.  Pools in general use your share submissions to GUESS your hash rate.  It is known that on average, it takes 4.2 billion hashes to create a difficulty 1 share.  By dividing the number of shares you've submitted over a time frame, it can guess your approximate hash rate.  The faster you hash, the more accurate this will be, because the pool has a more consistent set of data to work with.  This is why very slow miners (CPUs/nVidia) rarely have an accurate estimate on any pool.  If your share submissions are slow, it's difficult to get a good estimate due to the small sample size.

RIP BTC Guild, April 2011 - June 2015
Graet
VIP
Legendary
*
Offline Offline

Activity: 980
Merit: 1001



View Profile WWW
March 19, 2013, 05:18:32 PM
 #5

if you mean hashrate
most pools take an average of shares submitted over a time period to give miners an estimate of hashrate

Yes. I mean hashrate.

But how do they know how many hash calculations you did per second for a given submit? Do they assume that you got there by incrementing the nonce  by one until you submitted?

they do not know what your miner is actually doing
all a pool can do is estimate a hashrate based on shares returned to the pool

| Ozcoin Pooled Mining Pty Ltd https://ozcoin.net Double Geometric Reward System https://lc.ozcoin.net for Litecoin mining DGM| https://crowncloud.net VPS and Dedicated Servers for the BTC community
kingcoin (OP)
Sr. Member
****
Offline Offline

Activity: 262
Merit: 250


View Profile
March 19, 2013, 05:45:48 PM
 #6

It is known that on average, it takes 4.2 billion hashes to create a difficulty 1 share.

That was the answer to my question.

But how do you come up with that number? There are 4294967296 different nonce values (32-bit). If you iterate over all possible values your will find a hit every 2147483648 on the average, or roughly 2Ghash operations. Is this the assumption?

eleuthria
Legendary
*
Offline Offline

Activity: 1750
Merit: 1007



View Profile
March 19, 2013, 06:08:44 PM
 #7

It is known that on average, it takes 4.2 billion hashes to create a difficulty 1 share.

That was the answer to my question.

But how do you come up with that number? There are 4294967296 different nonce values (32-bit). If you iterate over all possible values your will find a hit every 2147483648 on the average, or roughly 2Ghash operations. Is this the assumption?



Think of it like rolling dice.  Your odds of getting a 6 is 1 in 6.  If you're only going to make 3 rolls, you have an ~50% chance to get a 6 in one of those rolls.  However, if you were going to make 3,000 rolls, you're much more likely to be in the expected 16.67% of rolls actually being 6.

RIP BTC Guild, April 2011 - June 2015
kingcoin (OP)
Sr. Member
****
Offline Offline

Activity: 262
Merit: 250


View Profile
March 19, 2013, 07:00:58 PM
 #8

Think of it like rolling dice.  Your odds of getting a 6 is 1 in 6.  If you're only going to make 3 rolls, you have an ~50% chance to get a 6 in one of those rolls.  However, if you were going to make 3,000 rolls, you're much more likely to be in the expected 16.67% of rolls actually being 6.

But miner's aren't rolling a dice. They don't use a random function to guess the nonce (or do they?).

They usually start counting from 0 up to 2^32 -1 in order not to check the same value multiple times. On the average they will find the nonce half way through the sequence.
crazyates
Legendary
*
Offline Offline

Activity: 952
Merit: 1000



View Profile
March 19, 2013, 10:23:25 PM
 #9

Think of it like rolling dice.  Your odds of getting a 6 is 1 in 6.  If you're only going to make 3 rolls, you have an ~50% chance to get a 6 in one of those rolls.  However, if you were going to make 3,000 rolls, you're much more likely to be in the expected 16.67% of rolls actually being 6.

But miner's aren't rolling a dice. They don't use a random function to guess the nonce (or do they?).

They usually start counting from 0 up to 2^32 -1 in order not to check the same value multiple times. On the average they will find the nonce half way through the sequence.
You're not looking for a nonce. You're using the nonce to look for a share. Sometimes you can find 2 shares per nonce range. Sometimes it's zero.

Tips? 1crazy8pMqgwJ7tX7ZPZmyPwFbc6xZKM9
Previous Trade History - Sale Thread
eleuthria
Legendary
*
Offline Offline

Activity: 1750
Merit: 1007



View Profile
March 19, 2013, 10:31:35 PM
 #10

Think of it like rolling dice.  Your odds of getting a 6 is 1 in 6.  If you're only going to make 3 rolls, you have an ~50% chance to get a 6 in one of those rolls.  However, if you were going to make 3,000 rolls, you're much more likely to be in the expected 16.67% of rolls actually being 6.

But miner's aren't rolling a dice. They don't use a random function to guess the nonce (or do they?).

They usually start counting from 0 up to 2^32 -1 in order not to check the same value multiple times. On the average they will find the nonce half way through the sequence.
You're not looking for a nonce. You're using the nonce to look for a share. Sometimes you can find 2 shares per nonce range. Sometimes it's zero.

Exactly as crazyates said.  You're not guaranteed to find a share in a nonce range, so it's not like you can start at 0, count up, and when you find one, you know you found "the" nonce in the range and can start over.  So it is like dice.  Just because you rolled a 1 doesn't mean you won't roll it again before you get your 6.

RIP BTC Guild, April 2011 - June 2015
kingcoin (OP)
Sr. Member
****
Offline Offline

Activity: 262
Merit: 250


View Profile
March 20, 2013, 12:33:14 AM
 #11

You're not looking for a nonce. You're using the nonce to look for a share. Sometimes you can find 2 shares per nonce range. Sometimes it's zero.

Ah. That explains it. Thanks!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!