Pages:
Author

Topic: DiabloMiner GPU Miner - page 65. (Read 866596 times)

full member
Activity: 126
Merit: 100
May 20, 2011, 01:07:39 AM
two 5870s, CC 11.5, SDK 2.1, on Debian testing.

i don't know yet how much faster it is than your pre-BFI_INT release.

but a lot.

i'm putting in some extra fans and a rheostatic fan speed controller - it's so damn fast that i have to clock it down right now to keep temps under 85.

so going from the old version, max volted at 300 MemClock and 900 GPUClock, to the new version down-volted by almost 0.2, MemClock at 315 and GPUClock at 850; i picked up a bit over 100 Mh/s.

i'll have the new fans and controller in tomorrow.  i have another box that i've experimented with fans on - just a single 5870, but i've learned a bit.  i'm hoping for a maxed-out setup on the dual box, running at well under 75 degrees.  we'll see.
hero member
Activity: 714
Merit: 500
May 20, 2011, 12:42:05 AM
Oh, and last time I noticed, they didn't do JNI yet, so you can't run my miner with it.

Ah, okay. Got it.
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
May 20, 2011, 12:38:11 AM
is there any way I can use the miner without installing java?
can you put it in a warper and compile the whole thing including the java?

Java does not work that way.

I call bullshit: http://gcc.gnu.org/java/

I'm aware of gcj, and I do not consider something that cannot run quite a few apps, and be a shitload slower at it an actually valid Java implementation. Oh, and last time I noticed, they didn't do JNI yet, so you can't run my miner with it.
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
May 19, 2011, 09:26:05 PM
I really like Diablo Miner but there is few problems with it:

1. When I run the new Diablo miner versions with .exe instead of .bat in it, it does not work. I get black console screen for maybe 25ms and it exits. Not enough time to even hit Pause button to see what's wrong. I need tu use .bat file instead.

2. No speed improvements on new version with BFI_INT. I even get speed decrease. I get 260 Mh/s with 2011-04-23 version and with 2011-05-19 I get 250 Mh/s

I use ATI HD5850 with Catalyst 10.11 and ATI SDK 2.1

You run the exe the same way as the bat. The exe does not magically read your mind on what arguments you want to use.

The bat is probably running the old jar, which means, no, you're not running a new version of DiabloMiner.
legendary
Activity: 1540
Merit: 1049
Death to enemies!
May 19, 2011, 05:29:03 PM
I really like Diablo Miner but there is few problems with it:

1. When I run the new Diablo miner versions with .exe instead of .bat in it, it does not work. I get black console screen for maybe 25ms and it exits. Not enough time to even hit Pause button to see what's wrong. I need tu use .bat file instead.

2. No speed improvements on new version with BFI_INT. I even get speed decrease. I get 260 Mh/s with 2011-04-23 version and with 2011-05-19 I get 250 Mh/s

I use ATI HD5850 with Catalyst 10.11 and ATI SDK 2.1
newbie
Activity: 53
Merit: 0
May 19, 2011, 04:51:51 PM
I’ve packaged DiabloMiner with some helper scripts that will make it easier for new users to start mining on Mac OS. DiabloMiner will work like a normal application that you double-click on to open. Have a look at this thread for details and downloads.
hero member
Activity: 714
Merit: 500
May 19, 2011, 04:43:31 PM
is there any way I can use the miner without installing java?
can you put it in a warper and compile the whole thing including the java?

Java does not work that way.

I call bullshit: http://gcc.gnu.org/java/
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
May 19, 2011, 04:22:18 PM
is there any way I can use the miner without installing java?
can you put it in a warper and compile the whole thing including the java?

Java does not work that way.
hero member
Activity: 714
Merit: 500
May 19, 2011, 03:53:29 PM
It's a modest improvement at best, but in the battle for speed every clock cycle counts.

Using your modified miner I was able to hit a top speed of 1,693 Mh/s on my dual 6990 950Mhz/300Mhz setup. Not sure if that was due to the overclocking/underclocking or to using your new miner as I OC'ed my cards at the same time that I switched to your miner, but based on the fact that the hardware comparison page lists 772Mh/s as the best recorded 6990 time, I'm going to guess a good chunk of that was due to your miner. 846Mh/s on a card is not bad at all!

Good work. :-)


Could you do me a favor and test with Diablo's most recent version too.. .I dunno why but I get varying results with my card here at work.  His latest release is outperforming mine by a longshot here at work, but on my NVidia card at home my version outperforms his -shrug-

Sure! I seem to be getting comparable results with Diablo's most recent version and DustinEwan's updated kernel. Initial speed for that setup with -f 1 and two 6990s clocked at 950/300 running on Ubuntu 11.04 with SDK 2.3 seems to be about 1.5Gh/s. My 1.6Gh/s measurement last time came after Diablo had been running for a half hour or so in the cool of the night, so no idea if I'm going to be able to get that again during the day. (Gets a little warm where my machine is, but for now that's unfortunately the only place I can put it.)

Also, I've noticed that lowering that work unit to 64 and raising z to some multiple of 2 gives me much better performance.  Seems like it fills the shader processors better that way (but what do I know, really? Tongue)

-w 64 on nvidia really cuts down on the desktop interactivity abuse (and may even increase speed), however this is due to nvidia driver bugs.

As for -z, I'm surprised -z helps anywhere. Nvidia driver design must be extremely bad. -z is usually slower on AMD.

Yeah. DustinEwan, I tried your suggested settings but it seems my 6990s do best with -f 1 being the only option specified. We're probably going to get divergences as I am mining on ATI cards and you are mining on an Nvidia card.
member
Activity: 77
Merit: 10
May 19, 2011, 03:12:07 PM
is there any way I can use the miner without installing java?
can you put it in a warper and compile the whole thing including the java?
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
May 19, 2011, 02:53:31 PM
Just do a
Code:
java -cp xyz -agentpath:wherever/your/profiler/lib/is com.diablominer.DiabloMiner.DiabloMiner

Since classpath can be a pain, and Maven is quite good at handling dependencies just tell mvn to build the cp string:
Code:
mvn package dependency:build-classpath
and it will print the classpath.

Edit: intended as general tip, not just for this case Smiley

Or he can just look in DiabloMiner-Linux.sh and copypasta accordingly.
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
May 19, 2011, 02:51:06 PM
Hey just a quick note on how much "Power" you need to finish one share from one block. This is only an "average" on how long it takes to solve one. I did a quick summary that I run at 345MHases/s it took me 57s to do 5 shares, will give you 3933MHashes/Share or on an avg 1Share/11.4s. This is just ball parking small numbers..

In your case.. CPU is very slow compared to an ATI card.. same goes for that GeForce.. Looking at https://en.bitcoin.it/wiki/Mining_hardware_comparison

I'd say your system puts about maybe for fun 10MHashes/s that would make one share that's 3933MHashes / 10 = 393.3s or 6min 33sec for one share. In that time my system would have computed about 34,5 shares aka 34,5 times faster..

Is it worth it?? I donno.. the system just jumped up another difficulty bump yesterday, from 152274 to 244139. So it will just take longer for full blocks to finish now. That means it take more shares on avg find the solution == less bitcoins for us all..

Cheers!

You need approximately 2^33 hashes to find a block. At 75 mhash, you would complete 50 shares in roughly 45 minutes.
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
May 19, 2011, 02:47:49 PM
As far as OSX having poor OpenCL implementation, that sure seems to be the case.  DiabloMiner running in OSX gives me about 80 ~ 90 MHash / sec and switching over to Windows to run DiabloMiner gives me 185 ~ 205 MHash on the same gear.  So it is certainly better to be running Windows.

However, your improvements will be marginal at best since you're running NVidia gear... if you really, really want to give it a try, you should definitely install Windows or Linux for maximum performance.

Its pretty bad. On Radeon 5xxx, you lose about 40% of your speed, on Radeon 4xxx and Nvidia, you lose about 25%.
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
May 19, 2011, 02:46:15 PM
I have a Mac Pro (single quadcore 2.66 Xeon 3500 series "Bloomfield", 6gb ram, Geforce GT120, Snow Leopard) that I am using DiabloMiner on. I've got experience using pyrit (tool for cracking WPA wireless keys) on it, utilising the GPU to speed things up, so I thought I'd give this a go.

I have the latest OSX Nvidia CUDA drivers installed (4.0 RC) and I confirmed that pyrit was still using the GPU cores so hopefully everything's all ok. I downloaded DiabloMiner, got it working with the public pool of my choice (Eligius) and I'm watching the output...

...ugh.

First of all, I'm behind a firewall at work, so despite the fact that it can connect to the public pool, I'm getting errors saying that it can't connect to Bitcoin. Is this a problem? A google search suggests it's not a major problem.

Secondly, my slow results are really surprising me. Reading the display is a little difficult, I have two khash numbers so I'm not sure which to look at. Is one GPU and one CPU? And how come sometimes one will drop to 0 for ages and then start ticking again. But right now it says 1429. A lot of the time it's under 1000. Sometimes it jumps quite high (3, 4, even 5000). I also turned on debug and I can see a ghash value of 0.5. What is that?

Lastly, I tried changing -f to 1000 on a whim. Seemed to speed things up a touch. But not sure if it's a good idea?

I'm under no illusions that this is going to be a quick process but the output is worrying me that it's not actually working. How can I tell?

I've heard that OSX is shit for this because of shitty OpenCL implementation. That being the case, would I get better results if I stuck XP on the MacPro and used that?

If it says it can't connect to Bitcoin, then its not doing any work. Also, any numbers produced on the khash meter will be wrong.

The two numbers are 15 second average/forever average.

The ghash meter in debug counts the raw ghash meter, used for serious miners to measure useless statistics.

-f 1000 will greatly reduce mhash speed, but increase desktop interactivity. -f should be a multiple or divisor of 60, lower values increase speed but decrease desktop interactivity, higher values do the opposite.
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
May 19, 2011, 02:43:08 PM
It's a modest improvement at best, but in the battle for speed every clock cycle counts.

Using your modified miner I was able to hit a top speed of 1,693 Mh/s on my dual 6990 950Mhz/300Mhz setup. Not sure if that was due to the overclocking/underclocking or to using your new miner as I OC'ed my cards at the same time that I switched to your miner, but based on the fact that the hardware comparison page lists 772Mh/s as the best recorded 6990 time, I'm going to guess a good chunk of that was due to your miner. 846Mh/s on a card is not bad at all!

Good work. :-)


Could you do me a favor and test with Diablo's most recent version too.. .I dunno why but I get varying results with my card here at work.  His latest release is outperforming mine by a longshot here at work, but on my NVidia card at home my version outperforms his -shrug-

Also, I've noticed that lowering that work unit to 64 and raising z to some multiple of 2 gives me much better performance.  Seems like it fills the shader processors better that way (but what do I know, really? Tongue)

-w 64 on nvidia really cuts down on the desktop interactivity abuse (and may even increase speed), however this is due to nvidia driver bugs.

As for -z, I'm surprised -z helps anywhere. Nvidia driver design must be extremely bad. -z is usually slower on AMD.
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
May 19, 2011, 02:40:51 PM
I´m running this: start /DC:\blablah\Diablo-D3-DiabloMiner-b975ca7\Diablo-D3-DiabloMiner-b975ca7 DiabloMiner-Windows.exe -u myuser -p mypw -o deepbit.net -r 8332 -f1, and tried all -v and all -w values.
I can´t reach nothing near my 430 Mhash/sec with my 5870 on the phatk, what am i doing wrong?


Remember, -f 1 tends to screw up short term time on Windows. Run for 5 minutes and use the second number only. Also, do not use SDK 2.4 for 5xxx cards, it is inefficient.
hero member
Activity: 489
Merit: 505
May 19, 2011, 01:44:55 PM
Just do a
Code:
java -cp xyz -agentpath:wherever/your/profiler/lib/is com.diablominer.DiabloMiner.DiabloMiner

Since classpath can be a pain, and Maven is quite good at handling dependencies just tell mvn to build the cp string:
Code:
mvn package dependency:build-classpath
and it will print the classpath.

Edit: intended as general tip, not just for this case Smiley
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
May 19, 2011, 12:53:29 PM
Hey Diablo, I'm glad to hear it Smiley

I do however, have a bit of an issue... I'm not familiar at all with Maven, so I don't know how to set up a profiler for use with it, and google seems to be no help  Undecided

Google provides a profiler that works great for me at work...  I'm in the business of creating interactive ebooks built on top of a game engine for Android, so I use Google's Java Profiler to see which processes are taking the longest time to execute.

If you know how to set up a profiler with Maven I would very much like to know how to do so, after all it's MUCH MUCH MUCH better to macro-optimize the slowest pieces of code than to sprawl through the code line by line making minimal micro-optimizations like I did.

If you could help me to set up a profiler with Maven then I would love to continue doing what I can to help you with your project Smiley

You usually connect the profiler to an already running JVM, like jvisualvm or jconsole.
newbie
Activity: 14
Merit: 0
May 19, 2011, 11:18:19 AM
Hey Diablo, I'm glad to hear it Smiley

I do however, have a bit of an issue... I'm not familiar at all with Maven, so I don't know how to set up a profiler for use with it, and google seems to be no help  Undecided

Google provides a profiler that works great for me at work...  I'm in the business of creating interactive ebooks built on top of a game engine for Android, so I use Google's Java Profiler to see which processes are taking the longest time to execute.

If you know how to set up a profiler with Maven I would very much like to know how to do so, after all it's MUCH MUCH MUCH better to macro-optimize the slowest pieces of code than to sprawl through the code line by line making minimal micro-optimizations like I did.

If you could help me to set up a profiler with Maven then I would love to continue doing what I can to help you with your project Smiley
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
May 19, 2011, 11:02:16 AM
Dustin's patches are worth adding, but they shouldn't add even 1 mhash to it... it does, however, lead to cleaner code. I'm going to merge them and then take them to the logical next step.
Pages:
Jump to: