Pages:
Author

Topic: python OpenCL bitcoin miner - page 55. (Read 1239060 times)

legendary
Activity: 860
Merit: 1026
October 07, 2010, 09:00:42 AM
#30
damn, i cant get python to register properly.
does anyone know how to fix that on win7-64 ?

HKEY_LOCAL_MACHINE\SOFTWARE\Python\Pythoncore\2.7\InstallPath = C:\Python27
HKEY_LOCAL_MACHINE\SOFTWARE\Python\Pythoncore\2.7\PythonPath = C:\Python27;C:\Python27\Lib;C:\Python27\DLLs

and

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\Pythoncore\2.7\InstallPath = C:\Python27
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\Pythoncore\2.7\PythonPath = C:\Python27;C:\Python27\Lib;C:\Python27\DLLs

dont work.
legendary
Activity: 1540
Merit: 1002
October 07, 2010, 08:53:51 AM
#29
Got it working:

295525 khash/s!!!

Holy mother of

Please, do share some hw details Smiley
legendary
Activity: 860
Merit: 1026
October 07, 2010, 07:41:15 AM
#28
Can anyone pls upload the Stream SDK 2.2 for 64bit Windows 7 pls ?
AMD link is down -.-
hero member
Activity: 574
Merit: 513
October 07, 2010, 03:31:40 AM
#27
Slightly improved kernel (~10%). Fixed a problem with rotate() and Nvidia OpenCL. I won't upload anymore to the forum, please use the repo.

Added to http://www.bitcoin.org/wiki/doku.php?id=repositories
full member
Activity: 171
Merit: 127
October 06, 2010, 11:49:02 PM
#26
Use '-server'.
full member
Activity: 171
Merit: 127
October 06, 2010, 03:25:17 PM
#25
Sorry, forgot about that. You should install json-rpc. See at http://json-rpc.org/wiki/python-json-rpc

L29Ah, unfortunately there isn't Nvidia card here to test with it. I suppose you should try different drivers. It seems the problem is in nvidia OpenCL compiler.
newbie
Activity: 8
Merit: 0
October 06, 2010, 12:15:54 PM
#24
Slightly improved kernel (~10%). Fixed a problem with rotate() and Nvidia OpenCL. I won't upload anymore to the forum, please use the repo.
now it segfaults: http://paste.pocoo.org/show/271825/
full member
Activity: 150
Merit: 100
October 06, 2010, 12:14:08 PM
#23
Any chance of a 64 bit windows build? Roll Eyes
full member
Activity: 171
Merit: 127
October 06, 2010, 10:35:25 AM
#22
Win32 bitcoin with getwork, against SVN 161.
legendary
Activity: 1470
Merit: 1006
Bringing Legendary Har® to you since 1952
October 06, 2010, 06:52:28 AM
#21
Do i need to use a special version of graphics drivers to get the OpenCL client working ?
full member
Activity: 171
Merit: 127
October 06, 2010, 05:42:59 AM
#20
Slightly improved kernel (~10%). Fixed a problem with rotate() and Nvidia OpenCL. I won't upload anymore to the forum, please use the repo.
newbie
Activity: 8
Merit: 0
October 05, 2010, 06:28:44 PM
#19
i'm getting http://paste.pocoo.org/show/271546/ when trying to run it
full member
Activity: 150
Merit: 100
October 05, 2010, 05:27:55 PM
#18
I can't get the getwork patch to compile into bitcoin. Is that something satoshi has considered adding to the main trunk?

I've got PyOpenCL finally installed but without the patch in the client, I can't request anything.

I'm in the same position. All I need is the patch compiled into the client and I should be ready to go :/
full member
Activity: 171
Merit: 127
October 05, 2010, 10:31:14 AM
#17
Added auto adjustment to keep desktop responsive. Also, doing hash rate calculation at user defined interval.
full member
Activity: 171
Merit: 127
October 04, 2010, 10:30:57 AM
#16
Sorry, just realized i broke it with latest changes, please update. (It won't submit to RPC properly)
hero member
Activity: 532
Merit: 505
October 04, 2010, 09:29:21 AM
#15
of course, but still
i'd like to know if that's a usual expectation on ati cards compared to nvidia,
no single-hd5870-users around that want to share their hash-count?

i'm gonna buy a new card sooner or later anyway and i don't mind if it says ati or nvidia on it,
both will surely run my game/s.
but if one of them is x times better crunching blocks and besides that, prolly cheaper too,
i already know what my next favourite brand is.
legendary
Activity: 1540
Merit: 1002
October 04, 2010, 09:02:54 AM
#14
don't have an ATI card, but even after reading those performance-infos i still can't believe that 980something-mega-hash.

5.800khash on a hd4350 makes sense to me, i get around 5-6.000 on a 8600gt, both listed around 100GFlops.
my gtx260 gets ~40Mhash, 874GFlops
i'd expect a hd5870 makes at least 3times as much, cuz it's listed with 2700GFlops,
which would result in around 400Mhash for 3 of those cards,
that's what i would expect, so where's those extra 600Mhash coming from? Huh
it's superior architecture?
if so, my next card will be ati again.  Grin


There's a lot more than GFlops to this equation. Memory bandwidth, for one, will be very important.
hero member
Activity: 532
Merit: 505
October 04, 2010, 08:57:52 AM
#13
don't have an ATI card, but even after reading those performance-infos i still can't believe that 980something-mega-hash.

5.800khash on a hd4350 makes sense to me, i get around 5-6.000 on a 8600gt, both listed around 100GFlops.
my gtx260 gets ~40Mhash, 874GFlops
i'd expect a hd5870 makes at least 3times as much, cuz it's listed with 2700GFlops,
which would result in around 400Mhash for 3 of those cards,
that's what i would expect, so where's those extra 600Mhash coming from? Huh
it's superior architecture?
if so, my next card will be ati again.  Grin
full member
Activity: 171
Merit: 127
October 04, 2010, 07:52:40 AM
#12
There is information on wikipedia about the performance of various AMD/ATI and Nvidia chips.

4350 is cited at 92 GFLOPS. 5870 has 2720 GFLOPS. tcatm has 3x5870s. Due to it's superior architecture 5870 is capable of more than just the difference in GFLOPS. For example I get 6 Mhash/s on 4350 and 137 Mhash/s on 5770 (ratio of 1/22) even if the ratio of GFLOPS for the relevant cards is 92 to 1360 (1/14).
legendary
Activity: 1540
Merit: 1002
October 04, 2010, 07:34:43 AM
#11
jgarzik: I tested this against vanilla client to be sure blocks are actually accepted. On ATI 4350 it makes ~5800 khash/s.

Hmm, that's weird. Shouldn't the speed be much bigger, like 10-fold or 100-fold faster at least ?

I mean there was this guy somewhere on the BTC forum who claimed that he's getting 983 Mhash/s (983 000 khash/sec) with just 3 radeons 5870 or something.

Yeah, I'm struggling with how OpenCL compiles kernels and the impact of the work size on performance. It is quite counter intuitive coming from CUDA, as the unrolling of loops and functions actually makes performance worse, as the kernel needs more space. I don't have any numbers for that ATI, but the 4350 seems to be a LOT less performant than the 5870, so it might not be that low.

Once I have hardware to test this for real, I'll compare my approach to this one, so we can learn from each other.
Pages:
Jump to: