Bitcoin Forum
February 21, 2024, 06:13:33 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / HashPeak - GPU mining hashrate peak detector on: April 29, 2014, 08:04:21 PM
HashPeak

What's this?
Determining the most effecient hashrate for GPU-based cryptocurrency mining is a tedious process. It usually involves manually trying a large number of GPU engine core frequencies and keeping track of the resulting hashrate to detect any peaks in hashrate. HashPeak automates this process.

HashPeak is a .NET 2.0 console application that connects to a running instance of sgminer or cgminer, sets a GPU engine clock, waits for the hashrate to stabilize and then measures the hashrate. The application is provided with a range of GPU clocks to test and then runs through them in succession. Upon completion, the application presents the user with the lowest GPU enging clock frequency that resulted in the highest possible hashrate.

In addition, HashPeak generates a CSV (Comma-Separated Values) file including all measured data as well as a plotted graph in the form of a PNG file.

License
HashPeak is open source software released under the MIT License. The source code for HashPeak is available via GitHub at https://github.com/rickardandersson/HashPeak.

Command line arguments
Code:
Options:
    --host=VALUE           IP or hostname for miner API. Default: 127.0.0.1.
    --port=VALUE           Port number for miner API. Default: 4028.
    --gpu-id=VALUE         GPU ID to work on. [required]
    --min-gpu-clock=VALUE  Lower limit of GPU engine clock frequency range to
                             test. [required]
    --max-gpu-clock=VALUE  Upper limit of GPU engine clock frequency range to
                             test. [required]
    --step=VALUE           Number of MHz to increase GPU engine clock per
                             iteration. Default 1.
    --delay=VALUE          Seconds to wait between setting new clock and
                             testing the hashrate. Default: auto.
    --help                 Show this message and exit.

Here's an example running HashPeak on GPU with ID 0 on the local miner instance, measuring the hashrate for GPU clocks 950-1025 MHz with a step of 5:
Code:
HashPeak.exe --gpu-id 0 --min-gpu-clock 950 --max-gpu-clock 1025 --step 5

Please review README.md in its entirety for more detailed information on running HashPeak and information on giving the application privileged API access to your miner.

Miners
The recommended miner to use with HashPeak is sgminer. Although HashPeak works with cgminer, and most likely bfgminer as well, the precision of scrypt hashrates reported through the API is very limited in cgminer. In sgminer, the precision is down to a tenth of a kilohash/s, but in cgminer, the precision is 10 kilohashes/s.

Screenshots
HashPeak running:



A sample PNG generated by the application (click to zoom):



And the accompanying CSV file:

Code:
"Timestamp","Memory clock","GPU clock","Hashrate (khash/s)","Hardware errors"
"2014-02-11 10:57:54","1250","1010","715,1","0"
"2014-02-11 10:58:09","1250","1010","714,3","0"
"2014-02-11 10:58:22","1250","1015","718,7","0"
"2014-02-11 10:58:32","1250","1020","721,4","0"
"2014-02-11 10:58:43","1250","1025","724,5","0"
"2014-02-11 10:58:53","1250","1030","727,4","0"
"2014-02-11 10:59:05","1250","1035","731,7","0"
"2014-02-11 10:59:19","1250","1040","735,1","0"
"2014-02-11 10:59:49","1250","1045","732,4","0"
"2014-02-11 11:00:22","1250","1050","715,0","2"
"2014-02-11 11:00:52","1250","1055","680,5","3"
"2014-02-11 11:01:22","1250","1060","664,2","9"

Download
I've compiled HashPeak and made it available for download via https://github.com/rickardandersson/HashPeak/releases/download/v1.0.1/HashPeak-1.0.1.zip. If you have qualms over downloading and running binaries from people you don't know, you can download the source and build it yourself using Visual Studio.

The binary should run on all forms of Windows provided that .NET Framework 2.0 is installed. It should also run on Mono, but I have yet to try this. If you do, please post your results.

Donations
If you like HashPeak and have some cryptocurrency burning a hole in your pocket, by all means.

BTC: 1L6zn1zPVxFzbucip7AE7LH7aU2s3haHTL
LTC: LS1c68c6DgvMMkV4mqgwXJboo2HCws9VKc
BC: BGfHDAkiNA8uMXLgHdaW2oXqeJv11cCjXZ
DOGE: DTwrM6GQNXvrtVcGW9smpEC19mDaWzXcRE

Thanks and enjoy!

EDIT 2014-05-05: Updated for release 1.0.1. Removed link to mega.co.nz and moved binaries to Github (via the releases feature).
2  Economy / Digital goods / Selling Metro: Last Light on: December 25, 2013, 10:24:52 PM
Code redeemable via www.geforce.com/freemetro.

How about 0.03 BTC or 300 QRK?

Edit: Price updated.
3  Other / Meta / Disappearing topics on: August 30, 2011, 09:48:32 AM
What happened to the atheist mining pool topic? If it was getting out of hand, couldn't the mods just have locked it or moved it to off topic (where it belonged in the first place)?

https://bitcointalk.org/index.php?topic=38923.0

I understand that this isn't a democracy, but it's very confusing when stuff just disappears.

Cheers
4  Economy / Goods / [WTS] Aliens vs Predator digital download coupon (Steam) [SOLD] on: August 23, 2011, 07:58:24 PM
1.5 BTC. Will send code via PM.

Edit: Sold.
5  Bitcoin / Mining support / Move ubuntu mining setup to a USB thumb drive on: July 07, 2011, 10:17:27 PM
0.5 BTC reward for anyone who can post exact instructions on how to do this (that actually work). I've tried myself, but I can't get it to work.

I have a fresh Ubuntu 11.04 install on a harddrive with everything setup for headless mining (used this guide). When I installed Ubuntu, I made sure to put it all on one single partition that is less than 8GB (the size of the USB thumb drive). I have no swap and I have also enabled tmpfs (for /tmp) and added noatime to fstab to reduce writes to the USB drive (once its moved over).

Now I would like to clone this partition over to the USB thumb drive, remove the harddrive and just have the rig boot off the thumb drive.

If I understand things correctly, I need to:

1. Boot from a Live CD (or a second USB thumb drive in my case).
2. Clone the partition from the harddrive to the target thumb drive (using dd).
3. Somehow make the computer boot of the thumb drive.

I think I've managed step 1 and 2, but I have no idea how to tackle step 3. I'm guessing I need to install a boot loader on the thumb drive, but this is where my Linux skills fall flat.

Anyone?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!