Bitcoin Forum
May 10, 2024, 02:28:04 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 [107] 108 109 110 111 112 113 114 115 116 117 118 »
2121  Other / CPU/GPU Bitcoin mining hardware / Re: Mac Pro + GPU help on: May 19, 2011, 07: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.
2122  Other / CPU/GPU Bitcoin mining hardware / Re: Official DiabloMiner GPU Miner Thread (now with Long Poll and BFI_INT support) on: May 19, 2011, 07: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.
2123  Other / CPU/GPU Bitcoin mining hardware / Re: Official DiabloMiner GPU Miner Thread (now with Long Poll and BFI_INT support) on: May 19, 2011, 07: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.
2124  Other / CPU/GPU Bitcoin mining hardware / Re: Official DiabloMiner GPU Miner Thread (now with Long Poll and BFI_INT support) on: May 19, 2011, 05: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.
2125  Other / CPU/GPU Bitcoin mining hardware / Re: Official DiabloMiner GPU Miner Thread (now with Long Poll and BFI_INT support) on: May 19, 2011, 04:02:16 PM
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.
2126  Other / CPU/GPU Bitcoin mining hardware / Re: Official DiabloMiner Thread on: May 18, 2011, 03:08:04 AM

First off, do your best to explain it as you would to someone who has no idea what they are doing because I am a noob, especially when it comes to bitcoin.

You're asking for the wrong thing. Bitcoin GUI should have this stuff in the preferences somewhere.

Quote
Now, what I have done so far is download bitcoin-0.3.21 for mac from the website. I then copied the Bitcoin.app to the Applications folder. I cd to the bitcoin in the Bitcoin.app package and typed "./bitcoin -server". I got "Warning: To use the "-server" option, you must set rpcpassword=<password> in the configuration file: /Users/myusername/Library/Application Support/Bitcoin/bitcoin.conf If the file does not exist, create it with owner-readable-only file permissions." So then I opened up TextEdit and created a bitcoin.rtf with just rpcuser=username rpcpassword=password. Then I changed the .rtf to .conf, changed it from read and write to just read, and copied it to the directory it told me to. I again tried "./bitcoin -server" and I got:

You were okay right up to the point you saved it as a .rtf. As far as I know OSX does not include a UI app that can save .txt files short of opening the terminal and using nano or vim.

As far as I know, there is nothing in the Bitcon GUI preferences on running in -server. Maybe I just didn't find it. And you were definitely right about the .rtf. I copied a .conf that was made in windows and the errors went away and -server finally worked.

DustinEwan - I am not exactly sure what makes someone choose one pool over another, but Slush's seems fair and trustworthy, so I went with it.


I thought I would report my results as, thanks to you guys, I have got everything working. I tried -v 3 and -v 19 and then -w 64, -w 128, and -w256. I think for my AMD Radeon HD 6750M my best configuration is: ./DiabloMiner-OSX.sh -u myusernamehere -p mypasswordhere -o mining.bitcoin.cz -r 8332 -v 3 -w 128

If anyone has any other suggestions, I am open to trying them.
EDIT: with that config I get about 30000 to 35000 khash/sec

What I was trying to say was, there is nothing in the preferences for it, and there should be. Editing a conf file sucks, especially for Windows and OSX users.

As for your 6750M, thats a Turks, which means its a VLIW4 type arch. This includes 64xx, 65xx, 66xx, 69xx, 64xxM, 66xxM, and 67xxM. A lot of VLIW4 users find -v 3 to be fastest.
2127  Other / CPU/GPU Bitcoin mining hardware / Re: Official DiabloMiner Thread on: May 17, 2011, 02:43:18 PM
You can use bitcoin -server instead of bitcoind. I'm not sure if the OSX binaries build bitcoind.

Pardon my ignorance, but how do I run bitcoin with the -server option?  Terminal doesn't recognize it.  Do I need to build from source and run that?

I don't understand your question. You download the OSX binaries from the Bitcoin website, unzip them, open up Terminal, cd to the directory, and then ./bitcoin -server & exit
First off, do your best to explain it as you would to someone who has no idea what they are doing because I am a noob, especially when it comes to bitcoin.

You're asking for the wrong thing. Bitcoin GUI should have this stuff in the preferences somewhere.

Quote
Now, what I have done so far is download bitcoin-0.3.21 for mac from the website. I then copied the Bitcoin.app to the Applications folder. I cd to the bitcoin in the Bitcoin.app package and typed "./bitcoin -server". I got "Warning: To use the "-server" option, you must set rpcpassword=<password> in the configuration file: /Users/myusername/Library/Application Support/Bitcoin/bitcoin.conf If the file does not exist, create it with owner-readable-only file permissions." So then I opened up TextEdit and created a bitcoin.rtf with just rpcuser=username rpcpassword=password. Then I changed the .rtf to .conf, changed it from read and write to just read, and copied it to the directory it told me to. I again tried "./bitcoin -server" and I got:

You were okay right up to the point you saved it as a .rtf. As far as I know OSX does not include a UI app that can save .txt files short of opening the terminal and using nano or vim.

Quote
Another thought: In order to get DiabloMiner to work in OS X I HAVE to be running in -server, correct? My goal is to use GPU (only get 2800 with CPU) and to then configure DiabloMiner to work with pooled mining.

Thanks again!

No, if you're connecting the client to a pool, you don't even have to have bitcoin running on that machine.
2128  Other / CPU/GPU Bitcoin mining hardware / Re: Official DiabloMiner Thread on: May 17, 2011, 03:35:40 AM
Make sure you have at least 11.1, and it was installed right, and you built the kernel module and its being loaded before X starts. Your 2D and 3D acceleration is dead, and OpenCL isn't going to work either. And since you'd be on 11.1 or later, make sure you're using SDK 2.4
Thanks for the tips. I have been a bit busy lately, so it might be a day or two before I get to this. Meanwhile, it's limping along CPU-mining :-/
OK, it's been a bit more than "a day or two" :-)

Recap: I have two Radeon HD 6870s running under Debian.

I ended up wiping the system and re-installing from scratch. I have 11.3 installed, with SDK 2.4. It's not crashing any more, but now I get the error "No OpenCL platforms found".

Any suggestions?

Forgot to cd /; sudo tar zxvf /path/to/AMD-APP-SDK-2.4/icd-registration.tgz?
2129  Bitcoin / Mining software (miners) / Re: Modified Kernel for Phoenix 1.4 on: May 17, 2011, 12:15:28 AM
5xxx maxes out at a worksize of 256.
My dual 5870 (w/o CF bridges) maxes out at WORKSIZE=128.

Nope, that too maxes out at 256. What I said was 768 simply is not valid for 5xxx hardware.

Phoenix should output the error OpenCL is returning instead of covering it up.
2130  Bitcoin / Mining software (miners) / Re: Modified Kernel for Phoenix 1.4 on: May 16, 2011, 08:08:53 PM
I'm running 2x 5870s but at 965 core, 300 mem.

phoenix -u http://blah/ -k poclbm VECTORS AGGRESSION=11 BFI_INT PLATFORM=0 DEVICE=0 WORKSIZE=768
Gets me 404 MH/s

phoenix -u http://blah/ VECTORS AGGRESSION=12 BFI_INT PLATFORM=0 DEVICE=0 WORKSIZE=768 -k phatk
Gets me 420 MH/s

Huge improvement. Thanks for this.

5xxx maxes out at a worksize of 256.
2131  Other / CPU/GPU Bitcoin mining hardware / Re: Official DiabloMiner GPU Miner Thread (now with Long Poll and BFI_INT support) on: May 15, 2011, 07:17:22 PM
Just curious, but is it normal for Java to use nearly 100% of my CPU while mining?

I know for certain my GPU is being utilized, as my hash rate is what I'd expect (85 mhash for a Radeon 5670), but my Athlon 64 3200+ is pegged the whole time as well. Is this normal?

I notice that if I use VNC to connect to my mining rig (which runs Win7) that UltraVNC and Java fight for my CPU time and my hash rate drops big time... almost like Java cannot feed the GPU data fast enough?

It's not a big deal, as my mining box is a dedicated machine, but it did strike me as odd. Thoughts?

Don't use SDK 2.2 or 2.3, thats a known bug with them.

Oh...oops... I thought I mentioned it in my post, but apparently I didn't... I am using SDK 2.4... does that change anything?

SDK 2.4 does't have that bug, but its quite possible Catalyst after around 11.3 still does. Someone on IRC had to go the whole way back to 10.11 + SDK 2.1 to make it stop.
2132  Other / CPU/GPU Bitcoin mining hardware / Re: Official DiabloMiner GPU Miner Thread (now with Long Poll and BFI_INT support) on: May 15, 2011, 07:13:15 PM
Just curious, but is it normal for Java to use nearly 100% of my CPU while mining?

I know for certain my GPU is being utilized, as my hash rate is what I'd expect (85 mhash for a Radeon 5670), but my Athlon 64 3200+ is pegged the whole time as well. Is this normal?

I notice that if I use VNC to connect to my mining rig (which runs Win7) that UltraVNC and Java fight for my CPU time and my hash rate drops big time... almost like Java cannot feed the GPU data fast enough?

It's not a big deal, as my mining box is a dedicated machine, but it did strike me as odd. Thoughts?

Don't use SDK 2.2 or 2.3, thats a known bug with them.
2133  Other / CPU/GPU Bitcoin mining hardware / Re: Official DiabloMiner GPU Miner Thread (now with Long Poll and BFI_INT support) on: May 15, 2011, 12:16:48 PM
Interesting, -v 19 seems to be faster than -v 2 on SDK 2.4. -v 2 gets me about 286, -v 19 gets me about 296 (== 280 @ 725).

So, yes, jedi95, -v can make up the difference if used right. Wink
2134  Other / CPU/GPU Bitcoin mining hardware / Re: Official DiabloMiner GPU Miner Thread (now with Long Poll and BFI_INT support) on: May 15, 2011, 11:30:18 AM
Update: BFI_INT support.

I now have the fastest miner known to man.

On my Radeon 5850 @ 765 /w SDK 2.1

Phoenix DEVICE=1 VECTORS WORKSIZE=128 BFI_INT AGGRESSION=5, 7, 11, 13, with or without FASTLOOP = 273

poclbm -v -w 128 -f 60 = 292

DiabloMiner -v 2 -w 128 -f 60 = 302
I don't think so Tim.

On my Radeon 5850 @ 725 /w SDK 2.4 on Win7 x64

DiabloMiner -v 2 -w 128 -f 60 254 MHash/s
DiabloMiner -v 2 -w 128 -f 1 270 MHash/s
Phoenix 1.47 -k phatk DEVICE=0 VECTORS WORKSIZE=128 BFI_INT AGGRESSION=12 282 MHash/s

I haven't found the optimum settings for 2.4 yet. Try playing with the settings and see if you can get higher numbers. Every machine is different.

I don't think any combination of -v -w and -f is going to make up that difference in speed. The .cl itself needs to be modified to maximize ALU usage on SDK 2.4. This is what the phatk kernel does. (1418 vs 1484 ALU ops) (for reference poclbm on SDK 2.1 (Linux) is 1421 ALU ops) For me the speed difference with phatk is 409 Mhash/sec vs 394 Mhash/sec with poclbm. Assuming the same performance increase this gives (409/394) * 270 = 280 Mhash/sec

Except comparing my kernel/poclbm (nearly identical), and phatk, all I can't see much of a difference. Also, -v DOES make a speed difference. Phoenix can't do the vector mutating I do. 69xx seems to run a fair bit faster with -v 3 over -v 2 (which is identical to what Phoenix and poclbm do).
2135  Other / CPU/GPU Bitcoin mining hardware / Re: Official DiabloMiner GPU Miner Thread (now with Long Poll and BFI_INT support) on: May 15, 2011, 07:19:08 AM
Update: BFI_INT support.

I now have the fastest miner known to man.

On my Radeon 5850 @ 765 /w SDK 2.1

Phoenix DEVICE=1 VECTORS WORKSIZE=128 BFI_INT AGGRESSION=5, 7, 11, 13, with or without FASTLOOP = 273

poclbm -v -w 128 -f 60 = 292

DiabloMiner -v 2 -w 128 -f 60 = 302
I don't think so Tim.

On my Radeon 5850 @ 725 /w SDK 2.4 on Win7 x64

DiabloMiner -v 2 -w 128 -f 60 254 MHash/s
DiabloMiner -v 2 -w 128 -f 1 270 MHash/s
Phoenix 1.47 -k phatk DEVICE=0 VECTORS WORKSIZE=128 BFI_INT AGGRESSION=12 282 MHash/s

I haven't found the optimum settings for 2.4 yet. Try playing with the settings and see if you can get higher numbers. Every machine is different.
2136  Other / CPU/GPU Bitcoin mining hardware / Re: Official DiabloMiner GPU Miner Thread (now with Long Poll and BFI_INT support) on: May 14, 2011, 04:27:42 PM
Update: BFI_INT support.

I now have the fastest miner known to man.

On my Radeon 5850 @ 765 /w SDK 2.1

Phoenix DEVICE=1 VECTORS WORKSIZE=128 BFI_INT AGGRESSION=5, 7, 11, 13, with or without FASTLOOP = 273

poclbm -v -w 128 -f 60 = 292

DiabloMiner -v 2 -w 128 -f 60 = 302
2137  Other / CPU/GPU Bitcoin mining hardware / Re: Official DiabloMiner GPU Miner Thread (now with Long Poll support) on: May 14, 2011, 01:04:36 PM
Thank you so much, I finally got it to work. My mining speed is currently about 40 Mhash/s, and as far as I know, that's not very good. Any idea how I can get a better speed? I also keep getting these "Block x found on ATI Radeon HD 5670 (#1)". I suppose that doesn't mean I've actually found a block, as I've gotten 7 of them already - the last two with a three second interval. I'm mining as a part of the Eligius pool atm, if that has anything to say. Also, my usually überfast Mac got reeeeally slow now, but I guess that's a prize I have to pay for mining Bitcoins.

EDIT: One more noob-question: How do I quit DiabloMiner? By quitting Terminal?

If you're on a pool, those are shares (aka equivalent to difficulty 1 blocks). If you're on OSX, you lose a significant amount of your GPU power. A 5670 normally would get at least 70, but OSX's OpenCL implementation is so bad, who knows.

To quit the miner, just press control-c.
2138  Other / CPU/GPU Bitcoin mining hardware / Re: Official DiabloMiner GPU Miner Thread (now with Long Poll support) on: May 14, 2011, 02:19:28 AM
Hi.

I'm quite a noob when it comes to all this java-programming-stuff, but I really want to try mining Bitcoins, and thus I downloaded DiabloMiner. I'm using Mac OSX 10.6.7 and my graphics card is a "ATI Radeon HD 5670". I try starting the program in Terminal, using the following:

java -cp /Users/Felles/Desktop/DiabloMiner/target/libs/*:/Users/Felles/Desktop/DiabloMiner/target/DiabloMiner.jar com.diablominer.DiabloMiner.DiabloMiner -u 12keBjKYgLJiTvwjxcbP5cbCHYV31TbT5d -p xxx -o pool.bitcoin.dashjr.org -r 8337 -g 5

Could you please help me, so I can begin my exiting Bitcoin adventure?

Dont try typing the Java command out by hand, use DiabloMiner-OSX.sh

By dragging and dropping DiabloMiner-OSX.sh into the Terminal window, this happens:

/Users/Felles/Desktop/DiabloMiner/DiabloMiner-OSX.sh

Exception in thread "main" java.lang.NoClassDefFoundError: com/diablominer/DiabloMiner/DiabloMiner
Caused by: java.lang.ClassNotFoundException: com.diablominer.DiabloMiner.DiabloMiner
   at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

You have to cd into the dir first, and then run ./DiabloMiner-OSX.sh
2139  Other / CPU/GPU Bitcoin mining hardware / Re: Official DiabloMiner GPU Miner Thread (now with Long Poll support) on: May 13, 2011, 09:55:30 AM
Update:  Added multiple vector widths, -v now requires a number

-v 2 is the old -v, and seems to be fastest on SDK 2.4, while -v 4 seems to be faster on SDK 2.1. I now get around 275.

I probably should go implement BFI_INT soon.
2140  Other / CPU/GPU Bitcoin mining hardware / Re: Official DiabloMiner GPU Miner Thread (now with Long Poll support) on: May 13, 2011, 02:26:24 AM
Update: Updated nonce saturation to do 2^32 total, added forgotten l4j.ini file, improved nonce handling for -v and/or -z
Pages: « 1 ... 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 [107] 108 109 110 111 112 113 114 115 116 117 118 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!