Author

Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool - page 453. (Read 2591964 times)

legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
...
It's really not that complicated.  p2pool adjusts the minimum required share difficulty for shares so that a share will be found once every 30 seconds.  Now, if a bunch of people start to opt-in to a share difficulty much higher minimum requirement (doing so is a feature baked into p2pool), then obviously shares are going to start to be found less often.  In order for shares to continue to be found about once per 30 seconds, everyone else has to start finding them more often.  The only way they can find shares more often (with the same hashrate) is if p2pool lowers the minimum required share difficulty, and that's exactly what it does.
That misses Stats 101

Since the shares are of higher value, then when one is submitted it will mean the hash rate will appear higher.

So back again to what I said ...

...
No.

You are missing the issue of variance.

If the difficulty drops it will also go up. It averages out to the same share difficulty.

So statistically you still get the same number of shares over time.

...
Unless there's some weird calculation in the p2pool code to push the base difficulty down, it doesn't matter if someone is submitting 'double' diff shares - they are just the same as submitting 2 'single' diff shares other than an increase in variance.
i.e. no 'weird' calculation.

If you (on average) submit a double diff share every share you submit, but do it half as often, then the average share difficulty you submit will still be the same.
I'll try a little simple maths: 2 + 0 = 2 ... average ... 1 Tongue

Since the highest user is only around 11% of the pool, the variance it causes is also pretty small.
newbie
Activity: 19
Merit: 0
so whats with this liteco.in not found messages at startup ??

i've seen whats happened with liteco.in. very questionable all.

so why has that adress been hardcoded into p2pool ??
legendary
Activity: 1232
Merit: 1094
The only way they can find shares more often (with the same hashrate) is if p2pool lowers the minimum required share difficulty, and that's exactly what it does.

Right, the key is that the pool can set minimum difficulty.  Rather than adjusting difficulty for all miners, it adjusts difficulty for miners who have their difficulty set to the lowest possible.

Another way would be to adjust all miner's difficulty.  A miner might set their difficulty to 100X the default value.  The pool would then adjust the default value.
hero member
Activity: 737
Merit: 500
Unless there's some weird calculation in the p2pool code to push the base difficulty down

There is.
Well if there is than the statement on the main p2pool page is wrong also:

Quote
P2Pool creates a new block chain in which the difficulty is adjusted so a new block is found every 1030 seconds.

I of course updated the 10 to 30.

That statement would be false if what people are implying here is true.

To make a share average every 30s, it must use the submitted 1diff share rate to attempt to make that happen.
There is no other way to do it.

So again ...

Quote
If the difficulty drops it will also go up. It averages out to the same share difficulty.

So statistically you still get the same number of shares over time.

It's really not that complicated.  p2pool adjusts the minimum required share difficulty for shares so that a share will be found once every 30 seconds.  Now, if a bunch of people start to opt-in to a share difficulty much higher minimum requirement (doing so is a feature baked into p2pool), then obviously shares are going to start to be found less often.  In order for shares to continue to be found about once per 30 seconds, everyone else has to start finding them more often.  The only way they can find shares more often (with the same hashrate) is if p2pool lowers the minimum required share difficulty, and that's exactly what it does.
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
Unless there's some weird calculation in the p2pool code to push the base difficulty down

There is.
Well if there is than the statement on the main p2pool page is wrong also:

Quote
P2Pool creates a new block chain in which the difficulty is adjusted so a new block is found every 1030 seconds.

I of course updated the 10 to 30.

That statement would be false if what people are implying here is true.

To make a share average every 30s, it must use the submitted 1diff share rate to attempt to make that happen.
There is no other way to do it.

So again ...

Quote
If the difficulty drops it will also go up. It averages out to the same share difficulty.

So statistically you still get the same number of shares over time.
legendary
Activity: 1232
Merit: 1094
There is, but it doesnt' work very well. Here is my proposal to implement alternative function:
https://bitcointalksearch.org/topic/m.3929150

Each worker sets its own difficulty right?

So,

- adjust minimum difficulty per miner so that shares are received at most once every 60 minutes
- all workers to the same address count as a single miner for these purposes

I think there is at least one p2pool backed pool out there that supports smaller miners.  However, it works by setting the fee to 100% and has a separate process to handle payouts to miners.
legendary
Activity: 1036
Merit: 1000
DARKNETMARKETS.COM
Unless there's some weird calculation in the p2pool code to push the base difficulty down

There is.

There is, but it doesnt' work very well. Here is my proposal to implement alternative function:
https://bitcointalksearch.org/topic/m.3929150
kjj
legendary
Activity: 1302
Merit: 1026
Unless there's some weird calculation in the p2pool code to push the base difficulty down

There is.
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
.......
The well known bitcoin term here is called ... variance. Read up about it Smiley

Yeah, I know.
No.

You are missing the issue of variance.

If the difficulty drops it will also go up. It averages out to the same share difficulty.

So statistically you still get the same number of shares over time.

kano, I think TierNolan is referring to the fact that some large miners can set their own difficulty much higher than the automatic amount set by the system. If I have that fact right, then this means that the average share difficulty is reduced for the remainder of miners.
Unless there's some weird calculation in the p2pool code to push the base difficulty down, it doesn't matter if someone is submitting 'double' diff shares - they are just the same as submitting 2 'single' diff shares other than an increase in variance.
donator
Activity: 2058
Merit: 1007
Poor impulse control.
.......
The well known bitcoin term here is called ... variance. Read up about it Smiley

Yeah, I know.
No.

You are missing the issue of variance.

If the difficulty drops it will also go up. It averages out to the same share difficulty.

So statistically you still get the same number of shares over time.

kano, I think TierNolan is referring to the fact that some large miners can set their own difficulty much higher than the automatic amount set by the system. If I have that fact right, then this means that the average share difficulty is reduced for the remainder of miners.
hero member
Activity: 826
Merit: 518
Why not state clearly in this thread that p2pool.org and p2pool.com are not affiliated with p2pool?

I added some clarification about p2pool.org to the first post. I think p2pool.com is pretty obviously not.

In other related news, using http://p2pool.info/ as the new homepage for P2Pool is on the horizon since I recently took up maintenance of it and as it's already well-known.
good, about time to handle with the guy @ p2pool.org

Can you help me? I've been mining into p2pool.org and did not get any coinage.
hero member
Activity: 675
Merit: 514
You are missing the issue of variance.
If the difficulty drops it will also go up. It averages out to the same share difficulty.
So statistically you still get the same number of shares over time.
If the big miners are sending shares with higher difficulty they would be sending less shares per minute.
The variance for the big miners would be higher.
The minimum p2pool difficulty would drop.
All miners using the minimum difficulty would be sending more shares.
Their variance would decrease.
The total p2pool hash rate would stay the same.
The average income of the miners would stay the same.
hero member
Activity: 826
Merit: 518
How many hours does it usually take the pool to pay out?
About 1 millisecond.

Why did I not receive any then? (I am mining doge since 12 hours).
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
No, coz if the large miner submits less share difficulty during one round, then they submit more share difficulty during some other round(s), which simply averages out.

The affect of a large miner using higher difficulty is to destabilise the share difficulty more - it doesn't affect the average.

I didn't claim it did.  What it does do is lower the minimum difficulty, which helps low has rate miners have reduced variance.

The total p2pool network power is around 100TH/s.  If shares are every 30 seconds, then each share represents 3000TH (3000 * 10^12 hashes).

If all shares were the same difficulty, then that would be the effective share difficulty, in average hashes.

If you have 10GH/s, it will take on average 3.47 days to get a share.

If half of the miners switch to 10X the minimum difficulty, then they need 30,000TH to get a share.  Since they have half of the mining power, they have 50TH/s.  This means that one of them gets a share every (30000 / 50) = 600 seconds = 10 minutes.  The rest of the pool has the standard difficulty, so they get a share every 60 seconds.

This means that in 10 minutes, the miners will find 1 + 10 = 11 shares.  This works out as one share every 54 seconds.

The system will then lower the minimum difficulty by around 50%.  Now a 10GH/s miner will get a share around twice as fast as before (but worth half as much).  This gives those miners lower variance and the same average returns.

Quote
The well known bitcoin term here is called ... variance. Read up about it Smiley

Yeah, I know.
No.

You are missing the issue of variance.

If the difficulty drops it will also go up. It averages out to the same share difficulty.

So statistically you still get the same number of shares over time.
legendary
Activity: 1232
Merit: 1094
No, coz if the large miner submits less share difficulty during one round, then they submit more share difficulty during some other round(s), which simply averages out.

The affect of a large miner using higher difficulty is to destabilise the share difficulty more - it doesn't affect the average.

I didn't claim it did.  What it does do is lower the minimum difficulty, which helps low has rate miners have reduced variance.

The total p2pool network power is around 100TH/s.  If shares are every 30 seconds, then each share represents 3000TH (3000 * 10^12 hashes).

If all shares were the same difficulty, then that would be the effective share difficulty, in average hashes.

If you have 10GH/s, it will take on average 3.47 days to get a share.

If half of the miners switch to 10X the minimum difficulty, then they need 30,000TH to get a share.  Since they have half of the mining power, they have 50TH/s.  This means that one of them gets a share every (30000 / 50) = 600 seconds = 10 minutes.  The rest of the pool has the standard difficulty, so they get a share every 60 seconds.

This means that in 10 minutes, the miners will find 1 + 10 = 11 shares.  This works out as one share every 54 seconds.

The system will then lower the minimum difficulty by around 50%.  Now a 10GH/s miner will get a share around twice as fast as before (but worth half as much).  This gives those miners lower variance and the same average returns.

Quote
The well known bitcoin term here is called ... variance. Read up about it Smiley

Yeah, I know.
hero member
Activity: 675
Merit: 514
If lots of large miners set their difficulty target higher, then they put less load on the system and so the difficulty can be set lower to help miners with lower hash rates.  This helps more people enter the pool, and so, helps everyone.
No, coz if the large miner submits less share difficulty during one round, then they submit more share difficulty during some other round(s), which simply averages out.
We are not talking about the lenght of the rounds here.
It's about the number of shares per minute.
hero member
Activity: 591
Merit: 500
How many hours does it usually take the pool to pay out?
About 1 millisecond.
hero member
Activity: 826
Merit: 518
How many hours does it usually take the pool to pay out?
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
Is there any graph of share minimum difficulty over time?  In theory, if larger miners started using lower difficulty shares, then the minimum share difficulty would increase.
No (to the theory)
Yes (to the theory)
Difficulty is based on the p2pool "hash rate" - which clearly you don't understand what that is.

The number of shares is targeted at one every 30 seconds.

If everyone used the minimum share difficulty, then it would be directly linked.

However, if a large miner uses low difficulty, he would generate lots of shares.  In order to help the pool, he sets his difficulty higher.

This means he gets fewer shares, but each share has a higher weight.

If that miner was 25% of the hashing power, and he contributed only 1% of the shares, then the pool would only generate 76% as many shares.

The difficulty algorithm would re-target and reduce the minimum difficulty.  This would push the share rate back to one every 30 seconds.

If lots of large miners set their difficulty target higher, then they put less load on the system and so the difficulty can be set lower to help miners with lower hash rates.  This helps more people enter the pool, and so, helps everyone.
No, coz if the large miner submits less share difficulty during one round, then they submit more share difficulty during some other round(s), which simply averages out.

The affect of a large miner using higher difficulty is to destabilise the share difficulty more - it doesn't affect the average.

The well known bitcoin term here is called ... variance. Read up about it Smiley
hero member
Activity: 826
Merit: 518
Do you recomment using p2pool as only "pool" ? I'm having troubles with downtimes for certain coins with other pools.

I have 1Mh/s with Scrypt (2 fast GPUs), is it wise to connect to p2pool only?
Jump to: