Archive for the ‘General Info’ Category

ethereum-blockchain-file-size

With all the craziness surrounding the constantly growing price of Ethereum in the last weeks we also need to take a look at what is happening with the ETH blockchain in terms of file size. Taking a look at the total file size of Ethereum’s blockchain we can see that it is already approaching 9.5 GB in size, something that is a direct result of the fast block times and the growing user interest in ETH. When you consider the fact that Ethereum is still less than 1 year old crypto currency if you only take into account when the mining officially stated and not when the work on it has started. The big blockchain file size makes things harder on users that are just starting and want to run a full local node 24/7 or just wan to have a local wallet and with the increase in interest into Ethereum there are more and more new people joining. For the last month alone the number of unique Ethereum addresses on the blockchain has almost doubled than the number it was at the beginning of February. The number of transaction on the network is also steadily growing, but not as much as new users getting into Ethereum due to the rapid increase of the ETH price.

ethereum-logo

There are just about 57000 blocks left before we reach the Ethereum hardfork planned for block 1150000 when Ethereum will move to the next phase called Homestead. Do note that Homestead is the second major version release of the Ethereum platform, which includes several protocol changes and a networking change that requires the hardfork. The Ethereum clients with support for the Homestead are already available for download and it is recommended to upgrade any Ethereum nodes or local wallets if you are using such at this time in order to be ready for the hardfork.

The initial Go version of Ethereum (geth) for Homestead is release 1.3.4, but there is already 1.3.5 and the initial C++ version of Ethereum (eth) for Homestead is the version 1.2.0 with version 1.2.2 already available with some fixes. Do not wait for the last possible moment or after the 1150000th block is here in order to avoid any possible issues resulting from the hardfork. A large number of the Ethereum nodes have already been updated, but there are still some that are running older versions of the software that are not ready for the hardfork. Hopefully all of the Ethereum mining pools and the nodes running 24/7 on the network will be ready for the hardfork that should hit in a little over a week from now.

To download the latest Ethereum Go client geth version 1.3.5 (Homestead)…
To download the latest Ethereum C++ eth client version 1.2.2 (Homestead)…

nvidia-smi-power-limit

There are a number of tools available that can allow you to monitor and control various aspects of your GPU and most fo them do come with nice graphical user interface to make things simple. When mining however you might want to have easy console command control over the GPU behavior to be able to execute commands that change things from a Batch file fro example right before a given miner software is stated. For Nvidia GPUs there is the Nvidia System Management Interface (nvidia-smi) command line utility that can help you do that in a simple and effective way, we have already showed an example using it to control the power state of the GPUs for getting some extra performance with non-overclocked video cards that are not running at the maximum power state when doing compute tasks such as mining for crypto currencies. Now it is time to show you some more useful tricks for using the nvidia-smi to check and modify the maximum TDP (Power Limit) that a given GPU can use as well as how to monitor constantly the GPU temperature and power usage and possibly log them in a file if you need that recorded for some further analysis.

The nvidia-smi utility is part of the video drivers and you can find it installed in the folder “C:\Program Files\NVIDIA Corporation\NVSMI\” on Windows, so you need to run the command line (cmd) and navigate to that folder in order to be able to issue commands. You then need to run nvidia-smi with some specific parameters based on what you need it to do such as specifying which GPU you need to play with by ID and then the command that needs to be sent or the data read from it.

So if you want to see what is the power limit of the first Nvidia GPU in the system:

nvidia-smi -i 0 --format=csv --query-gpu=power.limit

If you do not include the i parameter followed by the GPU ID you will get the power limit of all of the available video cards, respectively with a different number you get the details for the specified GPU. Then comes the fun part, changing the power limit to a lower value in order to reduce power consumption without affecting the performance or with slight decrease to get better power efficiency while mining. So in the following example we set the power limit to 175W for the first GPU down from the maximum of 275W that is has preset in the BIOS:

nvidia-smi -i 0 -pl 175

nvidia-smi-temperature-report

The next useful thing we want to be able to do via the console is to check the temperature of an Nvidia GPU and have it reported each second with the ability to also save the results in a text file should we need to do some additional analysis of the results. Using nvidia-smi to read the temperature of the first GPU each 1000 ms (1 second) can be done with the following command:

nvidia-smi -i 0 --loop-ms=1000 --format=csv,noheader --query-gpu=temperature.gpu

In order to stop the reporting of the temperature in degrees Celsius you need to press CTRL + C. If you need to have the result recorded to a text file you can run the following command:

nvidia-smi -i 0 --loop-ms=1000 --format=csv,noheader --query-gpu=temperature.gpu > temperature.txt

nvidia-smi-power-usage

The same way you can get the temperature of a GPU in the system reported you can also have a report on the current power draw of each Nvidia GPU in Watts for example every second. The reporting of power usage is very accurate and does not require any hardware as it is already implemented on a hardware level in the more recent Nvidia-based video cards. What you need to do is to run the following command:

nvidia-smi -i 0 --loop-ms=1000 --format=csv,noheader --query-gpu=power.draw

In order to stop the reporting of the temperature in degrees Celisus you need to press CTRL + C. If you need to have the result recorded to a text file you can run the following command:

nvidia-smi -i 0 --loop-ms=1000 --format=csv,noheader --query-gpu=power.draw > powerusage.txt

The reporting of the current power usage can be very helpful when tweaking your Nvidia-based video card for achieving the best power usage / mining performance ratio and also in order to compare power usage between different crypto algorithms. The nvidia-smi tool has some other useful features that may be handy for users, do note however that the changes you make with it are not permanent, they will need reapplying if you restart your computer, but you can automate them with a simple batch file by running a command right before you start up your miner software.


top