Bitcoin Forum
April 19, 2024, 11:55:26 AM *
News: Latest Bitcoin Core release: 26.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 »
  Print  
Author Topic: [XPM] Working on a GPU miner for Primecoin, new thread :)  (Read 166544 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
mtrlt (OP)
Member
**
Offline Offline

Activity: 104
Merit: 10


View Profile
August 14, 2013, 04:57:39 PM
Last edit: September 16, 2013, 04:21:50 PM by mtrlt
 #1

New thread!

Currently the newest version is beta 2. If you are a donator with an old version, just redownload the miner from the link I sent you.

I am working on an OpenCL GPU miner for Primecoin. I fully intend to release it open-source and for free when it's ready.

Progress reports: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

When will it be released?

The closed beta is now running (since 2013-09-02), and the public release will be in a week or two. If you are a donator but didn't get the miner, whine to me and I'll send it to you!

Why should I trust you?

I am the creator of the GPU miner Reaper. I was the first person to show that GPU mining Litecoins (i.e. scrypt) is possible and also a lot more efficient than on the CPU. I've made my own GPU miners for many coins, including Bitcoin, Litecoin and Yacoin, although not all of them have been released to the public. The Primecoin GPU miner will be free and open-source.

I am also a university math student, and I have made my own implementation of the Elliptic Curve Digital Signature Algorithm used by Bitcoin (and all its forks) to make transactions. From scratch. (Yes, that includes my own bignum library.) I know a lot about algebra, prime numbers and such.

Why not CUDA?

CUDA is not cross-platform. It only works on Nvidia cards, but AMD cards are the ones with the best performance. OpenCL works on all GPUs.

What operating systems will the miner support?

Windows and Linux.

How fast is the miner going to be?

Currently it's not really faster than a CPU. It'll be optimized in time, though.

Official development thread at ppcointalk: http://www.ppcointalk.org/index.php?topic=508
Bitcoin mining is now a specialized and very risky industry, just like gold mining. Amateur miners are unlikely to make much money, and may even lose money. Bitcoin is much more than just mining, though!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
mtrlt (OP)
Member
**
Offline Offline

Activity: 104
Merit: 10


View Profile
August 14, 2013, 05:00:26 PM
 #2

So, a new update. I had some problems implementing Barrett reduction, but now I only need a division algorithm and I can finally test and hopefully send the miner out.
bidji29
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
August 14, 2013, 05:05:08 PM
 #3

Good luck,

So, only one or two days should be enough, no?
Have you an estimate of the speed increase?

http://www.freebieservers.com/  100% FREE GAME SERVERS
A L I E N
Legendary
*
Offline Offline

Activity: 1358
Merit: 1000



View Profile
August 14, 2013, 05:11:52 PM
 #4


Thanks for the update and fresh thread.
AmDD
Legendary
*
Offline Offline

Activity: 1027
Merit: 1005



View Profile
August 14, 2013, 05:20:25 PM
 #5

Cool, cant wait to see how well this works, however I kinda like being able to mine primes on my cpu and scrypt on my gpus at the same time Wink

BTC tip jar: 18EKpbrcXxbpzAZv3T58ccGcVis7W7JR9w
LTC tip jar: Lgp8ERykAgx6Q8NdMqpi5vnVoUMD2hYn2a
mtrlt (OP)
Member
**
Offline Offline

Activity: 104
Merit: 10


View Profile
August 14, 2013, 05:20:32 PM
 #6

Good luck,

So, only one or two days should be enough, no?
Yep, but I have plans for the weekend. I'll try to get as much work done as possible before that.

Quote
Have you an estimate of the speed increase?
Not really, no.
vinne81
Full Member
***
Offline Offline

Activity: 182
Merit: 100



View Profile
August 14, 2013, 05:24:04 PM
 #7

Yep, but I have plans for the weekend. I'll try to get as much work done as possible before that.

Drinking 75 BTC worth of "champageun"? :p

Entz
Full Member
***
Offline Offline

Activity: 210
Merit: 100


I not use any kind of messenger beware of scammers


View Profile
August 14, 2013, 05:32:25 PM
 #8

Keep up the good work (not bothered by the delays myself)  Grin

gigawatt
Full Member
***
Offline Offline

Activity: 168
Merit: 100



View Profile
August 14, 2013, 05:38:11 PM
 #9

I forgot to ask in the other thread: will the miner support multiple GPUs?
Secondly, is this a true "miner" or is it solo-mining client replacement?

BTC: 1E2egHUcLDAmcxcqZqpL18TPLx9Xj1akcV   Ψ: AWHJbwoM67Ez12SHH4pH5DnJKPoMSdvLz2   Primecoin All-In-One VPS Setup Script   Quarkcoin All-In-One VPS Setup Script   Metiscoin VPS Pool Mining Script
mtrlt (OP)
Member
**
Offline Offline

Activity: 104
Merit: 10


View Profile
August 14, 2013, 05:39:32 PM
 #10

will the miner support multiple GPUs?
Yes.

Quote
Secondly, is this a true "miner" or is it solo-mining client replacement?
It's a true miner, a fully standalone program.
gigawatt
Full Member
***
Offline Offline

Activity: 168
Merit: 100



View Profile
August 14, 2013, 05:43:39 PM
 #11

Quote
Secondly, is this a true "miner" or is it solo-mining client replacement?
It's a true miner, a fully standalone program.

So does that mean the requirement for a pool, or simply connecting via RPC?

BTC: 1E2egHUcLDAmcxcqZqpL18TPLx9Xj1akcV   Ψ: AWHJbwoM67Ez12SHH4pH5DnJKPoMSdvLz2   Primecoin All-In-One VPS Setup Script   Quarkcoin All-In-One VPS Setup Script   Metiscoin VPS Pool Mining Script
ReCat
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



View Profile WWW
August 14, 2013, 06:19:09 PM
 #12

75 BTC man. You made a KILLING.

BTC: 1recatirpHBjR9sxgabB3RDtM6TgntYUW
Hold onto what you love with all your might, Because you can never know when - Oh. What you love is now gone.
akspa
Newbie
*
Offline Offline

Activity: 53
Merit: 0



View Profile WWW
August 14, 2013, 06:29:23 PM
 #13

Thanks for the new thread and status update. Here's to hoping we get to see a working gpu miner before September Cheesy
NickCoin
Member
**
Offline Offline

Activity: 115
Merit: 10



View Profile
August 14, 2013, 06:30:53 PM
 #14

Just saw this thread, planning to donate some, is it too late?

Also, will your miner work on Windows? I have only cgminer experience so far.
SpaceCadet
Full Member
***
Offline Offline

Activity: 165
Merit: 100


Just mining my own business...


View Profile
August 14, 2013, 06:37:50 PM
 #15


Why not CUDA?

CUDA is not cross-platform. It only works on Nvidia cards, but AMD cards are the ones with the best performance. OpenCL works on all GPUs.


You might want to investigate this some more.  It is very true that AMD (ATI) cards blow Nvidia cards away when doing SHA-256 or scrypt processing, but primecoin uses a VERY different 'hashing' algo.  It is possible that Nvidia may process primes just as well (probably a good topic for a separate thread - any takers?)  I'm far from an expert (or even conversant) on either architecture, but until someone investigates it, it's not fair to make such a statement based on a different problem set. 

Of course, CUDA still is not cross platform, and any miner worth his salt is using AMD cards already, so that is still a valid reason for discounting CUDA. 
mtrlt (OP)
Member
**
Offline Offline

Activity: 104
Merit: 10


View Profile
August 14, 2013, 06:59:07 PM
 #16

You might want to investigate this some more.  It is very true that AMD (ATI) cards blow Nvidia cards away when doing SHA-256 or scrypt processing, but primecoin uses a VERY different 'hashing' algo.  It is possible that Nvidia may process primes just as well (probably a good topic for a separate thread - any takers?)  I'm far from an expert (or even conversant) on either architecture, but until someone investigates it, it's not fair to make such a statement based on a different problem set.  

Of course, CUDA still is not cross platform, and any miner worth his salt is using AMD cards already, so that is still a valid reason for discounting CUDA.  

As far as I know, Nvidia cards are faster at floating point operations, which are not used in Primecoin mining.
Dsfyu
Member
**
Offline Offline

Activity: 75
Merit: 10



View Profile
August 14, 2013, 07:10:25 PM
 #17

Good luck,

So, only one or two days should be enough, no?
Yep, but I have plans for the weekend. I'll try to get as much work done as possible before that.
Thanks for the update. I know everyone here is glad to get an update for a highly anticipated project like this one. I can't wait to see the working version.

Don't just trade, get paid to Atomic⚛Trade !!!
Disclaimer: I am a noob. Assume I know nothing until proven otherwise.
mtrlt (OP)
Member
**
Offline Offline

Activity: 104
Merit: 10


View Profile
August 26, 2013, 01:01:43 AM
 #18

New update!!

The GPU primality tester works now! Finally.. Testing the first, very much unoptimized version on testnet, a HD6990 seems to be about 2x as fast as a Phenom x6 1055T. On mainnet, there's still the problem of having too few candidates left after sieving, which leads to GPU underutilization.

I'll write a better update in the morning, it's 4 AM..
mtrlt (OP)
Member
**
Offline Offline

Activity: 104
Merit: 10


View Profile
August 31, 2013, 02:51:17 AM
 #19

I'm looking forward to sending the first version to donators this weekend. Let's see how it goes.

Also, thread is now unlocked. I'm sorry I haven't communicated better, I've hit a rough patch in my life, but it'll get better..
jasinlee
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500


Its as easy as 0, 1, 1, 2, 3


View Profile
August 31, 2013, 02:58:33 AM
 #20

"Rough patch" : When the coin is no longer worth mining and he has finished crashing the market.

http://coinmarketcap.com/xpm_30.html

BTC 1JASiNZxmAN1WBS4dmGEDoPpzN3GV7dnjX DVC 1CxxZzqcy7YEVXfCn5KvgRxjeWvPpniK3                     Earn Devcoins Devtome.com
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 »
  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!