Bitcoin Forum
April 26, 2024, 11:54:47 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 [41] 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 »
  Print  
Author Topic: python OpenCL bitcoin miner  (Read 1238799 times)
m0mchil (OP)
Full Member
***
Offline Offline

Activity: 171
Merit: 127


View Profile
April 28, 2011, 08:17:25 AM
 #801

Grinder, it would be really nice if you mention what your setup consists of. Thanks

"Bitcoin: the cutting edge of begging technology." -- Giraffe.BTC
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714132488
Hero Member
*
Offline Offline

Posts: 1714132488

View Profile Personal Message (Offline)

Ignore
1714132488
Reply with quote  #2

1714132488
Report to moderator
Grinder
Legendary
*
Offline Offline

Activity: 1284
Merit: 1001


View Profile
April 28, 2011, 08:30:50 AM
 #802

I updated my post almost immediately with some info. Do you need to know anything else? Parameters are -d 1 -w 128 -f 0 -r 2

Hm. No errors if I add -v. Same thing happens on a 5850 on the same system, although I did get one accepted before it exited when I tried.
qed
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
April 28, 2011, 09:23:58 AM
 #803

Working great on HD 6950s.

Mobile App (Android)

Monitor miners, exchange rates and Bitcoin network stats.
vuce
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
April 28, 2011, 11:56:22 AM
 #804

Works great. I get pretty much the same hashrate as with phoenix, but the number of submitted shares is ~7% higher (or maybe the last 3 hours were just extremely lucky).
fasti
Member
**
Offline Offline

Activity: 92
Merit: 10


View Profile
April 28, 2011, 12:15:38 PM
 #805

http://support.amd.com/us/kbarticles/Pages/AMDCatalyst114ReleaseNotes.aspx

Quote
GPU Compute enhancements:

    The OpenCL runtime (included in AMD Catalyst 11.4) includes performance enhancements supporting zero-copy on APUs and increased performance for PCIe transfers between a CPU and discrete GPU.

Wonder if this can improve mining...

1QCcAR3e3wdxr7CcJ8ND1NmWuvLttCJScH
kindle
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
April 28, 2011, 03:38:37 PM
 #806

Hi m0mchil thanks for keeping your miner up to speed with the bit_int support. Out of curiosity does your latest version activate the bit_int support automatically? Is there a flag I have to add to activate it.

Also I noticed similar performance to that of phoenix. I guess essentially both miners are the same as it is running the same kernel, however is the hash checking the same for both?

JWU42
Legendary
*
Offline Offline

Activity: 1666
Merit: 1000


View Profile
April 28, 2011, 04:23:37 PM
 #807

I am seeing same performance as Phoenix 1.3 as well - fwiw

Seems BFI_INT is on by default

m0mchil (OP)
Full Member
***
Offline Offline

Activity: 171
Merit: 127


View Profile
April 28, 2011, 07:20:28 PM
 #808

@kindle
Yes, it is on by default if the hardware supports it.

Both miners are now the same in terms of hash checking. Phoenix has far better documented and structured code. It also cares about 'efficiency', something I'm tired of explaining that actually doesn't matter.

Also, Phoenix seems to have different way of load tuning (aggression) which on my particular setup results in more laggy behavior... and perhaps slightly better performance for dedicated mining rigs, not sure.

I hope I won't attract anger with blatantly copying their BFI_INT support. I tried something like this a month ago but didn't understand there is "elf within elf".

TheShoura
Member
**
Offline Offline

Activity: 98
Merit: 10

Testing


View Profile
April 28, 2011, 10:56:50 PM
 #809

How do you use the --platform flag?

http://bitcointalk.org/index.php?topic=6745.0

If you would like to send me a tip: 1HVGGWGWgHkyh9K8sntkZmXoiopX8Bsvv8

Security: 8452BCD9
ALWAYS gpg ident the person you're about to exchange with!
marcus_of_augustus
Legendary
*
Offline Offline

Activity: 3920
Merit: 2348


Eadem mutata resurgo


View Profile
April 28, 2011, 11:41:39 PM
 #810

New version is up. Changes:

- BFI_INT (~10% performance improvement)
- TCP keep-alive

thanks for the update.

Can confirm that poclbm is now up to speed with phoenix (maybe even slightly better but will have to watch shares found over time to confirm).

HD 5970, ubuntu 10.10, SDK 2.1, fglrx 11.2
seems that mem. under-clock speeds (775/300) with linux now works with m0mchill ... yay. Was this connected to the BFI_INT capability?

Faster, cooler, quieter.

Cablesaurus
Sr. Member
****
Offline Offline

Activity: 302
Merit: 250



View Profile WWW
April 29, 2011, 05:31:32 PM
 #811

I can confirm I'm getting greatly increased speeds.
On my XFX 5870's I went from ~330MHash to ~365MHash, each card, with no noticeable increase in temperature.

PCIe Extender Cables; Dummy Plugs, Fans; PSU Cables; Cases & More
Visit www.Cablesaurus.com and our forum thread at http://bitcointalk.org/index.php?topic=6128.0
error
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
April 29, 2011, 05:47:25 PM
Last edit: April 29, 2011, 06:05:39 PM by error
 #812

After updating to 20110428 I have the following error (Fedora 15 x86_64; Python 2.7.1). Previous version ran fine.

EDIT: Nevermind, I just git cloned the repo instead of downloading stuff manually as this outdated guide suggests (maybe it should be updated). Everything is working.

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
CoinMan
Member
**
Offline Offline

Activity: 104
Merit: 10



View Profile
April 29, 2011, 10:53:30 PM
 #813

@m0mchil Thank you for the recent update to your miner!  It added 30 Mh/s to my miner.  How sweet that is!

My Bitcoin Identity
Bitcoin: 183DFFQXR4xCyseBXzmh3XWc22izDWE5Dw
IlbiStarz
Full Member
***
Offline Offline

Activity: 336
Merit: 100



View Profile
April 30, 2011, 01:21:49 AM
 #814

How can you tell what version you are running?

Also, how come in cmd, I'm getting about 320Mhash/s (I have 2 cores), but in deeptbit, the average is only 400Mhash/s.
LightRider
Legendary
*
Offline Offline

Activity: 1500
Merit: 1021


I advocate the Zeitgeist Movement & Venus Project.


View Profile WWW
April 30, 2011, 07:39:25 AM
 #815

Holy crap, I haven't updated in a whole month!

Bitcoin combines money, the wrongest thing in the world, with software, the easiest thing in the world to get wrong.
Visit www.thevenusproject.com and www.theZeitgeistMovement.com.
wiktor
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
April 30, 2011, 09:59:58 AM
 #816

I know this is a tired subject, but I'm another victim of the "100% CPU" problem. Though everyone else seemed to have it with AMD cards, and I have an nVidia 9500 running on amd64 Linux.

Code:
./poclbm.py --host=<...> --port=8332 --user=<...> --pass=<...> --frames=76 --vectors --device=0 --platform=0

It is actually using the GPU since it goes up to 5.5 Mhps (my CPUs only go up to 2 Mhps on their own, also I was running minerd at the same time on those CPUs), but still uses a large chunk of my CPU (1 whole CPU), so it's not that I have somehow selected the CPU driver.

I've tried playing with some of the settings, turning off vectors only made it worse (it ate 1 CPU and a bit of another), changing the value of frames to 0 or 30 had no difference.
I have tried running it without minerd hogging the CPUs but that made no difference…


If I get this to work I'll be able to pull off over 13 Mhps (4×2Mhps + 5.5 Mhps - rounding), but if the script itself takes up a whole CPU the minerd's performance halves, so I get hardly 9-10 Mhps.


Oh, and hi!, BTW ;-)
LightRider
Legendary
*
Offline Offline

Activity: 1500
Merit: 1021


I advocate the Zeitgeist Movement & Venus Project.


View Profile WWW
April 30, 2011, 11:33:05 AM
 #817

I'm getting Long Poll Exceptions on BTCMine.com's pool.

Code:
30/04/2011 06:29:35, long poll exception:
Traceback (most recent call last):
  File "BitcoinMiner.pyo", line 259, in longPollThread
  File "BitcoinMiner.pyo", line 222, in request
  File "httplib.pyo", line 974, in getresponse
  File "httplib.pyo", line 391, in begin
  File "httplib.pyo", line 349, in _read_status
  File "socket.pyo", line 397, in readline
timeout: timed out

Bitcoin combines money, the wrongest thing in the world, with software, the easiest thing in the world to get wrong.
Visit www.thevenusproject.com and www.theZeitgeistMovement.com.
JackSparrow
Member
**
Offline Offline

Activity: 116
Merit: 10



View Profile
April 30, 2011, 07:27:28 PM
 #818

Quote
Q: Does my video card / driver supports OpenCL?

AMD - 4xxx and up.

You mean HD-4xxx and up, do you?

https://secure.wikimedia.org/wikipedia/en/wiki/Radeon#Processor_generations
RustyShackleford
Newbie
*
Offline Offline

Activity: 43
Merit: 0



View Profile
April 30, 2011, 11:42:24 PM
 #819

m0mchil, I've been using your miner for months now with no issues, but the latest version seems to be causing me an issue:

Exception in thread Thread-2:
Traceback (most recent call last):
  File "threading.pyo", line 525, in __bootstrap_inner
  File "threading.pyo", line 477, in run
  File "BitcoinMiner.pyo", line 272, in miningThread
  File "BitcoinMiner.pyo", line 373, in loadKernel
IOError: [Errno 13] Permission denied: '4cd591f539230b2adbff06c9d1a53ce6.elf'


Windows, 9800GTX+, using all the same flags I always have. Tried on two different pools just to make sure it wasn't a pool problem & both pools work fine with the version I was using before (3/11)

Any ideas? Smiley
RustyShackleford
Newbie
*
Offline Offline

Activity: 43
Merit: 0



View Profile
May 01, 2011, 12:40:33 AM
 #820

m0mchil, I've been using your miner for months now with no issues, but the latest version seems to be causing me an issue:

Exception in thread Thread-2:
Traceback (most recent call last):
  File "threading.pyo", line 525, in __bootstrap_inner
  File "threading.pyo", line 477, in run
  File "BitcoinMiner.pyo", line 272, in miningThread
  File "BitcoinMiner.pyo", line 373, in loadKernel
IOError: [Errno 13] Permission denied: '4cd591f539230b2adbff06c9d1a53ce6.elf'


Windows, 9800GTX+, using all the same flags I always have. Tried on two different pools just to make sure it wasn't a pool problem & both pools work fine with the version I was using before (3/11)

Any ideas? Smiley

I solved this myself, It was a permissions/folder attributes issue. I don't know exactly what the correct permissions are, but an xcopy /O /K of the previous version's folder; subsequently updated with the contents of the new version; works fine.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 [41] 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!