Posts Tagged ‘geth

ethminer-cuda-new

Genoil, the developer of the Ethminer fork with Nvidia CUDA support (source) has implemented some updates to the code of the project contributed by SP and tpruvot that reduce the load on the CPU when the miner is running. Also the default worksize has been increased form 64 to 128, but other than that there should be no changes affecting the performance of the miner. The reduction of CPU usage may come at the cost of slight hashrate drop, but there is a command line parameter now that you can use to stick with the higher CPU load and get the slightly higher performance --high-cpu-load, so it is up to you to decide. We have updated our package with Geth and Ethminer for OpenCL and CUDA with the latest version of the Ethminer CUDA binary for Windows (requires 64-bit Windows), so you can download and try it. The Ethminer CUDA fork should work on Compute 2.0 or newer GPUs, we have tested it with a Compute 2.1 and it is working fine, but don’t forget that you can run Ethminer in OpenCL mode as well on Nvidia-based video cards and not only on AMD if you are having trouble with the CUDA support or the hashrate you get is lower as compared to OpenCL.

Download the updated Ethminer CUDA fork compiled for Windows and ready to be used…

ethpool-no-new-users-accepted

Mining for Ethereum’s Ether (ETH) coins is turning out to be a problem as it is still in its very early stages, it is still hard for non-advanced users to get started with it. Evven when you follow a guide like our guide on How to Mine Ethereum on Windows yuo can get to another challenge like the mining pool refusing your connections. This has happened today with the ethpool stopping to accept new miners resulting in connections for users trying to use new wallet addresses getting refused while all older miners can still continue to use the pool. The problem here is that ethpool is still the only Ethereum mining pool, so now the only alternative for new users is to solo mine – we have prepared a guide on getting started with Solo GPU Mining Ethereum on Windows. With solo mining however the risks are higher, but the rewards can also be higher if you turn up lucky, there is however no point in solo mining with CPU as the hashrate will be pretty low and you will need a lot of luck to hit a block.

We have updated our mining package that includes the geth client for generating a local Ethereum wallet and also needed for solo mining to the latest version, it is compiled for 64-bit Windows. The package also includes two versions of ethminer (also 64-bit only), the standard one with CPU and OpenCL mining as a part of cpp-ethereum and a second one forked to support CUDA as well. Note that the CUDA version can be used to mine with the CPU, OpenCL and CUDA and you should be are able to use OpenCL on Nvidia GPU’s as well. The CUDA miner should work on GPUs with Compute 2.0 or later, but if you are having trouble running the CUDA miner you can try with the OpenCL one, the resulting hashrate should not be much different between the two implementations. Also we have discovered that adding the parameter “–gpu-batch-size 20” (without the quotes) to the CUDA version of ethminer (works with the OpenCL setting of that miner as well) can increase a bit the performance you get, so we have added it by default to the example bat files for the CUDA version. The hashrate improvement is actually pretty small on Nvidia GPU’s, but on AMD cards using OpenCL it can give better results. We got up from about 24.4 MHS on Radeon R9 280X to about 26.5 MHS by adding the parameter, be aware however that this parameter is only available in the CUDA fork of ethminer.

Another interesting tip regarding issues with low hashrate, either local or reported by the pool, is to try deleting the DAG files that are being generated the first time you run ethminer. Sometimes when you are playing with different settings for the miner it seems that the DAG files may not work that well, so deleting them and having the miner generate them again with the latest settings can bring back the usual performance. So if the locally reported hashrate by the miner suddenly drops or the pool reports only a small fraction of what your total hashrate should normally be you can try deleting the DAG files and having them generated again. On Windows you can find them located in the AppData / Local / Ethash folder under your computer’s Username in the Users folder (example: C:/Users/myPC/AppData/Local/ Ethash). You may need to enable the showing of hidden system files first in order to see the needed folders in Windows Explorer if you have not enabled it already.

Download the latest geth and ethminer compiled for Windows and ready to be used…

ethereum-solo-mining

AS requested here comes a simple guide on how to solo mine Ethereum Ether coins on a local system or within a network with multiple mining rigs. Note that at this point it is already pointless to try local solo mining with CPU only, and if you do not have enough GPU power available and you end up with some bad luck you may not be able to solve a block in a long time. Also our experience shows that geth may lockup at times when solo mining not sending new work from the current block, so do monitor your mining rigs carefully should you decide to try it. If you want to mine in a pool, then you might want to check out our other Quick Guide on How to Mine Ethereum on Windows. Before you get started you need to download the geth and ethminer Windows binaries from the link below, then just follow the instructions below:

Generating wallet address:
– Open the geth folder and run geth-console.bat to start Ethereum in console mode
– The software will need to download the blockchain data, it can take some time
– In the console type: personal.newAccount("password")
– Instead of password in the quotes above write your own password and remember it well
– In the console type: eth.accounts
– This will list your Ethereum wallet address
– To check your account balance you can type: web3.fromWei(eth.getBalance(eth.coinbase), "ether")

Sending Ether to another wallet:
– First you need to unlock your account by typing in the console the following (replace password with your password): personal.unlockAccount(eth.accounts[0], "password")
– In the console type: eth.sendTransaction({from: 'your_address', to: 'recipient_address', value: web3.toWei(1, "ether")})
– In the above code replace your_address and recipient_address with the respective addresses, the example is for sending 1 Ether, but you can change the value depending on your needs

Starting geth for solo mining:
– To listen for connections only on the local system type: geth --rpc --rpcaddr "localhost" --rpcport 8545
– To be accessible on the local network type: geth --rpc --rpcaddr "192.168.0.123" --rpcport 8545
– Make sure that for local LAN accessibility you replace the rpcaddr IP address to the one that of the machine geth is running on, the 192.168.0.123 is just an example
– To be accessible on the Internet type: geth --rpc --rpcaddr "x.x.x.x" --rpcport 8545
– Make sure that for Internet accessibility you replace the rpcaddr IP address to the one that of the machine geth is running on, the x.x.x.x in the example will not work, also make sure that the 8545 port (or another one you decide to use) is forwarded

Starting ethminer for solo mining:
– For local system mining with ethminer on the same PC that geth is running on use: ethminer -G
– For mining on a system in the Local LAN where geth is installed and running use: ethminer -G -F http://192.168.0.123:8545
– Make sure that for local LAN mining the IP address of the system geth is running on is set correctly on the miner, the 192.168.0.123 is just an example, also make sure that there is no Firewall blocking connections
– For using mining rig to mine over the Internet on a PC with geth running in your local LAN use: ethminer -G -F http://x.x.x.x:8545
– For Internet access make sure that instead of the x.x.x.x in the example you set your external IP address and that the 8545 port is properly forwarded between the external IP and the system running geth

It seems that ethpool has just stopped accepting new users due to high load on their server, they have posted the following message: “Due too the high hashrate the pool currently does not accept new miners!”. So if you still haven’t started mining there, existing users can continue using the service, so now may just be the right time to try out solo mining.

Download geth and ethminer compiled for Windows and ready to be used…


top