Bitcoin Forum
December 04, 2016, 06:09:04 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 [48] 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 ... 744 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2029329 times)
Garr255
Legendary
*
Offline Offline

Activity: 952


What's a GPU?


View Profile
February 24, 2012, 02:11:57 AM
 #941

I see the same error when running p2pool and bitcoind on the same (fairly underpowered) system, an asus eeebox with intel atom cpu.
There are load spikes every now and then where bitcoind and p2pool together peg the cpu at 100% and then these errors appear.

It seemed to cause more than average orphans and dead shares in my case so I now run p2pool and bitcoind on a faster system, and I've never seen the error there.


I'm getting the same error with an i7 cpu, there must be another cause...

“First they ignore you, then they laugh at you, then they fight you, then you win.”  -- Mahatma Gandhi

Average time between signing on to bitcointalk: Two weeks. Please don't expect responses any faster than that!
1480831744
Hero Member
*
Offline Offline

Posts: 1480831744

View Profile Personal Message (Offline)

Ignore
1480831744
Reply with quote  #2

1480831744
Report to moderator
1480831744
Hero Member
*
Offline Offline

Posts: 1480831744

View Profile Personal Message (Offline)

Ignore
1480831744
Reply with quote  #2

1480831744
Report to moderator
1480831744
Hero Member
*
Offline Offline

Posts: 1480831744

View Profile Personal Message (Offline)

Ignore
1480831744
Reply with quote  #2

1480831744
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480831744
Hero Member
*
Offline Offline

Posts: 1480831744

View Profile Personal Message (Offline)

Ignore
1480831744
Reply with quote  #2

1480831744
Report to moderator
1480831744
Hero Member
*
Offline Offline

Posts: 1480831744

View Profile Personal Message (Offline)

Ignore
1480831744
Reply with quote  #2

1480831744
Report to moderator
1480831744
Hero Member
*
Offline Offline

Posts: 1480831744

View Profile Personal Message (Offline)

Ignore
1480831744
Reply with quote  #2

1480831744
Report to moderator
spiccioli
Legendary
*
Offline Offline

Activity: 1376

nec sine labore


View Profile
February 24, 2012, 09:46:12 AM
 #942

I see the same error when running p2pool and bitcoind on the same (fairly underpowered) system, an asus eeebox with intel atom cpu.
There are load spikes every now and then where bitcoind and p2pool together peg the cpu at 100% and then these errors appear.

It seemed to cause more than average orphans and dead shares in my case so I now run p2pool and bitcoind on a faster system, and I've never seen the error there.


I'm getting the same error with an i7 cpu, there must be another cause...

Garr255,

I've found out that using bitcoind 0.6.0 RC1 with latest p2pool.py lowers CPU usage _a lot_.

spiccioli
stevegee58
Hero Member
*****
Offline Offline

Activity: 783



View Profile
February 24, 2012, 09:37:11 PM
 #943

What kind of discarded work rates are people getting with cgminer on p2pool?

I read that it's normal on p2pool to have a higher discarded work rate than on a traditional pool.  I'm just trying to figure out how much is normal to see if I have problems or not.
My discarded work is about 1.5x the accepted.

You are in a maze of twisty little passages, all alike.
forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
February 24, 2012, 09:45:30 PM
 #944

What kind of discarded work rates are people getting with cgminer on p2pool?

I read that it's normal on p2pool to have a higher discarded work rate than on a traditional pool.  I'm just trying to figure out how much is normal to see if I have problems or not.
My discarded work is about 1.5x the accepted.

That's definitely not normal. You should get at most 2% of shares rejected, as displayed in cgminer. If you're getting anything more, upgrade cgminer and decrease its intensity.

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
stevegee58
Hero Member
*****
Offline Offline

Activity: 783



View Profile
February 24, 2012, 09:50:23 PM
 #945

I wasn't referring to the rejected field but the "DW" field which is discarded work.  My reject rate is 0.9%.

The DW field increments every time cgminer shows a long poll but not an accept.

You are in a maze of twisty little passages, all alike.
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


Gerald Davis


View Profile
February 24, 2012, 09:53:15 PM
 #946

What kind of discarded work rates are people getting with cgminer on p2pool?

I read that it's normal on p2pool to have a higher discarded work rate than on a traditional pool.  I'm just trying to figure out how much is normal to see if I have problems or not.
My discarded work is about 1.5x the accepted.

That's definitely not normal. You should get at most 2% of shares rejected, as displayed in cgminer. If you're getting anything more, upgrade cgminer and decrease its intensity.

Discarded work isn't rejected.  It is simply work cgminer requested and then never starting working before discarded due to LP so it doesn't "cost" you anything.

Either because of settings or a bug cgminer is requesting a lot more work from p2pool then it will be able to finish.  When next LP occurs that requested work becomes stale so cgminer discards it (without doing any work on it).  It then requests a crap ton of work it will never be able to finish and 10 seconds later the same thing happens.

If you have threads per GPU > 1 and/or queue > 1 then change them both to 1.  Also knock the intensity down 1 or 2 notches.  

With a "normal" pool I find the optimal settings for a 5970 to be:
Queue: 2
Threads per GPU: 2
Intensity: 9

For p2pool I find the optimal settings for a 5970 to be:
Queue: 1
Threads per GPU: 1
Intensity: 8

LP are so short that maintaining a large queue of work is mostly wasted.  With an average time between LP of 10 seconds you need to be complete > 4.3 million hashes or you will never complete more than 1 getwork per LP.   That works out to ~430 MH/s (per GPU).  Using higher queue and/or threads really only makes sense if someone if using a > 430 MH/s miner.  Not per rig, or card but per chip.  Using both queue and threads >1 only makes sense on some hypothetical  > 1 GH/s chip.
forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
February 24, 2012, 09:56:10 PM
 #947

I wasn't referring to the rejected field but the "DW" field which is discarded work.  My reject rate is 0.9%.

The DW field increments every time cgminer shows a long poll but not an accept.

Ah, oops, thought you were talking about rejects.. Anyway, it isn't harmful. Mine is about 80%.

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
stevegee58
Hero Member
*****
Offline Offline

Activity: 783



View Profile
February 24, 2012, 10:24:52 PM
 #948

I'm running a 6770 at around 200 MH/s with 1 queue and 1 thread.  Also I use dynamic intensity which usually sits around 4-5.
Sounds like my settings are right where they should be.

I'm thinking this discarded work metric isn't really that useful anyway.

Discarded work isn't rejected.  It is simply work cgminer requested and then never starting working before discarded due to LP.  

Still it isn't "normal".  The good news is high discarded work shouldn't be costing you shares.  It is "work" that cgminer never started.  It is for some reason requesting more work from p2pool then it could ever possibly finish and then discarding most of that before ever starting.

If you have threads per GPU > 1 and/or queue > 1 then change them both to 1.  Also knock the intensity down 1 or 2 notches.  With a "normal" pool I find the optimal settings for a 5970 to be
Queue: 2
Threads per GPU: 2
Intensity: 9

For p2pool I find the optimal settings for a 5970 to be:
Queue: 1
Threads per GPU: 1
Intensity: 8


LP are so short that maintaining a large queue of work is mostly wasted.

To complete nonce range in <10 seconds requires ~430 MH/s (per GPU).  Using higher queue and/or threads really only makes sense if someone if using a > 430 MH/s miner.  Not per rig but per chip.  Using both queue and threads >1 only makes sense on some hypothetical  > 1 GH/s chip.

You are in a maze of twisty little passages, all alike.
spiccioli
Legendary
*
Offline Offline

Activity: 1376

nec sine labore


View Profile
February 24, 2012, 10:35:16 PM
 #949

What kind of discarded work rates are people getting with cgminer on p2pool?

I read that it's normal on p2pool to have a higher discarded work rate than on a traditional pool.  I'm just trying to figure out how much is normal to see if I have problems or not.
My discarded work is about 1.5x the accepted.

That's definitely not normal. You should get at most 2% of shares rejected, as displayed in cgminer. If you're getting anything more, upgrade cgminer and decrease its intensity.

[...]

With an average time between LP of 10 seconds you need to be complete > 4.3 million hashes or you will never complete more than 1 getwork per LP.   That works out to ~430 MH/s (per GPU).  Using higher queue and/or threads really only makes sense if someone if using a > 430 MH/s miner.  Not per rig, or card but per chip.  Using both queue and threads >1 only makes sense on some hypothetical  > 1 GH/s chip.


DeathAndTaxes,

on p2pool it would be usefull to have an option that makes cgminer split nonce ranges between GPUs so that the full 4 billion nonces can be tested during the available 10 seconds.

spiccioli.
rjk
Sr. Member
****
Offline Offline

Activity: 420


1ngldh


View Profile
February 24, 2012, 10:36:06 PM
 #950

I'm running a 6770 at around 200 MH/s with 1 queue and 1 thread.  Also I use dynamic intensity which usually sits around 4-5.
Sounds like my settings are right where they should be.

I'm thinking this discarded work metric isn't really that useful anyway.
In the context of P2Pool, no it isn't particularly useful.

Mining Rig Extraordinaire - the Trenton BPX6806 18-slot PCIe backplane [PICS] Dead project is dead, all hail the coming of the mighty ASIC!
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


Gerald Davis


View Profile
February 24, 2012, 10:43:23 PM
 #951

DeathAndTaxes,

on p2pool it would be usefull to have an option that makes cgminer split nonce ranges between GPUs so that the full 4 billion nonces can be tested during the available 10 seconds.

spiccioli.


There wouldn't be a lot of value to that.  The only reason for wanting to check the entire nonce range is to reduce load on the server but w/ p2pool you are the server so a couple extra getworks per minute isn't going to really create any load issues.  As GPU/FPGA continue to get faster the it becomes less of an issue anyways.  A 7970 for example will need to process 2 nonce ranges per LP on average.  So will BFL & Icarus FPGAs.
gnar1ta$
Donator
Hero Member
*
Offline Offline

Activity: 756


View Profile
February 25, 2012, 05:01:21 AM
 #952

Just saw a payment that was too high and found this
Code:
2012-02-24 21:29:38.976578 GOT BLOCK FROM MINER! Passing to bitcoind! http://blockexplorer.com/block/000000000000094d9ff2c8bfad49aeb36f569f4f9e5f9750f27924323eec244b

That's my first block on p2pool.

Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
kano
Legendary
*
Offline Offline

Activity: 1918


Linux since 1997 RedHat 4


View Profile
February 25, 2012, 06:35:59 AM
 #953

Just saw a payment that was too high and found this
Code:
2012-02-24 21:29:38.976578 GOT BLOCK FROM MINER! Passing to bitcoind! http://blockexplorer.com/block/000000000000094d9ff2c8bfad49aeb36f569f4f9e5f9750f27924323eec244b

That's my first block on p2pool.
Hmm I wonder what that is:
value :   0.00077170 BTC
scriptPubKey :   OP_IFDUP OP_IF OP_2SWAP OP_VERIFY OP_2OVER OP_DEPTH

also Smiley Your coinbase (7) : 062f503253482f (./P2SH/)

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
Rubberduckie
Legendary
*
Offline Offline

Activity: 1442



View Profile
February 25, 2012, 06:58:15 AM
 #954

Is the flag to change queue in cgminer -Q 1?

edit: just worked it out

Diapolo
Hero Member
*****
Offline Offline

Activity: 769



View Profile WWW
February 25, 2012, 10:54:19 AM
 #955

1. I setup the bitcoin.conf and use the Windows GUI version 0.52 of the Bitcoin Client and forward TCP ports 6667 and 8333 to the Client.
2. I setup p2pool and forward TCP Port 9333 to the client.
3. I setup CGMINER to use -o http://127.0.0.1:9332 -u User_from_bitcoin.conf -p Password_from_bitcoin.conf.

CGMINER works, there are many LPs and a higher reject rate, than with a normal pool, which is okay from what I know.

But the question is now, how will the payouts work? Is there any good read or reference for this?
I'm asking, because in the p2pool window I see:

Code:
2012-02-25 11:52:42.775000  Shares: 0 (0 orphan, 0 dead) Stale rate: ??? Efficie
ncy: ??? Current payout: 0.0000 BTC

and

Code:
2012-02-25 11:53:16.471000  Local: 479MH/s in last 10.0 minutes Local dead on ar
rival: ~6.0% (2-15%) Expected time to share: 1.4 hours

Will it take 1.4 hours to see an estimated payout amount and will that directly show up in my Bitcoin Client GUI?

Thanks,
Dia

Liked my former work for Bitcoin Core? Drop me a donation via:
1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x
bitcoin:1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x?label=Diapolo
Krak
Hero Member
*****
Offline Offline

Activity: 591



View Profile WWW
February 25, 2012, 11:02:51 AM
 #956

Will it take 1.4 hours to see an estimated payout amount and will that directly show up in my Bitcoin Client GUI?
Your estimated payout will start showing up after you've mined for a while. The payouts will go to a wallet in the Bitcoin client unless you specify a different address with the -a flag.

BTC: 1KrakenLFEFg33A4f6xpwgv3UUoxrLPuGn
Ed
Member
**
Offline Offline

Activity: 69


View Profile
February 25, 2012, 11:51:30 AM
 #957

Just saw a payment that was too high and found this
Code:
2012-02-24 21:29:38.976578 GOT BLOCK FROM MINER! Passing to bitcoind! http://blockexplorer.com/block/000000000000094d9ff2c8bfad49aeb36f569f4f9e5f9750f27924323eec244b

That's my first block on p2pool.

did you receive block finder bounty?
wachtwoord
Legendary
*
Offline Offline

Activity: 1484



View Profile WWW
February 25, 2012, 12:50:10 PM
 #958

Will it take 1.4 hours to see an estimated payout amount and will that directly show up in my Bitcoin Client GUI?

Thanks,
Dia

When the p2pool finds a bitcoin block everyone that contributed will be paid in proportion. see http://p2pool.info/ for the times we found bitcoin blocks, how long the current one takes and how much payout you can expect if we find a block this instant.

The 1.4 hours is a (very rough) estimate of how long it will take you to find a p2pool block (based on your average hash rate in the last 10 minutes I believe). P2ppool blocks are far easier than a bitcoin block (the total p2pool finds one every 10 seconds) and these are used to determine who to pay what when the total p2pool finds a bitcoin block. This happnes proportionally to the total amount of p2pools people submitted in the 24 hours prior to the discovery of the bitcoin block.

Hope this clears things up Smiley

Frizz23
Hero Member
*****
Offline Offline

Activity: 644



View Profile
February 25, 2012, 01:40:10 PM
 #959

did you receive block finder bounty?

block finder bounty?

wachtwoord
Legendary
*
Offline Offline

Activity: 1484



View Profile WWW
February 25, 2012, 02:18:58 PM
 #960

did you receive block finder bounty?

block finder bounty?

The miner  which finds an actual block (main blockchain block) will receive a bonus (5% if I recall correctly), as an extra incentive to report winning blocks Smiley

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 [48] 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 ... 744 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!