Pages:
Author

Topic: [XMR] Monero Mining - page 38. (Read 264826 times)

legendary
Activity: 2156
Merit: 1131
September 22, 2014, 03:26:29 AM
...
What about solo-mining on these instances?
Someone else actually already PMed me about this. In order to solo mine (with gpu), you need access to a running/synced instance of bitmonerod, whether that is on the same or another amazon instance or your home computer or somewhere else, and then you need this:
https://bitcointalksearch.org/topic/xmr-monero-stratum-proxy-open-source-735738
It's seems a bit trickier, and it's not something I've done myself, but the instructions at above link seem pretty clear. Or I guess you can run your own cryptonight-nodejs pool instance somewhere, but I think that is even much more trickier than just running stratum proxy.
Edit: While not quite as good as solo mining, you can also find a list of pools here: http://minexmr.com/pools.html
Scroll down to bottom graph to find smallish pools that are much less likely to be attacked.
Ah, thanks. Figured it'd involve something like that...
Thanks for the pool-list. Now which small pools are most likely to be the more DDoS resistant?

No pool is DDoS proof but a small pool is less likely to be attacked (unless the attacker have something against that pool).
legendary
Activity: 1722
Merit: 1004
September 22, 2014, 12:01:27 AM
...

What about solo-mining on these instances?

Someone else actually already PMed me about this. In order to solo mine (with gpu), you need access to a running/synced instance of bitmonerod, whether that is on the same or another amazon instance or your home computer or somewhere else, and then you need this:
https://bitcointalksearch.org/topic/xmr-monero-stratum-proxy-open-source-735738

It's seems a bit trickier, and it's not something I've done myself, but the instructions at above link seem pretty clear. Or I guess you can run your own cryptonight-nodejs pool instance somewhere, but I think that is even much more trickier than just running stratum proxy.

Edit: While not quite as good as solo mining, you can also find a list of pools here: http://minexmr.com/pools.html
Scroll down to bottom graph to find smallish pools that are much less likely to be attacked.


Ah, thanks. Figured it'd involve something like that...

Thanks for the pool-list. Now which small pools are most likely to be the more DDoS resistant?
legendary
Activity: 3136
Merit: 1116
September 21, 2014, 11:57:00 PM
Maybe just point to a small pool instead, because I am unaware of how to solo mine with wolf0's or yam's miners.

The bitmonerod (daemon itself) miner will mine solo, but it is quite a bit slower than the alternatives.

May I suggest this pool: http://cryptograben.com/pool/monero-xmr/ <-- It is closing on 9-25 but it is still working now. I tried it about a week or so ago. (I prefer http://monero.crypto-pool.fr/ because I need to see some type of ROI on my EC2 costs)

One of the smallest (and coolest) pools: http://monero.coolmining.club/
HegemoOn (freenode IRC nick of pool owner) is also a really big monero supporter, and runs open bitmonerod nodes that can be connected to by anyone to query for blockchain info and stuff.
hero member
Activity: 644
Merit: 502
September 21, 2014, 11:53:14 PM
Maybe just point to a small pool instead, because I am unaware of how to solo mine with wolf0's or yam's miners.

The bitmonerod (daemon itself) miner will mine solo, but it is quite a bit slower than the alternatives.

May I suggest this pool: http://cryptograben.com/pool/monero-xmr/ <-- It is closing on 9-25 but it is still working now. I tried it about a week or so ago. (I prefer http://monero.crypto-pool.fr/ because I need to see some type of ROI on my EC2 costs)
legendary
Activity: 3136
Merit: 1116
September 21, 2014, 11:52:37 PM
This is a detailed guide to setup cloud miners (cpu+gpu) on Amazon EC2. I put together this guide for user oda.krell, who was kind enough to give me a very nice tip for it, so thanks should also go to oda.krell.

OK,
So here goes (assuming you have your ec2 account all set up and linked to credit card):

Nice instructions

Let me know if you have any questions or anything. And if you want to repost anywhere, I don't mind. Good luck Smiley


What about solo-mining on these instances?

Someone else actually already PMed me about this. In order to solo mine (with gpu), you need access to a running/synced instance of bitmonerod, whether that is on the same or another amazon instance or your home computer or somewhere else, and then you need this:
https://bitcointalksearch.org/topic/xmr-monero-stratum-proxy-open-source-735738

It's seems a bit trickier, and it's not something I've done myself, but the instructions at above link seem pretty clear. Or I guess you can run your own cryptonight-nodejs pool instance somewhere, but I think that is even much more trickier than just running stratum proxy.

Edit: While not quite as good as solo mining, you can also find a list of pools here: http://minexmr.com/pools.html
Scroll down to bottom graph to find smallish pools that are much less likely to be attacked.
legendary
Activity: 1722
Merit: 1004
September 21, 2014, 11:38:36 PM
This is a detailed guide to setup cloud miners (cpu+gpu) on Amazon EC2. I put together this guide for user oda.krell, who was kind enough to give me a very nice tip for it, so thanks should also go to oda.krell.

OK,
So here goes (assuming you have your ec2 account all set up and linked to credit card):

Nice instructions

Let me know if you have any questions or anything. And if you want to repost anywhere, I don't mind. Good luck Smiley


What about solo-mining on these instances?
legendary
Activity: 2646
Merit: 2842
Shitcoin Minimalist
September 21, 2014, 10:22:24 PM
Thanks. It looks like that's what I need!
legendary
Activity: 3136
Merit: 1116
September 21, 2014, 10:10:57 PM
Sorry I didn't explain my situation in more detail. I'm already GPU mining on a few machines with Claymore's software, and CPU mining with Wolf's miner.

I think you're looking for this: https://bitcointalksearch.org/topic/xmr-monero-stratum-proxy-open-source-735738
legendary
Activity: 2646
Merit: 2842
Shitcoin Minimalist
September 21, 2014, 10:09:04 PM
Sorry I didn't explain my situation in more detail. I'm already GPU mining on a few machines with Claymore's software, and CPU mining with Wolf's miner.
legendary
Activity: 2968
Merit: 1198
September 21, 2014, 09:18:50 PM
How do I get everything set up for solo mining? I have the daemon running already, block chain up to date, etc.

If you are solo mining with just your cpu and are using the command line wallet then you can mine with the wallet.  The command is start_mining

You can choose the # of threads, for example 3, using: start_mining 3

To see what your hashrate is, in the daemon use the command: show_hr
To stop the display of the hashrate use: hide_hr

Best choice for number of threads is your L3 cache size divided by 2 MB. So for example 4770k has an 8 MB cache so 4 is the best number of threads. A slightly smaller number is better if you want to reduce impact on computer performance (and quiet the CPU fan if that becomes an issue).

If you don't know then one less than your number of cores is a decent choice.
legendary
Activity: 1624
Merit: 1008
September 21, 2014, 09:16:41 PM
How do I get everything set up for solo mining? I have the daemon running already, block chain up to date, etc.

If you are solo mining with just your cpu and are using the command line wallet then you can mine with the wallet.  The command is start_mining

You can choose the # of threads, for example 3, using: start_mining 3

To see what your hashrate is, in the daemon use the command: show_hr
To stop the display of the hashrate use: hide_hr
legendary
Activity: 3136
Merit: 1116
September 21, 2014, 08:40:08 PM
How do I get everything set up for solo mining? I have the daemon running already, block chain up to date, etc.

Code:
start_mining 46BeWrHpwXmHDpDEUmZBWZfoQpdc6HaERCNmx1pEYL2rAcuwufPN9rXHHtyUA4QVy66qeFQkn6sfK8aHYjA3jk3o1Bv16em 3

I think that is the dev donation address, and the 3 at the end represents the number of threads to use. So you just enter that command into the daemon, and change the address and number of threads to use (if you want).
legendary
Activity: 2646
Merit: 2842
Shitcoin Minimalist
September 21, 2014, 08:36:00 PM
How do I get everything set up for solo mining? I have the daemon running already, block chain up to date, etc.
legendary
Activity: 2968
Merit: 1198
September 21, 2014, 07:35:57 PM
From the point of view of network security:

Best: Solo mine.

Better: Mine on small pool with backup pools configured.

Okay: Mine on big pool with backup pools configured.

Worst: Mine on big pool with no backup.

Solo mining is likely significantly better than the others given the possibility that an attack may compromise one or more pools and use their hash rate for the attack instead of just DDoSing them or fighting against them.

This all applies forever, not just in response to this immediate threat.
legendary
Activity: 3136
Merit: 1116
September 21, 2014, 07:30:40 PM
This is a detailed guide to setup cloud miners (cpu+gpu) on Amazon EC2. I put together this guide for user oda.krell, who was kind enough to give me a very nice tip for it, so thanks should also go to oda.krell.

OK,
So here goes (assuming you have your ec2 account all set up and linked to credit card, which you can do here: http://aws.amazon.com/ec2/ ):
1) Click on EC2, and then click on Spot Requests under Instances on left sidebar.
2) Click Request Spot Instances blue button near top, and then click Community AMIs and search for XMRminer. Select XMRminer2.
3) For Instance Type, select GPU instances g2.2xlarge, click next and set your maximum price (kind of expensive now, need to do like $0.09 per hour, used to be more like $0.06).
4) Click Review and Launch and then click Launch. At this point you need to setup your ssh keys. I did this a while ago, so I don't remember exact details, but it should be pretty straightforward. Here is a link to Amazon's official tutorial on key pair creation:
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html
Let me know if you have issues.
5) Make yourself a cup of tea and wait 30-120 seconds while your instance is prepared.
6) You'll need to ssh into your instance. On Linux you just put your ssh keys in ~/.ssh and set permissions for 400 (I think), and if you ssh from that folder, that's all you need to do. I think on Windows, using Putty, you need to maybe convert the key to putty's format using an extra putty tool. Let me know if you need additional help with this. Here are Amazon's official links on how to connect if you're having trouble:
ssh/Linux - http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AccessingInstancesLinux.html
Putty/Windows - http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/putty.html
More Putty - http://docs.aws.amazon.com/gettingstarted/latest/wah-linux/getting-started-deploy-app-connect.html
7) Click on Instances in the left sidebar, and you should see a g2.2xlarge instance with green circle that says running. Click that and then click Connect at the top, and it should give you your IP address to connect to with some instructions.
8 ) On Linux your ssh command should look like:
Code:
ssh -i aws1.pem [email protected]
Use ubuntu as user not root.
9) Maybe it's more like 180-300 seconds. Drink some tea while waiting.
10) When it prompts you to permanently add key, click "yes".
11) Now, you need to edit cpustart.sh and gpustart.sh in your home directory using either vi or nano, unless you want to mine to my XMR address Wink It looks like if you want to mine directly to exchange, just replace my XMR address in both files with YourExchangeXMRAddress.YourExchangePaymentID.
12) You need to run two commands, one to make gpuminer work, and other to make cpuminer much faster:
Code:
sudo ldconfig /usr/local/cuda-5.5/lib64
sudo sysctl -w vm.nr_hugepages=24
13) I just made another script called start.sh to launch both miners at once, and it seems to work. So do:
Code:
touch start.sh
then vi or nano start.sh and add:
Code:
#!/bin/bash
screen /home/ubuntu/cpustart.sh
screen /home/ubuntu/gpustart.sh
then:
Code:
chmod 755 start.sh
and then launch with:
Code:
sudo screen ./start.sh
You need the screen so that when you disconnect your ssh session, the miners keep mining.

That's it. You can disconnect and both miners should be hashing away. You can ssh back in and run
Code:
ps -A
and you should see minerd and ccminer listed in the processes somewhere near the bottom.

If you want to launch a shitload of instances, then obviously you want to automate this process and not do it manually every time. In this case, you need to make sure you edit the files so that they have your XMR address and not mine, and create the start.sh script in home directory, then edit the rc.local file by doing:
Code:
sudo nano /etc/rc.local
and add the following lines:
Code:
ldconfig /usr/local/cuda-5.5/lib64
sysctl -w vm.nr_hugepages=24
screen /home/ubuntu/start.sh
This way, as soon as the instance boots up, it should autolaunch the miners. I haven't tried this final automation part (as I don't normally launch a shitload of instances), but I think this should work, and I'm gonna verify it now.

Now, go back to your EC2 console, right-click on the g2.2xlarge instance in your Instances window, and select Create Image. This will sever your connection and cause a reboot, but you will now have your own image/AMI that you can launch 10s or 100s or 1000s of, just by entering however many instances you want when filling out your spot request form.

I just tried the rc.local thing, and it seems to auto-launch ccminer and minerd Smiley

If you would like to send me some coins for tip, here is btc:
Code:
1Gy2BQKMVjvWdRnG3Ktwm2cXdEyL8ZdqvE
and xmr addresses:
Code:
49jkaP1xDZrEYaWxtoToPzitbQh6Z7Vv8c3MwtP49wsZhJUR5VojrxcKgb76zT8XRU5AAWHVptx4RgxgLb5fX7iM2vBSKXA

Let me know if you have any questions or anything. And if you want to repost anywhere, I don't mind. Good luck Smiley
sr. member
Activity: 434
Merit: 250
September 21, 2014, 06:17:32 PM
It is amazing that the hash rate is so high in contrast to the low price.
legendary
Activity: 2968
Merit: 1198
September 21, 2014, 03:10:36 PM
You can also find a table of some pools, and two charts showing distribution of hashrate amongst almost all major pools here:
http://minexmr.com/pools.html

moneropool.com currently at about 40%  Shocked

Good job everyone reducing moneropool down to 37% now. Please keep going.

Also good that our hash rate is up. We face open threats of 51% and such, so anything you can do to increase your hash rate (especially spread out, and even solo mining if you are willing to accept the variance) on Monero is a huge help.

Thanks!

hero member
Activity: 658
Merit: 500
Admin of DwarfPool.com
September 21, 2014, 02:57:07 PM
New Dwarfpool features:

- switch between daily or hourly payouts. Available after simple authorization on worker page.

- manual payout by request. Available after simple authorization on worker page only for XMR exchange-wallets.

http://dwarfpool.com/xmr
legendary
Activity: 3136
Merit: 1116
September 20, 2014, 08:38:30 AM
You can also find a table of some pools, and two charts showing distribution of hashrate amongst almost all major pools here:
http://minexmr.com/pools.html

moneropool.com currently at about 40%  Shocked
legendary
Activity: 2968
Merit: 1198
September 20, 2014, 07:01:27 AM
I don't want to be alarmist but http://moneropool.com/ is reaching 50% of the hashrate...

Please post on the main thread and the mining thread

Done  Roll Eyes

If you are mining on moneropool.com please shift your hash rate to smaller pools.

There is a list of recommended pools in the first post of the main thread


People dont be greedy and join another pool  Roll Eyes

It has nothing to do with greed, really, just carelessness. You will make as much or more on a smaller pool (often lower fees, less DDOS, etc.). And given the large number of blocks per day on this coin, even smaller pools can easily get multiple blocks per day, so you will get regular payouts. There is no need to be on a pool getting blocks every few minutes, every few hours is just fine.

In any case, thank you for your support in trying to keep the hash rate spread out!

Pages:
Jump to: