Pages:
Author

Topic: [XPM] Primecoin Built-in Miner Sieve Performance Issue - page 24. (Read 69167 times)

sr. member
Activity: 252
Merit: 250
Here's another binary I've made which targets simply x86-64 processors. This SHOULD work over a wider range of processors than my earlier releases. It may not work on 32-bit OSes (not sure).

https://www.dropbox.com/s/q7w4fosqjyqydff/release8_x86-64.zip
stuck at 2 blocks synced no matter how many connections i have

received block 9657908608eeddce30390a30ac72b3348fd584c1b3cb917922707f9cfc01a488
SetBestChain: new best=9657908608eeddce30390a30ac72b3348fd584c1b3cb917922707f9cfc01a488  height=1  difficulty=7 log2Work=13  log2ChainWork=13.044394  tx=2  date=2013-07-07 18:28:00 progress=0.000000
ProcessBlock: ACCEPTED
received block 7edd2add999ca4a7d3c6abbe827a9aa19ea3e0e782e80c299d22599a29ec1f34
SetBestChain: new best=7edd2add999ca4a7d3c6abbe827a9aa19ea3e0e782e80c299d22599a29ec1f34  height=2  difficulty=7 log2Work=13  log2ChainWork=14.022368  tx=3  date=2013-07-07 18:29:58 progress=0.000000
ProcessBlock: ACCEPTED
received block b22946daedabb93d4e9e28945278fd3d9f7ec601ce4aba1a25e6e203cf6fa41f
ERROR: AcceptBlock() : incorrect proof of work
ERROR: ProcessBlock() : AcceptBlock FAILED
Misbehaving: 192.241.209.212:9911 (0 -> 100) DISCONNECTING

Try using -debug and -printtarget and post the ERROR messages about block #3 being rejected again
im now synced and would prefer not to go back to an unsynced state, maybe the next person with this problem can try that
legendary
Activity: 1484
Merit: 1000
Which miner and what commands i should use to test mining on Amd Phenom IIX4 955 processor? Is there any way? couldnt find one working Cry
hero member
Activity: 589
Merit: 500
Here's another binary I've made which targets simply x86-64 processors. This SHOULD work over a wider range of processors than my earlier releases. It may not work on 32-bit OSes (not sure).

https://www.dropbox.com/s/q7w4fosqjyqydff/release8_x86-64.zip
stuck at 2 blocks sync no matter how many connections i have

I don't know what that's about, I suppose you could try the last officially released binary by Sunny. Maybe that will get your blockchain downloaded, then you can switch back to the optimized miner.

Yes, stuck at 2 blocks, and now I am running the original clients and completed 95% synchronization. Let's see what will happen when I change it to release 5#.
legendary
Activity: 1205
Merit: 1010
Here's another binary I've made which targets simply x86-64 processors. This SHOULD work over a wider range of processors than my earlier releases. It may not work on 32-bit OSes (not sure).

https://www.dropbox.com/s/q7w4fosqjyqydff/release8_x86-64.zip
stuck at 2 blocks synced no matter how many connections i have

received block 9657908608eeddce30390a30ac72b3348fd584c1b3cb917922707f9cfc01a488
SetBestChain: new best=9657908608eeddce30390a30ac72b3348fd584c1b3cb917922707f9cfc01a488  height=1  difficulty=7 log2Work=13  log2ChainWork=13.044394  tx=2  date=2013-07-07 18:28:00 progress=0.000000
ProcessBlock: ACCEPTED
received block 7edd2add999ca4a7d3c6abbe827a9aa19ea3e0e782e80c299d22599a29ec1f34
SetBestChain: new best=7edd2add999ca4a7d3c6abbe827a9aa19ea3e0e782e80c299d22599a29ec1f34  height=2  difficulty=7 log2Work=13  log2ChainWork=14.022368  tx=3  date=2013-07-07 18:29:58 progress=0.000000
ProcessBlock: ACCEPTED
received block b22946daedabb93d4e9e28945278fd3d9f7ec601ce4aba1a25e6e203cf6fa41f
ERROR: AcceptBlock() : incorrect proof of work
ERROR: ProcessBlock() : AcceptBlock FAILED
Misbehaving: 192.241.209.212:9911 (0 -> 100) DISCONNECTING

Try using -debug and -printtarget and post the ERROR messages about block #3 being rejected again
sr. member
Activity: 401
Merit: 250
Here's another binary I've made which targets simply x86-64 processors. This SHOULD work over a wider range of processors than my earlier releases. It may not work on 32-bit OSes (not sure).

https://www.dropbox.com/s/q7w4fosqjyqydff/release8_x86-64.zip
stuck at 2 blocks sync no matter how many connections i have

I don't know what that's about, I suppose you could try the last officially released binary by Sunny. Maybe that will get your blockchain downloaded, then you can switch back to the optimized miner.
yep its syncing with the original now

Once you switch back, make sure to check with getmininginfo that the current block number increments at least every 15 seconds or so. I had 1 build that had some kind of problem with UPNP and never incremented the current block. However, I'm running this x86-64 build now and it is keeping up with the blockchain, so hopefully that will be the case for you as well.
sr. member
Activity: 252
Merit: 250
Here's another binary I've made which targets simply x86-64 processors. This SHOULD work over a wider range of processors than my earlier releases. It may not work on 32-bit OSes (not sure).

https://www.dropbox.com/s/q7w4fosqjyqydff/release8_x86-64.zip
stuck at 2 blocks sync no matter how many connections i have

I don't know what that's about, I suppose you could try the last officially released binary by Sunny. Maybe that will get your blockchain downloaded, then you can switch back to the optimized miner.
yep its syncing with the original now
member
Activity: 104
Merit: 10
got my Raspberry Pi mining at 30pps just for the lulz 
sr. member
Activity: 401
Merit: 250
Here's another binary I've made which targets simply x86-64 processors. This SHOULD work over a wider range of processors than my earlier releases. It may not work on 32-bit OSes (not sure).

https://www.dropbox.com/s/q7w4fosqjyqydff/release8_x86-64.zip
stuck at 2 blocks sync no matter how many connections i have

I don't know what that's about, I suppose you could try the last officially released binary by Sunny. Maybe that will get your blockchain downloaded, then you can switch back to the optimized miner.
sr. member
Activity: 252
Merit: 250
Here's another binary I've made which targets simply x86-64 processors. This SHOULD work over a wider range of processors than my earlier releases. It may not work on 32-bit OSes (not sure).

https://www.dropbox.com/s/q7w4fosqjyqydff/release8_x86-64.zip
stuck at 2 blocks synced no matter how many connections i have

received block 9657908608eeddce30390a30ac72b3348fd584c1b3cb917922707f9cfc01a488
SetBestChain: new best=9657908608eeddce30390a30ac72b3348fd584c1b3cb917922707f9cfc01a488  height=1  difficulty=7 log2Work=13  log2ChainWork=13.044394  tx=2  date=2013-07-07 18:28:00 progress=0.000000
ProcessBlock: ACCEPTED
received block 7edd2add999ca4a7d3c6abbe827a9aa19ea3e0e782e80c299d22599a29ec1f34
SetBestChain: new best=7edd2add999ca4a7d3c6abbe827a9aa19ea3e0e782e80c299d22599a29ec1f34  height=2  difficulty=7 log2Work=13  log2ChainWork=14.022368  tx=3  date=2013-07-07 18:29:58 progress=0.000000
ProcessBlock: ACCEPTED
received block b22946daedabb93d4e9e28945278fd3d9f7ec601ce4aba1a25e6e203cf6fa41f
ERROR: AcceptBlock() : incorrect proof of work
ERROR: ProcessBlock() : AcceptBlock FAILED
Misbehaving: 192.241.209.212:9911 (0 -> 100) DISCONNECTING
sr. member
Activity: 401
Merit: 250
looks like I should try out intel's compiler.
Last I looked, several years ago, it wasn't free.
In fact, rather pricey unless you had a justification for the cost.

Has that changed?

You are correct, $1600 for the full C++ studio or $600-700 for just the compiler. But there is a 30-day trial available I might try out.
sr. member
Activity: 476
Merit: 250
looks like I should try out intel's compiler.
Last I looked, several years ago, it wasn't free.
In fact, rather pricey unless you had a justification for the cost.

Has that changed?
sr. member
Activity: 401
Merit: 250
Here's an interesting comparison of compilers/settings, looks like I should try out intel's compiler.

http://www.behardware.com/articles/847-15/the-impact-of-compilers-on-x86-x64-cpu-architectures.html
newbie
Activity: 9
Merit: 0
I get compilation error.

This is the make file command:

Quote
make CXXFLAGS="-O3 -march=native" -j6 -f makefile.unix

and this is the error.

Quote
g++: internal compiler error: Killed (program cc1plus)

What's the solution?

Not enough memory. Make a swapfile or remove the '-O2' from the makefile
Memory is probably the issue indeed. I think it's the -j6 part that should be removed though (-j6 means it will compile 6 files at a time if I understand it correctly). Each compiler thread uses about 300 MB, so 6 will use around 2 GB.
sr. member
Activity: 255
Merit: 250
OMG you are right! thanks. i forgot to make a swap part
sr. member
Activity: 401
Merit: 250
just need some quick assistance.
Code:
make -f makefile.unix USE_UNPN=-
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/don/Downloads/primecoin/src -I/home/don/Downloads/primecoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -I/home/don/Downloads/primecoin/src/leveldb/include -I/home/don/Downloads/primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/alert.d -o obj/alert.o alert.cpp
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
make: *** [obj/alert.o] Error 4

when i try to compile the primecoind i keep getting this error.
note: i have other wallets compiled with this ubuntu 12.04 server so i know i have all the requirements for those.
Thanks

You're out of memory, read this thread for the fix: https://bitcointalksearch.org/topic/xpm-pool-mining-primecoin-using-digitalocean-vps-252944

Also, note that your command is wrong. Should be USE_UPNP=- , not USE_UNPN.
sr. member
Activity: 686
Merit: 259
This is my build, I used -O2 -march=native, I'm running a FX 8350, it gives me ~1250 PPS on that. I placed all the dlls in the rar. Please do your virus check and everything, I compiled that on a VM but still take precautions running a file made by another person.

https://www.dropbox.com/s/6hycwi0i4dzwu1i/Primecoin.rar
Woot! Yours is the first updated version that works for me. Thanks!
Getting 406 PPS on an AMD Phenom X4 965.
EDIT: Make that a 581 PPS

Thank you!
sr. member
Activity: 255
Merit: 250
just need some quick assistance.
Code:
make -f makefile.unix USE_UNPN=-
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/don/Downloads/primecoin/src -I/home/don/Downloads/primecoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -I/home/don/Downloads/primecoin/src/leveldb/include -I/home/don/Downloads/primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/alert.d -o obj/alert.o alert.cpp
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
make: *** [obj/alert.o] Error 4

when i try to compile the primecoind i keep getting this error.
note: i have other wallets compiled with this ubuntu 12.04 server so i know i have all the requirements for those.
Thanks
sr. member
Activity: 401
Merit: 250
pps now varies 400-440. I highly recommend this Zalfrin's build, but still think that this high pps may be a mistake. Will see how many blocks I'll hit in next 24 hrs.

PPS sounds about right, I get around 600 PPS with my 4.4GHz i5.

Now actually getting a block, is pure luck... Lots of miners running with these optimizations now. I've only gotten 1 block on my PC since these code updates came out. I've gotten 4 on my cloud servers.
member
Activity: 182
Merit: 10
This is my build, I used -O2 -march=native, I'm running a FX 8350, it gives me ~1250 PPS on that. I placed all the dlls in the rar. Please do your virus check and everything, I compiled that on a VM but still take precautions running a file made by another person.

https://www.dropbox.com/s/6hycwi0i4dzwu1i/Primecoin.rar

Wov, this thing flies. On my i3 four cores @3Ghz now have 350-400 primespersec! Original 0.1.0 client has around 50, version 5 from last nigh around 150, and now at least 350 with your version. If it is really that fast and not some error, I would mine a few blocks tonight. Will let you know.

Thanks, Zalfrin!

What CPU do you exactly have?. To try to make a better build, after all it's experience to me.

Intel i3 540, 4 cores, 3GHz, 8GB RAM.

pps now varies 400-440. I highly recommend this Zalfrin's build, but still think that this high pps may be a mistake. Will see how many blocks I'll hit in next 24 hrs.

Yeah I found my first 2 blocks with Zalfrin's 5th build on my i3 3225. Thinking maybe that is the right build for my processor instead ofthe x86-64 build.
hero member
Activity: 589
Merit: 500

Thanks.

Should I add the port number? For example,  "addnode 65.29.242.236:51193 add" or "addnode 65.29.242.236 add" ?

I started to mine though it's not synchronized, and I got 450 pps. I am so luck that I got a block in 2 minutes. So is it an orphan block?


If your blockchain isn't synchronized, then yeah probably an orphan.

I haven't used addnode before, but your second example should be right, from the console window.

I have 8 active connections, but only 2 blocks synchronized.

It's a little strange.
Pages:
Jump to: