Bitcoin Forum
May 26, 2022, 11:53:48 AM *
News: Latest Bitcoin Core release: 23.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 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 ... 131 »
  Print  
Author Topic: [XPM] [ANN] Primecoin High Performance | HP14 released!  (Read 397530 times)
RandyFolds
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250



View Profile
July 21, 2013, 09:20:38 AM
 #941

Hm, I went for a reinstall for my server and it seems like there is some old data populating back.

I have used rm -f primecoin-hp/src  and rm --recursive primecoin-hp/src

However, when I reinstall and use these commands,

/primecoin-hp/src# primecoind stop
error: incorrect rpcuser or rpcpassword (authorization failed)


primecoind --daemon      
Error: Cannot obtain a lock on data directory /root/.primecoin. Primecoin is probably already running.

I used these commands
https://bitbucket.org/mikaelh/primecoin-hp
make -f makefile.unix USE_UPNP=-
mkdir ~/.primecoin
echo "rpcuser=USER
rpcpassword=PASSWORD
gen=1" > ~/.primecoin/primecoin.conf
sudo mv -f primecoind /usr/local/bin/.
primecoind --daemon
watch 'primecoind listtransactions & primecoind getmininginfo'

Any ideas how to fix the rpcuser problem?
I checked sudo nano ~/.primecoin/primecoin.conf  and it looks all fine.

Edit your primecoin.conf file back to what it was when you started the daemon, then terminate it. Probably old primecoind running. That worked for me when I ran into this.

Look guys! You're teaching me linux! Aren't you proud?
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1653566028
Hero Member
*
Offline Offline

Posts: 1653566028

View Profile Personal Message (Offline)

Ignore
1653566028
Reply with quote  #2

1653566028
Report to moderator
oroqen
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250



View Profile
July 21, 2013, 09:23:08 AM
 #942

Hm, I went for a reinstall for my server and it seems like there is some old data populating back.

I have used rm -f primecoin-hp/src  and rm --recursive primecoin-hp/src

However, when I reinstall and use these commands,

/primecoin-hp/src# primecoind stop
error: incorrect rpcuser or rpcpassword (authorization failed)


primecoind --daemon      
Error: Cannot obtain a lock on data directory /root/.primecoin. Primecoin is probably already running.

I used these commands
https://bitbucket.org/mikaelh/primecoin-hp
make -f makefile.unix USE_UPNP=-
mkdir ~/.primecoin
echo "rpcuser=USER
rpcpassword=PASSWORD
gen=1" > ~/.primecoin/primecoin.conf
sudo mv -f primecoind /usr/local/bin/.
primecoind --daemon
watch 'primecoind listtransactions & primecoind getmininginfo'

Any ideas how to fix the rpcuser problem?
I checked sudo nano ~/.primecoin/primecoin.conf  and it looks all fine.

Edit your primecoin.conf file back to what it was when you started the daemon. That worked for me when I ran into this.

Look guys! You're teaching me linux! Aren't you proud?

It's like watching a baby take its first steps, so much pride in the future
maco
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250



View Profile
July 21, 2013, 09:30:02 AM
 #943

you guys are a funny bunch.  I have already noted I can access primecoin.conf
That was the whole point, because I have made the edit, and it still comes up.

The information is all available on ubu's sites, so no I don't need the professors teaching me linux.

all I am asking is for ideas to overcome it
RandyFolds
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250



View Profile
July 21, 2013, 09:32:13 AM
 #944

you guys are a funny bunch.  I have already noted I can access primecoin.conf
That was the whole point, because I have made the edit, and it still comes up.

But did you edit primecoin.conf while primecoind was running? Could also just hard reboot, but I have no idea which build you'd end up running or how linux delineates that kind of stuff.

e: dude, I am making fun of myself. I had never used linux prior to firing up these DO droplets, but now I think I actually know the solution to your problem because I encountered it myself. Old primcoind wants old primecoin.conf.
oroqen
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250



View Profile
July 21, 2013, 09:40:05 AM
 #945

you guys are a funny bunch.  I have already noted I can access primecoin.conf
That was the whole point, because I have made the edit, and it still comes up.

The information is all available on ubu's sites, so no I don't need the professors teaching me linux.

all I am asking is for ideas to overcome it
Seems like you may have changed rpcuser/password while daemon was still running, you could try killing it with "killall primecoind" and give it a second to close before running it again
RandyFolds
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250



View Profile
July 21, 2013, 09:41:11 AM
 #946

you guys are a funny bunch.  I have already noted I can access primecoin.conf
That was the whole point, because I have made the edit, and it still comes up.

The information is all available on ubu's sites, so no I don't need the professors teaching me linux.

all I am asking is for ideas to overcome it
Seems like you may have changed rpcuser/password while daemon was still running, you could try killing it with "killall primecoind" and give it a second to close before running it again

See, that's what someone who know's how to use linux would tell you to do.
maco
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250



View Profile
July 21, 2013, 09:51:18 AM
 #947

you guys are a funny bunch.  I have already noted I can access primecoin.conf
That was the whole point, because I have made the edit, and it still comes up.

The information is all available on ubu's sites, so no I don't need the professors teaching me linux.

all I am asking is for ideas to overcome it
Seems like you may have changed rpcuser/password while daemon was still running, you could try killing it with "killall primecoind" and give it a second to close before running it again

Thanks. I have tried that, but it still has the same problem. Says the info is incorrect.

I think I was using chemists build before this one. Problem is still open as I am working to find a solution. I don't think daemon is dieing, I am trying to kill the S.O.B!
RandyFolds
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250



View Profile
July 21, 2013, 10:16:49 AM
 #948

you guys are a funny bunch.  I have already noted I can access primecoin.conf
That was the whole point, because I have made the edit, and it still comes up.

The information is all available on ubu's sites, so no I don't need the professors teaching me linux.

all I am asking is for ideas to overcome it
Seems like you may have changed rpcuser/password while daemon was still running, you could try killing it with "killall primecoind" and give it a second to close before running it again

Thanks. I have tried that, but it still has the same problem. Says the info is incorrect.

I think I was using chemists build before this one. Problem is still open as I am working to find a solution. I don't think daemon is dieing, I am trying to kill the S.O.B!

Did you write a script to auto start it? If so, why not remove it and just reboot the instance?
Tamis
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile
July 21, 2013, 11:08:36 AM
 #949

Ok i've been playing around with testnet and sievesize, the results are here : https://bitcointalk.org/index.php?topic=259641
PSL
Member
**
Offline Offline

Activity: 166
Merit: 10


View Profile
July 21, 2013, 11:22:57 AM
Last edit: July 21, 2013, 06:44:06 PM by PSL
 #950

Hm, I went for a reinstall for my server and it seems like there is some old data populating back.

I have used rm -f primecoin-hp/src  and rm --recursive primecoin-hp/src

However, when I reinstall and use these commands,

/primecoin-hp/src# primecoind stop
error: incorrect rpcuser or rpcpassword (authorization failed)


Any ideas how to fix the rpcuser problem?
I checked sudo nano ~/.primecoin/primecoin.conf  and it looks all fine.

Try this sequence:
Code:
mkdir ~/.primecoin
cat <<+++ > ~/.primecoin/primecoin.conf
rpcuser=USER
rpcpassword=PASSWORD
gen=1
+++
chmod 600 ~/.primecoin/primecoin.conf

git clone https://bitbucket.org/mikaelh/primecoin-hp.git

cd primecoin-hp/src
git pull
make -f makefile.unix clean
make -f makefile.unix USE_UPNP=-
strip primecoind
sudo cp -f primecoind /usr/local/bin/.

primecoind --daemon --server
watch 'primecoind listtransactions && primecoind getmininginfo'
mikaelh
Sr. Member
****
Offline Offline

Activity: 301
Merit: 250


View Profile
July 21, 2013, 11:25:53 AM
 #951

/primecoin-hp/src# primecoind stop
error: incorrect rpcuser or rpcpassword (authorization failed)


Your primecoin daemon was started with a different password in the config file. Just kill it off by typing:
Code:
killall primecoind
Tuck Fheman
Sr. Member
****
Offline Offline

Activity: 363
Merit: 250


View Profile WWW
July 21, 2013, 11:46:40 AM
 #952

On testnet, I found that a sievesize=6144000 outperformed every other sievesize I tried (incl. 6000000 & 6246400) by 30% using an i7.  

However, when i try to use this sievesize mining live, h5 crashes as soon as mining starts (every time).  It's unfortunate because it showed such promise on testnet.  

Blocks were coming in 4-5 chunks at a time steadily, even hit 6 blocks in 1 minute (no other setting hit above 4 blocks/min).

same here, 6144000 crashed h5 as soon as it attemps to mine on a i7 3770k with 16gb of ram.

Did you get better results on testnet with 4M than 1M ?

How do you activate testnet ? I can't check it on the debug window.

The best sievesize's I found were ...

Build - Sievesize - PPS  - Blocks in 10 minutes
HP3  - 1000000  - 7387 - 14
HP5  - 2000000  - 7092 - 14
HP5  - 4000000  - 7911 - 15 (3 at a time usually)
HP4  - 6000000  - 7819 - 15
HP4  - 6144000  - 7430 - 20
HP3  - 6553600  - 5042 - 20 (steady 2 per minute)
HP5  - 5000000  - 7815 - 22
HP5  - 6000000  - 6919 - 23
HP5  - 6144000  - 7876 - 29 (4 at a time usually + 6 in 1 minute) - same result using "-1" or "6" threads.

Nothing above 4608000 worked for me mining live w/HP5 and using higher settings live w/HP3 worked (without crashing) but was yielding very low PPS (in the hundreds) live.

I get a higher PPS @ 1M or 2M live on HP5.

I have no idea if the testnet actually "test" anything to be honest.  Sad  None of the data I collected translates over into real world mining ... especially since the client shuts down and no blocks are being found for days using the same settings that worked so well on the testnet.

So I'm trying the highest testnet settings that yielded the best results that will still work live and seeing how it goes. So far (6 hours or so, no blocks).

To answer your question ... add "-testnet" to the command line.

Tamis
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile
July 21, 2013, 12:04:13 PM
 #953

Thanks for the details Tuck Fheman !

Here are my recent tests : https://bitcointalk.org/index.php?topic=259641.msg2772839#msg2772839

It's intersting to note that we do not have the same results with the same sievesize on testnet, that's could be cpu dependent or like you say testnet is not reliable at all.
mikaelh
Sr. Member
****
Offline Offline

Activity: 301
Merit: 250


View Profile
July 21, 2013, 12:28:16 PM
 #954

HP5  - 6144000  - 7876 - 29 (4 at a time usually + 6 in 1 minute) - same result using "-1" or "6" threads.

Use multiples of 200k for sieve size with HP5. One of the internal loops goes over 200k elements. If there's a small bug there somewhere, it might crash when sieve size is not a multiple of 200k.
Tuck Fheman
Sr. Member
****
Offline Offline

Activity: 363
Merit: 250


View Profile WWW
July 21, 2013, 01:17:40 PM
 #955


Use multiples of 200k for sieve size with HP5. One of the internal loops goes over 200k elements. If there's a small bug there somewhere, it might crash when sieve size is not a multiple of 200k.

Thanks for that info!

nmersulypnem
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
July 21, 2013, 02:03:15 PM
 #956


Use multiples of 200k for sieve size with HP5. One of the internal loops goes over 200k elements. If there's a small bug there somewhere, it might crash when sieve size is not a multiple of 200k.

Thanks for that info!

I think their might be some race conditions that don't exist on testnet.  Does anyone have timing numbers on how long the sieve takes to wieve and how long we have, on average, to find a block before someone else solves it?
krikunalta
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
July 21, 2013, 03:45:28 PM
 #957

hp5 client crashes on win 7 64bit random
notlist3d
Legendary
*
Offline Offline

Activity: 1470
Merit: 1000



View Profile
July 21, 2013, 04:25:55 PM
 #958

hp5 client crashes on win 7 64bit random

Same here i went back to 4 after a few crashes.
notlist3d
Legendary
*
Offline Offline

Activity: 1470
Merit: 1000



View Profile
July 21, 2013, 04:29:18 PM
 #959


Use multiples of 200k for sieve size with HP5. One of the internal loops goes over 200k elements. If there's a small bug there somewhere, it might crash when sieve size is not a multiple of 200k.

Thanks for that info!

Sorry for such a newb question.  What is command to change sieve size?  I didn't see config file for it.
Tamis
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile
July 21, 2013, 04:57:28 PM
 #960


Use multiples of 200k for sieve size with HP5. One of the internal loops goes over 200k elements. If there's a small bug there somewhere, it might crash when sieve size is not a multiple of 200k.

Thanks for that info!

Sorry for such a newb question.  What is command to change sieve size?  I didn't see config file for it.

in primecoin.conf add "sievesize=...."
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 ... 131 »
  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!