Bitcoin Forum
June 20, 2024, 01:22:18 PM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 [2]
21  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: July 18, 2013, 05:49:54 PM
I know it was mentioned somewhere in this 770 post thread but how do you update in linux again?

Or do you just delete the old and do it all over again?
22  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: July 18, 2013, 01:22:01 PM
WOW, already getting flooded with PMs.

Take off your tinfoil hats people. I'm NOT GPU mining. I'm simply running a lot of high power private servers.
then maybe stop broadcasting it just to brag
I don't mind answering questions/getting flames/etc, but apparently everyone thinks I'm beating out people because of a GPU miner.
Would have been beneficial to you and the board if you were just more explicit.  So you have 1 vpn? 2? and on each of these what type of servers? how many? how many cores in each?  

Edit:  Also you imply VPS's are no longer profitable, when it appears you could simply duplicate what you're doing w/ vps so I'm not clear how its not equally profitable, unless you're using someone else's server in a datacenter whose resources are paid by someone else.
Amazon/DO is no longer profitable. Private companies/datacenters is something different. I am paying for the services.

May I ask how to use a lot computers calculation at one wallet? Any mining client can be use? I don't understand how can you have 600K PPS in one wallet? Please share some idea to us. Thanks.

By putting the same wallet.dat on each of the clients.  Then you can just watch the transaction history from one client.
23  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: July 17, 2013, 04:12:48 PM
yes

Do you know how to share a wallet after the fact? If I transferred all my coins to one and then copied that wallet.dat to all the other machines would that do it? That would make my life a lot easier.

I did something similar and it works fine.
24  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: July 16, 2013, 03:29:39 PM
I'm getting "syncronizing with network" every hour, after restarting primecoin-qt it synchronizes and works ok, but after some time it is "out of sync" again  Sad

Yeah I keep getting that too.  Not out-of-sync error message but if I have mined a coin and don't see the number confirms to go move for awhile, I have to restart it.  I have even restarted it and then suddenly have a coin coming.  Never got the out-of-sync error except when at a restart of the wallet client.
25  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: July 16, 2013, 02:55:51 AM
so if I just replace the primecoin-qt.exe and the daemon on this windows machine, what will happen with the coins that are already on this machine? Or is it best to send these coins to another account before installing this release on this machine?

We need good Wiki or a FAQ. Same questions been asked over and over again, and you can't point people anywhere.

Your coins are tied to your private key(s), which is in wallet.dat file. That file is located in totally separate directory from your Primecoin client, and any re-installation has no effect on it.

on a windows machine, where is this wallet.dat file stored? Im not finding it.

Should be appdata/primecoin
26  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: July 15, 2013, 08:37:59 PM
I go to the /usr/local/bin location so that I don't have to type /usr/local/bin/primecoind whenever I want to do another command.  Just simply primecoind command.

That should not work. The current directory you are in is deliberately not on PATH for security reasons, so being there should force you to use ./primecoind command, the ./ meaning in the current directory.

So most likely /usr/local/bin is on your path, it normally is, and that means you don't have to be there, from anywhere you should be able to do primecoind command and it will look on the PATH and find a copy of it in /usr/local/bin and if not there then try /bin and /usr/bin, heck it might even try ~/.local/bin

So you should not have to go there, or, if you do have to, then you should have to use the ./ prefix to force it to look in the current directory.

-MarkM-


I guess I'm super special.  I just "cd /usr/local/bin" and do "primecoind command" and it does work.  Never had the need to do a ./ prefix.

I'm just too lazy to type the entire directory out when the only thing that concerns me in this VM is just primecoind and it works fine.

In any case, thanks for all you guys help in figuring out my original issue even though all I needed to do was reboot the VM for some reason.
27  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: July 15, 2013, 08:15:18 PM
The normal steps I learned to do get primecoin going is:
Code:
git clone https://github.com/mikaelh2/primecoin
cd primecoin/src
make -f makefile.unix
mv primecoind /usr/local/bin
cd /usr/local/bin
primecoind --daemon
watch 'primecoind getmininginfo'

If I tried to do just "primecoind setgenerate true -1" instead of "primecoind --daemon", it says something about couldn't connect to server.

Presumably /usr/local/bin is on your path, because linux normally does not include its current directrory in its path so normally you would have to do ./programname when you go to the program's location to run it. So, since primecoind works, there is no need to cd /usr/local/bin

Also, I didn't even know they had enabled double dash commandline switches like --daemon, does that actually work nowadays? Back in the day all those were single-dash, like -daemon.

So maybe try
Code:
cd primecoin/src
make -f makefile.unix
mv primecoind /usr/local/bin
nice /usr/local/bin/primecoind -daemon -gen=1
watch '/usr/local/bin/primecoind getmininginfo'

-MarkM-


Never tried single dash to be honest.  I was just going by digitalocean's guide which has the double dash.
I didn't include the -gen=1 because it's in my config file already.

I go to the /usr/local/bin location so that I don't have to type /usr/local/bin/primecoind whenever I want to do another command.  Just simply primecoind command.

I finally got "nice" to work nice for me. But it's not being nice to me.  PPS is low and the GPU miner still suffers at 580 something.  Cores usage are all over the place instead of a steady 100%. I'm going back to using 7 cores instead which still gives me only a 500 PPS loss and a drop of only 20khps on the GPU miner.
28  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: July 15, 2013, 07:16:33 PM
Starting up I used
Code:
sudo nice -n19 primecoind --daemon

Still not working for me.

Does nice use PATH lookup? I would have expected it would be up to you to tell it explicitly what to run.

Thus, for example, if primecoind is in the current directory, you'd normally do ./primecoind since path lookup does not normally look in current directory, but, using nice, I would think nice is looking in the current directory for primecoin since you didn't tell it for example to run /usr/local/bin/primecoind.

So make sure primecoind is where you are telling nice that it is...

primestart.sh
Code:
#!/bin/bash


PRIMECOIND=/usr/local/bin/primecoind
DATADIR=$HOME/.primecoin


nice ${PRIMECOIND} -datadir=$DATADIR -rescan -maxconnections=8 \
        -rpcuser=primeuser -rpcpassword=TopSecretPasswordForRPC \
        -gen=1 -daemon -rpcport=9912

Also, is 19 niceness really necessary? Doesn't the normal plain old nice, which defaults to niceness of 10, suffice? Are you sure you want CPU mining to have the lowest priority of all, behind all normal nice'd processes? It defaults to 10 to leave room for ridiculously low priority things to be given more niceness and to leave room for some things to be nice but not as nice as normal/default nicenss of 10...

Also, why the fuck do you run a coin daemon as root? Isn't it bad enough not running it as a user specially created for that coin so it has no access to other users stuff, without going and giving it root access to your machine, even IF you put it in a virtual machine all to itself? (aka WFT is sudo in there for?!?!?!)

-MarkM-


Easy there now, calm down.  I'm only just starting out on linux.

I was suggested by someone else to do "nice -n19" by someone else.  I'm trying to give it a lower priority since it's dropping my GPU mining hash rate from 700khps to 500khps.  I was told to use "nice" command instead of setgenerate true 7.

The normal steps I learned to do get primecoin going is:
Code:
git clone https://github.com/mikaelh2/primecoin
cd primecoin/src
make -f makefile.unix
mv primecoind /usr/local/bin
cd /usr/local/bin
primecoind --daemon
watch 'primecoind getmininginfo'

If I tried to do just "primecoind setgenerate true -1" instead of "primecoind --daemon", it says something about couldn't connect to server.

Now I'm trying to understand how to use the nice command.  Someone said to use it when I first start primecoind but that didn't do anything.

The sudo is there because when I tried just "nice primecoind --daemon", it gave me a permission error."
29  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: July 15, 2013, 06:31:14 PM
Now I'm looking into this "nice" command which is difficult to google by the way.
man nice.


Quote
I set:
Code:
sudo nice -n -20 primecoind setgenerate true -1

And I'm still taking a 200khps hit on my GPU mining.  It did improve by 50khps over the old way.
That's normal, because this does not do anything.
What you need is to nice the main process, i.e. when you start primecoind, do "nice primecoind".

Code:
nice -n19 ./primecoind

Also, you were using -20 which is very wrong - it gives the process the most priority (thankfully you did not apply it to the right process, your system would explode).


I couldn't figure out how to turn off my primecoind service so I just rebooted it again.

Starting up I used
Code:
sudo nice -n19 primecoind --daemon

Still not working for me.
30  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: July 15, 2013, 06:11:12 PM
I understand that.  It kills my GPU mining when I use all cores.  But I think you missed something in my post.  I'm getting 5k PPS on 7 cores in the windows client but only 1k PPS in the Linux one.

Look up the "nice" command.

Any CPU mining, whether built in to a coin or using minerd aka cpuminer or whatever, use "nice coind" or "nice minerd", it runs at lower priority so does not seem to impact GPU mining nor FPGA mining nor ASIC mining yet still gets to use most of the cores most of the time.

-MarkM-


For debug purpose, I've shut down my GPU mining and tried all cores.  I still only get about 1200PPS in linux vm but I'm getting 6000 in Windows.

I was chitchatting with someone else and he said his Linux PPS got halved when he switched to this client too.

Which Linux distribution are you using? I suspect some distributions might not be supplying a properly optimized version of GMP. I may eventually start releasing my own Linux binaries.

Ubuntu 12.04

Looks like Ubuntu 12.04 comes with GMP version 5.0.2. That's from Aug 2011. It may fail to recognize newer CPUs. In that case, it won't choose the optimal code path.

I think I had it updated already.  Then I tried removing it and reinstalled it, still no go.  It wasn't till I restarted the vm client that my pps numbers came to be what it should've been.
31  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: July 15, 2013, 04:57:51 PM
I understand that.  It kills my GPU mining when I use all cores.  But I think you missed something in my post.  I'm getting 5k PPS on 7 cores in the windows client but only 1k PPS in the Linux one.

Look up the "nice" command.

Any CPU mining, whether built in to a coin or using minerd aka cpuminer or whatever, use "nice coind" or "nice minerd", it runs at lower priority so does not seem to impact GPU mining nor FPGA mining nor ASIC mining yet still gets to use most of the cores most of the time.

-MarkM-


For debug purpose, I've shut down my GPU mining and tried all cores.  I still only get about 1200PPS in linux vm but I'm getting 6000 in Windows.

I was chitchatting with someone else and he said his Linux PPS got halved when he switched to this client too.

Which Linux distribution are you using? I suspect some distributions might not be supplying a properly optimized version of GMP. I may eventually start releasing my own Linux binaries.

Ubuntu 12.04
32  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: July 15, 2013, 04:36:18 PM
I understand that.  It kills my GPU mining when I use all cores.  But I think you missed something in my post.  I'm getting 5k PPS on 7 cores in the windows client but only 1k PPS in the Linux one.

Look up the "nice" command.

Any CPU mining, whether built in to a coin or using minerd aka cpuminer or whatever, use "nice coind" or "nice minerd", it runs at lower priority so does not seem to impact GPU mining nor FPGA mining nor ASIC mining yet still gets to use most of the cores most of the time.

-MarkM-


I fixed my PPS in linux by restarting the linux VM.

Now I'm looking into this "nice" command which is difficult to google by the way.

I set:
Code:
sudo nice -n -20 primecoind setgenerate true -1

And I'm still taking a 200khps hit on my GPU mining.  It did improve by 50khps over the old way.
33  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: July 15, 2013, 03:17:33 PM
I understand that.  It kills my GPU mining when I use all cores.  But I think you missed something in my post.  I'm getting 5k PPS on 7 cores in the windows client but only 1k PPS in the Linux one.

Look up the "nice" command.

Any CPU mining, whether built in to a coin or using minerd aka cpuminer or whatever, use "nice coind" or "nice minerd", it runs at lower priority so does not seem to impact GPU mining nor FPGA mining nor ASIC mining yet still gets to use most of the cores most of the time.

-MarkM-


For debug purpose, I've shut down my GPU mining and tried all cores.  I still only get about 1200PPS in linux vm but I'm getting 6000 in Windows.

I was chitchatting with someone else and he said his Linux PPS got halved when he switched to this client too.
34  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: July 15, 2013, 03:00:42 PM
Prior to this release I was getting about 1400 PPS in the Windows client and about 1800-2000 PPS in my ubuntu VM.

I downloaded this Windows one and get about 5k PPS on 7 cores on my FX-8350 @ 4.7ghz.

I tried the the linux one and I'm only getting ~996 PPS?

I like using the linux one because it always seems to be 10c cooler and prior to this I was getting higher PPS in linux.

Steps I did:

Code:
apt-get install make
apt-get install git
git clone https://github.com/mikaelh2/primecoin
apt-get install libgmp-dev
sudo apt-get update
sudo apt-get install python-software-properties screen python-rrdtool python-pygame python-scipy python-twisted python-twisted-web python-imaging build-essential libglib2.0-dev libglibmm-2.4-dev python-dev autoconf automake ncurses-dev sysstat gcc-mingw32 libmysql++-dev cloog-ppl build-essential automake gcc libevent-dev libmemcached-dev libcurl4-openssl-dev zlib1g-dev libjansson-dev curl memcached libtool unzip freeglut3-dev libxi-dev libxmu-dev build-essential freeglut3-dev libxi-dev libxmu-dev mpich2 libdb-dev libminiupnpc-dev libboost-all-dev libdb++-dev git uthash* libgmp3-dev

cd ~/primecoin/src
make -f makefile.unix
mv primecoind /usr/local/bin

primecoind setgenerate true 7

I'm a linux noob so go easy on me.

primecoind setgenerate true -1 is better as it optimizes for your cpu

I understand that.  It kills my GPU mining when I use all cores.  But I think you missed something in my post.  I'm getting 5k PPS on 7 cores in the windows client but only 1k PPS in the Linux one.
35  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: July 15, 2013, 02:31:36 PM
Prior to this release I was getting about 1400 PPS in the Windows client and about 1800-2000 PPS in my ubuntu VM.

I downloaded this Windows one and get about 5k PPS on 7 cores on my FX-8350 @ 4.7ghz.

I tried the the linux one and I'm only getting ~996 PPS?

I like using the linux one because it always seems to be 10c cooler and prior to this I was getting higher PPS in linux.

Steps I did:

Code:
apt-get install make
apt-get install git
git clone https://github.com/mikaelh2/primecoin
apt-get install libgmp-dev
sudo apt-get update
sudo apt-get install python-software-properties screen python-rrdtool python-pygame python-scipy python-twisted python-twisted-web python-imaging build-essential libglib2.0-dev libglibmm-2.4-dev python-dev autoconf automake ncurses-dev sysstat gcc-mingw32 libmysql++-dev cloog-ppl build-essential automake gcc libevent-dev libmemcached-dev libcurl4-openssl-dev zlib1g-dev libjansson-dev curl memcached libtool unzip freeglut3-dev libxi-dev libxmu-dev build-essential freeglut3-dev libxi-dev libxmu-dev mpich2 libdb-dev libminiupnpc-dev libboost-all-dev libdb++-dev git uthash* libgmp3-dev

cd ~/primecoin/src
make -f makefile.unix
mv primecoind /usr/local/bin

primecoind setgenerate true 7

I'm a linux noob so go easy on me.
36  Alternate cryptocurrencies / Altcoin Discussion / Re: [ANN][Multi-Coin][Stratum] multipool.in - Always Mine the most profitable coin on: June 13, 2013, 03:25:14 PM
I've started mining with multipool.in:7777.  It appears to be working and communicating well.  It has been 2 hours and I'm not seeing any updates in My Stats.

Did I do something wrong?

What's your username?

Sorry, I thought I'd get an email notification if I got a reply but didn't get one.  I finally got it working.  I can't remember what I had done though.

Now I'm on a new issue.

I mined on port 7777 for awhile, but wanted to build up on 1 coin to play with so i switched to port 3343 for DGC.  Now I wanted to switch to port 3342 but it won't let me.

I'm using cgminer and here's what I've done:

  • Changed the port # in config file, restarted cgminer.  It added 3342 as a pool option but port 3343 stayed active
  • Tried to switch to pool with the port # 3342 within the pool option and it won't switch.
  • Exited cgminer, changed the port # in the .bat file, started up cgminer.  Again port # 3343 is active while the other ports are back ups.
  • In the pool menu of cgminer, I disabled the pool with port # 3343, it did switch to port #3342... but it won't hash.  Nothing comes up.

I don't know what else to try.

Update:  I tried disabling pool with port # 3343, restarted cgminer, but it just re-enabled the pool with port # 3343.

Update:  nevermind, it's working now.  I went into pool menu, removed pools, quit cgminer.  Restarted with .bat file, and it started back up.  For whatever reason though, at startup I was getting an error about network at pool being slow or bad credentials.  But it appears to be fine now because the site is showing that I've got a hashrate going.
37  Alternate cryptocurrencies / Altcoin Discussion / Re: [ANN][Multi-Coin][Stratum] multipool.in - Always Mine the most profitable coin on: June 07, 2013, 09:14:15 PM
I've started mining with multipool.in:7777.  It appears to be working and communicating well.  It has been 2 hours and I'm not seeing any updates in My Stats.

Did I do something wrong?
Pages: « 1 [2]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!