Pages:
Author

Topic: HashPeak - GPU mining hashrate peak detector (Read 7962 times)

sr. member
Activity: 373
Merit: 250
Ok yes after further thought temperature readouts wouldn't be all that useful. That would be something in a stress test for long periods of time in a controlled temp environment maybe? I do appreciate the program it's helped a great deal so far with x11.
hero member
Activity: 588
Merit: 500
Will Bitcoin Rise Again to $60,000?
This looks really interesting, will try it out once I get home. Smiley
full member
Activity: 168
Merit: 100
I'll have a steak sandwich and a... steak sandwich
I don't know if the CGBenchmark and CGTuner work for x11 and scrypt-n or any other algos but I know haskpeak does and I like it. Are there any future plans for you to implement some of the other features they have?
It's coming. I started working on adding gpu mem clock support last night, but I only got an hour or so though before I had to turn in. The features are not difficult to implement. The only real issue is the graph. If we have 50 different memory clocks and or intensity/xintensity settings, the graph will be very cluttered.

You mentioned temperature readouts. I'm not sure these are all that interesting considering we only run each set of clocks long enough for the hash rate to stabilize and it's unlikely that the temperature will reach its maximum during that short period of time.
sr. member
Activity: 373
Merit: 250
I don't know if the CGBenchmark and CGTuner work for x11 and scrypt-n or any other algos but I know haskpeak does and I like it. Are there any future plans for you to implement some of the other features they have?

I understand that running multiple configurations at the same time would be far more time consuming but I would like to be able to set a range for mem of 1300-1600, gpu 1000-1300, xintensity 4-10 and have it run through all combinations.

My big ones I would like to see are
Ability to change / have combinations running at the same time
xintensity
rawintensity
gpu mem clock
gpu powertune
+ Temperature readouts for all hashrates

Thanks!

(If you think I should just try the other benchmark software please let me know. The main thing for me is using it with x11.)
full member
Activity: 168
Merit: 100
I'll have a steak sandwich and a... steak sandwich
Hmm. Had I known these existed, I probably wouldn't have bothered with writing HashPeak. However, it appears all three applications have their individual pros and cons. Now it's just up to me to make sure that HashPeak has only pros :-) That is, when the kids will let me spend a few hours by myself.
XP1
newbie
Activity: 14
Merit: 0
full member
Activity: 168
Merit: 100
I'll have a steak sandwich and a... steak sandwich
Have you considered automated varying memory clock too?  (effectively making this three dimensional -- a stack of graphs like you made)  I ask because I've read hints that suggest that there exist lower 'sweet spots' of gpu/mem clock that exert similar, or slightly lower hash rate at a much lower power draw.
Yes, this is on my todo list. I just need to find the time to add it. I'm thinking it might be prudent to try to estimate the amount of time it will take to iterate over all permutations of mem and core clock and warn the user if it is likely to take a very long time.

Any suggestions on how to plot the graph in that case? If the number of mem clocks is large, the graph will be difficult to read.
newbie
Activity: 36
Merit: 0
this is very interesting.  I've considered writing something a bit like this myself.

Have you considered automated varying memory clock too?  (effectively making this three dimensional -- a stack of graphs like you made)  I ask because I've read hints that suggest that there exist lower 'sweet spots' of gpu/mem clock that exert similar, or slightly lower hash rate at a much lower power draw.

for me, I'm more interested in lowering power draw and gaining per watt efficiency.  with the stack of graphs you could draw a curve of optimal hash rates vs gpu/mem clock.  I would expect that the latter is predictable (thus not needing to be strictly measured) and might help produce a final graph of optimal settings vs clock level/power draw to let the user decide if jacking up to max hash is worth it to them.

linux version would be nice too :-)
full member
Activity: 168
Merit: 100
I'll have a steak sandwich and a... steak sandwich
Can you provide some syntax on how to do the --host command?  Not sure how to do the api and port part.
README.md has an example using the --host and --port commands. If you're running this locally though, you probably don't need to specify a host and port. My guess is that you haven't enabled the API in your miner properly. The readme has details on this as well under "API access".

Does this need to run from inside the sgminer folder?
Nope. It communicates with the miner via IP.

Does it work with sph-sgminer?
I don't know. I have never tried sph-sgminer. I can't imagine there are any changes in the API though, so I think it should. Perhaps you can try and get back with the results?

How do you use it with an X11 coin?
Another thing I haven't tried. I think it should just be a matter of running it against the miner. It doesn't really care what algorithm the miner is running as long as it reports back the hashrate.

Just putting it on my c: drive and using a .bat file with your sample config and it just crashes.  Using sph-sgminer.
Try running it from a command prompt so you get to see any error message that might appear.
member
Activity: 118
Merit: 10
Mining since early 2013
upgrading from sgminer 4.1.0 to 4.1.271 fixed the problem.
Thank you very much for being helpful in tracking down the issue (via PM). HashPeak should work with 4.1.0 anyway, so I've released an updated release that addresses the API issue you were having.

Cheers,
Fletch

np, happy to help.
sr. member
Activity: 376
Merit: 250
Looks interesting, I'll have to give it a go bit later after work.
sr. member
Activity: 378
Merit: 250
Can you provide some syntax on how to do the --host command?  Not sure how to do the api and port part.

Does this need to run from inside the sgminer folder?  Does it work with sph-sgminer?  How do you use it with an X11 coin?

Just putting it on my c: drive and using a .bat file with your sample config and it just crashes.  Using sph-sgminer.
full member
Activity: 168
Merit: 100
I'll have a steak sandwich and a... steak sandwich
upgrading from sgminer 4.1.0 to 4.1.271 fixed the problem.
Thank you very much for being helpful in tracking down the issue (via PM). HashPeak should work with 4.1.0 anyway, so I've released an updated release that addresses the API issue you were having.

Cheers,
Fletch
member
Activity: 118
Merit: 10
Mining since early 2013
upgrading from sgminer 4.1.0 to 4.1.271 fixed the problem.
full member
Activity: 168
Merit: 100
I'll have a steak sandwich and a... steak sandwich
I'm working with pomelo to sort out the problem he's having. For some reason, the JSON returned from his sgminer API doesn't match what my local sgminer returns. The issue should be resolved soon.

This is amazing!

Are you planning to add more settings to it? (Intensity, xIntensity, threads, etc.)
Adding more settings wouldn't be difficult, but it depends on whether you would want to test those settings individually or together with GPU clock. Individually is doable, but if you want to test multiple settings in the same "batch", the amount of time the application will need to complete the test will multiply with each setting. I think, before we add any new settings to test, we need to figure out which ones make the most sense in order to relatively quickly find the hashrate sweetspot.

able to port it to linux? this looks amazing! If you aren't able to port it, hopefully someone can join your github team/fork and make a linux port! Cheesy
It should run on linux right now provided that you have mono installed. If not, I'm pretty sure I can fix it. Making it run without Mono means rewriting the application in some other programming language and that's not something I have time for at the moment.
newbie
Activity: 8
Merit: 0
able to port it to linux? this looks amazing! If you aren't able to port it, hopefully someone can join your github team/fork and make a linux port! Cheesy
newbie
Activity: 8
Merit: 0
This is amazing!

Are you planning to add more settings to it? (Intensity, xIntensity, threads, etc.)
member
Activity: 118
Merit: 10
Mining since early 2013
the program just crashes on my win7 + sapphire HD7950 with 13.12 Catalyst + sgminer 4.1.0

That's odd. Did you run it by just clicking the exe or did you run it from the command prompt? You need to do the latter. Do you get an error message?

PS. What video card or drivers you run are not relevant since HashPeak only communicates with the miner through the API.

Cheers,
Fletch

I run from command promt. I used the "HashPeak.exe --gpu-id 0 --min-gpu-clock 950 --max-gpu-clock 1025 --step 5" command and at the "Looking for GPU with id 0..."-step it crashesh and windows notifies that a program has stopped working.
full member
Activity: 168
Merit: 100
I'll have a steak sandwich and a... steak sandwich
the program just crashes on my win7 + sapphire HD7950 with 13.12 Catalyst + sgminer 4.1.0

That's odd. Did you run it by just clicking the exe or did you run it from the command prompt? You need to do the latter. Do you get an error message?

PS. What video card or drivers you run are not relevant since HashPeak only communicates with the miner through the API.

Cheers,
Fletch
member
Activity: 118
Merit: 10
Mining since early 2013
the program just crashes on my win7 + sapphire HD7950 with 13.12 Catalyst + sgminer 4.1.0
Pages:
Jump to: