Bitcoin Forum
April 21, 2014, 09:39:14 AM *
News: Due to the OpenSSL heartbleed bug, changing your forum password is recommended.
 
   Home   Help Search Donate Login Register  
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 1001566 times)
m0mchil
Full Member
***
Offline Offline

Activity: 170


View Profile

Ignore
April 28, 2011, 07:59:53 AM
 #801

New version is up. Changes:

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

1398073154
Hero Member
*
Offline Offline

Posts: 1398073154

View Profile Personal Message (Offline)

Ignore
1398073154
Reply with quote  #2

1398073154
Report to moderator
1398073154
Hero Member
*
Offline Offline

Posts: 1398073154

View Profile Personal Message (Offline)

Ignore
1398073154
Reply with quote  #2

1398073154
Report to moderator
1398073154
Hero Member
*
Offline Offline

Posts: 1398073154

View Profile Personal Message (Offline)

Ignore
1398073154
Reply with quote  #2

1398073154
Report to moderator
Unbeatable Service & Product Support
Grab Your Miners at GAWMiners.com
Order Before April 25th to receive
Double your Hashing Power for 1 week!

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1398073154
Hero Member
*
Offline Offline

Posts: 1398073154

View Profile Personal Message (Offline)

Ignore
1398073154
Reply with quote  #2

1398073154
Report to moderator
Grinder
Hero Member
*****
Offline Offline

Activity: 944


View Profile

Ignore
April 28, 2011, 08:14:13 AM
 #802

I'm getting verification failed, check hardware on the first block it finds every time. Same setup worked with the old version and works with phoenix. Debian, OpenCL 2.1, 5970.
m0mchil
Full Member
***
Offline Offline

Activity: 170


View Profile

Ignore
April 28, 2011, 08:17:25 AM
 #803

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

Grinder
Hero Member
*****
Offline Offline

Activity: 944


View Profile

Ignore
April 28, 2011, 08:30:50 AM
 #804

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


View Profile

Ignore
April 28, 2011, 09:23:58 AM
 #805

Working great on HD 6950s.

Mobile App (Android)

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

Activity: 476


View Profile

Ignore
April 28, 2011, 11:56:22 AM
 #806

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


View Profile

Ignore
April 28, 2011, 12:15:38 PM
 #807

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


View Profile

Ignore
April 28, 2011, 03:38:37 PM
 #808

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
Hero Member
*****
Offline Offline

Activity: 1008


View Profile

Ignore
April 28, 2011, 04:23:37 PM
 #809

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

Seems BFI_INT is on by default

GPG PubKey | THREEMAOTC | HeatWare | 1JWU42QLGFESoQCC4iPzUDTRiC9nx5bi95
m0mchil
Full Member
***
Offline Offline

Activity: 170


View Profile

Ignore
April 28, 2011, 07:20:28 PM
 #810

@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


Testing


View Profile

Ignore
April 28, 2011, 10:56:50 PM
 #811

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
Hero Member
*****
Offline Offline

Activity: 1134



View Profile

Ignore
April 28, 2011, 11:41:39 PM
 #812

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.

Monetary Freedom - a basic human right
"Disarming money as a tool for tyranny."
"Disintermediating the State."
Cablesaurus
Sr. Member
****
Offline Offline

Activity: 302



View Profile WWW

Ignore
April 29, 2011, 05:31:32 PM
 #813

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.

error
Sr. Member
****
Offline Offline

Activity: 462



View Profile

Ignore
April 29, 2011, 05:47:25 PM
 #814

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.

15UFyv6kfWgq83Pp3yhXPr8rknv9m6581W
CoinMan
Member
**
Offline Offline

Activity: 104



View Profile

Ignore
April 29, 2011, 10:53:30 PM
 #815

@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: 224


View Profile

Ignore
April 30, 2011, 01:21:49 AM
 #816

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.

It's better to be pissed off, than to be pissed on.
BTC : 1UgM1rqL9mFtH4PHF8TgvAaceymaKmhmP         LTC : LgCGw2WrRphr94RYS1qXHj2PUuYrTap4vk
FC : 6jc9PEmqxpMSxydfepHtshE4f2jMom1dAJ
LightRider
Hero Member
*****
Offline Offline

Activity: 1106


I advocate the Zeitgeist Movement & Venus Project.


View Profile WWW

Ignore
April 30, 2011, 07:39:25 AM
 #817

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

I'm selling a motherboard!
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


View Profile

Ignore
April 30, 2011, 09:59:58 AM
 #818

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 ;-)

To be klikink here please (http://fxnet.bitlex.org/?ref=839)
LightRider
Hero Member
*****
Offline Offline

Activity: 1106


I advocate the Zeitgeist Movement & Venus Project.


View Profile WWW

Ignore
April 30, 2011, 11:33:05 AM
 #819

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

I'm selling a motherboard!
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: 106



View Profile

Ignore
April 30, 2011, 07:27:28 PM
 #820

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
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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!