Pages:
Author

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

sr. member
Activity: 473
Merit: 250

First of all, thank you -- second -- I am still seeing single digits primespersec, which makes me think there is something else wrong.

My config file looks like:

rpcallowip=127.0.0.1
rpcuser=solo_user
rpcpassword=solo_user_password
rpcport=19911

port=9911
daemon=1
server=1
gen=1
listen=1
testnet=0

Anything glaring out at you here?


A few yes, it takes time for pps to build up. I would give it 20 minutes or so.

Second, what CPU do you have?


Give me a FLO/LKY/MEC/WDC address and I'll send you some coin
full member
Activity: 220
Merit: 100
Any chance for a recompile with -static-libgcc and -static-libstdc++ ?

I honestly have to go to bed soon  (kids to pack to school and work), otherwise I would.

If you want I can send you libstdc++-6.dll & libgcc_s_dw2-1.dll and drop them into the same folder.

I got mine from an install of the megaclient (you can probably find them online too).

I have both of those .ddls in the directory, and in system32, but I'm receiving this error below:

"The procedure entry point _ZNSt12out_of_rangeD2Ev"

Is anyone else having this problem?

I had to try 4 versions of that DLL until I found the right one.  Hang, on, I'll upload the one that worked

edit: nevermind, OP beat me
full member
Activity: 224
Merit: 100

First of all, thank you -- second -- I am still seeing single digits primespersec, which makes me think there is something else wrong.

My config file looks like:

rpcallowip=127.0.0.1
rpcuser=solo_user
rpcpassword=solo_user_password
rpcport=19911

port=9911
daemon=1
server=1
gen=1
listen=1
testnet=0

Anything glaring out at you here?


A few yes, it takes time for pps to build up. I would give it 20 minutes or so.

Second, what CPU do you have?

Any chance you can help us out with how to compile in windows machines.  I would be willing to send some coins your way and I am sure others would be as well for the little bit of help.
full member
Activity: 140
Merit: 100
I'm getting "The program can't start because libgcc_s_dw2-1.dll is missing from your computer. Try reinstalling the program to fix this problem."

Please tell me I'm not retarded.

Yep, sorry I compiled it without the DLL's included;

https://www.dropbox.com/s/5uot5d5xiwxfln6/libs.zip

Thats why JoeMattie asked me to compile with them included,

Unzip those into your program files directory and you should be fine.
full member
Activity: 220
Merit: 100
Any chance for a recompile with -static-libgcc and -static-libstdc++ ?

I honestly have to go to bed soon  (kids to pack to school and work), otherwise I would.

If you want I can send you libstdc++-6.dll & libgcc_s_dw2-1.dll and drop them into the same folder.

I got mine from an install of the megaclient (you can probably find them online too).

Got it working already.  I only ask for the n00bs Tongue

Thanks, by the way, seems to be working well
newbie
Activity: 50
Merit: 0
Any chance for a recompile with -static-libgcc and -static-libstdc++ ?

I honestly have to go to bed soon  (kids to pack to school and work), otherwise I would.

If you want I can send you libstdc++-6.dll & libgcc_s_dw2-1.dll and drop them into the same folder.

I got mine from an install of the megaclient (you can probably find them online too).

I have both of those .ddls in the directory, and in system32, but I'm receiving this error below:

"The procedure entry point _ZNSt12out_of_rangeD2Ev could not be located in the dynamic link library libstdc++-6.dll"

Is anyone else having this problem?

Edit: I found a different version of libstdc++-6.dll and it worked. The link below with both .ddls also works. I also needed to add mingwm10.ddl. Thanks a lot, OP. A donation will be coming your way.
newbie
Activity: 9
Merit: 0
I'm getting "The program can't start because libgcc_s_dw2-1.dll is missing from your computer. Try reinstalling the program to fix this problem."

Please tell me I'm not retarded.
sr. member
Activity: 473
Merit: 250
file this under "I must be getting old"

Now that I've given it a little time, the pps is rising.  I didn't realize it took fime.

~nh
full member
Activity: 140
Merit: 100

First of all, thank you -- second -- I am still seeing single digits primespersec, which makes me think there is something else wrong.

My config file looks like:

rpcallowip=127.0.0.1
rpcuser=solo_user
rpcpassword=solo_user_password
rpcport=19911

port=9911
daemon=1
server=1
gen=1
listen=1
testnet=0

Anything glaring out at you here?


A few yes, it takes time for pps to build up. I would give it 20 minutes or so.

Second, what CPU do you have?
full member
Activity: 140
Merit: 100
Any chance for a recompile with -static-libgcc and -static-libstdc++ ?

I honestly have to go to bed soon  (kids to pack to school and work), otherwise I would.

If you want I can send you libstdc++-6.dll & libgcc_s_dw2-1.dll and drop them into the same folder.

I got mine from an install of the megaclient (you can probably find them online too).
full member
Activity: 158
Merit: 100
Hi Mike, are you the guy that "alert" sunny of this problem! Thanks for the contribution!
Hi hl5460,
no, I'm not.
Just working on some optimizations of my own and this came to my mind when I thought about his change.

Kind regards
Mike
full member
Activity: 220
Merit: 100
ok, hopefully the karmic universe will throw something back my way for this. Here is the windows qt-client I built with the new code in:

https://www.dropbox.com/s/zzp42h320e8ogt2/Primecoin.zip

Please...I don't want accusations of stealing wallets or anything about trojans / viruses.  So please virus scan the file first and go into your existing client and encrypt your wallet and then back up your wallet.dat, then try this client.

Also I built this with -march=native, so its optimized for an i5, but it should be ok for i7 too.

I am only sharing this as I know what its like to miss out on crypto mining..

If anyone has luck, tips are welcome:

APY8fYJxuMe2hvHMHKBMWzURMCrYmCsKrB

Again, use at your own risk. Its working away for me here, but I take no responsibility for any consequence of using this client.

As for how it is progressing, I was between 90-120 before, now I am 150 to 200



Any chance for a recompile with -static-libgcc and -static-libstdc++ ?
legendary
Activity: 1621
Merit: 1000
news.8btc.com
I have been alerted that certain classes of system continue to experience extremely low primespersec values. Upon investigation it seems certain systems have performance problems with the sieve, causing extended sieve round time. A temporary fix is now pushed to github. Please note I don't have enough time yet to fully test this solution, so try it out first to see if this resolves your system's problems.

https://github.com/primecoin/primecoin/commit/338e61568a32e74fa112edf1f3d8eee8d6780ae9

Please report back if this resolves your performance issues.
Hi Sunny King,
inspired by that I added something else (though I'm still testing):
Make that
while (psieve->Weave() && (pindexPrev==pindexBest) && (GetTimeMicros() - nStart < 3000000));
and add a
CBlockIndex* pindexPrev=pindexBest;
as first line of MineProbablePrimeChain().
Also, make that
while (nCurrent - nStart < 10000 && nCurrent >= nStart && (pindexPrev==pindexBest))
later on.
Should theoretically provide an automatic exit if the best block changes during work.
(But I'm still testing it)


Hi Mike, are you the guy that "alert" sunny of this problem! Thanks for the contribution!
full member
Activity: 140
Merit: 100
ok, hopefully the karmic universe will throw something back my way for this. Here is the windows qt-client I built with the new code checked in by Sunny King/

https://www.dropbox.com/s/zzp42h320e8ogt2/Primecoin.zip

And will all DLL's

https://www.dropbox.com/s/gba0tqw01qbvzlk/windows-qt.zip

Please...I don't want accusations of stealing wallets or anything about trojans / viruses.  So please virus scan the file first and go into your existing client and encrypt your wallet and then back up your wallet.dat, then try this client.

Also I built this with -march=native, so its optimized for an i5, but it should be ok for i7 too.

I am only sharing this as I know what its like to miss out on crypto mining..

If anyone has luck, tips are welcome:

APY8fYJxuMe2hvHMHKBMWzURMCrYmCsKrB

Again, use at your own risk. Its working away for me here, but I take no responsibility for any consequence of using this client.

As for how it is progressing, I was between 90-120 before, now I am 150 to 200



EDIT: You may also need the gcc dll's too (put them in the same folder):
full member
Activity: 158
Merit: 100
I have been alerted that certain classes of system continue to experience extremely low primespersec values. Upon investigation it seems certain systems have performance problems with the sieve, causing extended sieve round time. A temporary fix is now pushed to github. Please note I don't have enough time yet to fully test this solution, so try it out first to see if this resolves your system's problems.

https://github.com/primecoin/primecoin/commit/338e61568a32e74fa112edf1f3d8eee8d6780ae9

Please report back if this resolves your performance issues.
Hi Sunny King,
inspired by that I added something else (though I'm still testing):
Make that
while (psieve->Weave() && (pindexPrev==pindexBest) && (GetTimeMicros() - nStart < 3000000));
and add a
CBlockIndex* pindexPrev=pindexBest;
as first line of MineProbablePrimeChain().
Also, make that
while (nCurrent - nStart < 10000 && nCurrent >= nStart && (pindexPrev==pindexBest))
later on.
Should theoretically provide an automatic exit if the best block changes during work.
(But I'm still testing it)
newbie
Activity: 50
Merit: 0
I got a nice increase as well. From ~60pps to 151pps and still rising. cpu: AMD Athlon II x3 455 unlocked to phenom II x4 B55.



Yeah, I have a dual core unlocked to a Phenom II x4 B55, and I can only hit about 70pps. Unfortunately this is a Windows box, and I've never compiled anything on Windows. It would be nice to double the pps.

anyone have a windows or osx build with the latest suggested updates/patches/speed improvements?

+1.
hero member
Activity: 552
Merit: 500
anyone have a windows or osx build with the latest suggested updates/patches/speed improvements?
hero member
Activity: 714
Merit: 510
I figured it out. ./primecoind setgenerate true -1

then to check that it's running ./primecoind getmininginfo

This applies to anyone else as well who started the daemon and couldn't figure it out. You have to pass commands to it, it's basically the console window from primecoin.exe
member
Activity: 77
Merit: 10
Has anyone here *by any chance* managed to compile this under OpenSUSE. Seems like there is a miniupnpc gallery missing (I shall ask on dedicated forum anyway).

Here's my repository with various *coin-packages:
https://build.opensuse.org/project/show?project=home%3Ap_conrad:coins

It's somewhat experimental, i. e. I've included some of the optimizations discussed in the main Primecoin announcement thread. But you can leave out the -opts patch and build for yourself.

Oh, and miniupnpc is available on newer OpenSUSE versions only.
hero member
Activity: 756
Merit: 501
primecoind doesn't do anything once compiled. Is there a missing step?
It's a daemon, running in the background. This site should help you.
https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list
e.g. ./primecoind getinfo
Pages:
Jump to: