Bitcoin Forum
April 16, 2021, 11:28:36 PM *
News: Latest Bitcoin Core release: 0.21.0 [Torrent]
 
   Home   Help Search Login Register More  
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 »
  Print  
Author Topic: [XPM] Primecoin Built-in Miner Sieve Performance Issue  (Read 69059 times)
itod
Legendary
*
Offline Offline

Activity: 1736
Merit: 1034


^ Will code for Bitcoins


View Profile
July 11, 2013, 03:59:48 PM
 #261

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.
1618615716
Hero Member
*
Offline Offline

Posts: 1618615716

View Profile Personal Message (Offline)

Ignore
1618615716
Reply with quote  #2

1618615716
Report to moderator
"You Asked For Change, We Gave You Coins" -- casascius
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1618615716
Hero Member
*
Offline Offline

Posts: 1618615716

View Profile Personal Message (Offline)

Ignore
1618615716
Reply with quote  #2

1618615716
Report to moderator
1618615716
Hero Member
*
Offline Offline

Posts: 1618615716

View Profile Personal Message (Offline)

Ignore
1618615716
Reply with quote  #2

1618615716
Report to moderator
Jimmy2011
Hero Member
*****
Offline Offline

Activity: 589
Merit: 500



View Profile
July 11, 2013, 04:01:35 PM
 #262


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.
dudeguy
Member
**
Offline Offline

Activity: 182
Merit: 10



View Profile
July 11, 2013, 04:02:48 PM
 #263

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.
Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 04:04:01 PM
 #264

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.
x3maniac
Sr. Member
****
Offline Offline

Activity: 255
Merit: 250


View Profile
July 11, 2013, 04:06:59 PM
 #265

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 <file:///usr/share/doc/gcc-4.7/README.Bugs> 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
Boing7898
Sr. Member
****
Offline Offline

Activity: 686
Merit: 259



View Profile
July 11, 2013, 04:07:55 PM
 #266

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!
Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 04:11:25 PM
 #267

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 <file:///usr/share/doc/gcc-4.7/README.Bugs> 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://bitcointalk.org/index.php?topic=252944.0

Also, note that your command is wrong. Should be USE_UPNP=- , not USE_UNPN.
x3maniac
Sr. Member
****
Offline Offline

Activity: 255
Merit: 250


View Profile
July 11, 2013, 04:15:19 PM
 #268

OMG you are right! thanks. i forgot to make a swap part
tocket
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
July 11, 2013, 04:17:38 PM
 #269

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.
Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 04:29:31 PM
 #270

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
LazyOtto
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
July 11, 2013, 04:35:22 PM
 #271

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?
Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 04:37:44 PM
 #272

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.
Eli0t
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
July 11, 2013, 04:41:14 PM
 #273

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

LTC:  LKpJf3uk7KsHU73kxq8iFJrP1AAKN7Yni7  DGC:  DKXGvEbj3Rwgrm2QQbRyNPDDZDYoq4Y44d  XPM:  AWV5AKfLFyoBaMjg9C77rGUBhuFxz5DGGL
Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 04:44:50 PM
 #274

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.
xavenged
Member
**
Offline Offline

Activity: 104
Merit: 10


View Profile
July 11, 2013, 04:48:15 PM
 #275

got my Raspberry Pi mining at 30pps just for the lulz 
Eli0t
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
July 11, 2013, 04:50:00 PM
 #276

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

LTC:  LKpJf3uk7KsHU73kxq8iFJrP1AAKN7Yni7  DGC:  DKXGvEbj3Rwgrm2QQbRyNPDDZDYoq4Y44d  XPM:  AWV5AKfLFyoBaMjg9C77rGUBhuFxz5DGGL
Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 04:52:59 PM
 #277

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.
Sunny King
Legendary
*
Offline Offline

Activity: 1205
Merit: 1003



View Profile WWW
July 11, 2013, 04:55:10 PM
 #278

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
Jimmy2011
Hero Member
*****
Offline Offline

Activity: 589
Merit: 500



View Profile
July 11, 2013, 04:57:04 PM
 #279

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#.
kcanup
Legendary
*
Offline Offline

Activity: 1484
Merit: 1000


View Profile
July 11, 2013, 04:57:42 PM
 #280

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
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 »
  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!