Pages:
Author

Topic: [ANN][MTC] GPU Miner for Metiscoin - 35% FASTER on R9 280x (Read 6511 times)

legendary
Activity: 2296
Merit: 1170
Advertise Here - PM for more info!
If i use this howcan i choose GPU ? and i need to use -d 0,0 like this for 280x ?

on windows, there are two execs (and 2 bat files) inside the zip. open for cpu, the other for gpu. There is also a .bat file as an example of usage.

On linux you must download each version separately. The metis-minerd-linuxXX-build4.tgz is the GPU version, and the metis-minerd-CPUonly-linuxXX-build4.tgz is the cpu version.

If your 280x is the first GPU, simple launch it without specifying a device:

Code:
./minerd -u workername -p workerpass

If it is no the first device (in case you have more GPUs on the same machine), first list the devices:

Code:
./minerd --list-devices

it should show you the device numbers, like this:

Code:
Platform 00: AMD Accelerated Parallel Processing
  Device 00: Cedar
  Device 01: Tahiti
  Device 02: AMD Phenom(tm) II X4 B95 Processor

Take note of the right device and run (in this case, the 280x is "tahiti", so device 01):

Code:
./minerd -u workername -p workerpass -d 1

DO NOT use -d 0,0 as in your example, this will try to run it twice in the same device and may lead to inconsistencies and out of memory errors. If you want  to run on more than one device, in my case on "Cedar" and "Tahiti", run as follows:

Code:
./minerd -u workername -p workerpass -d 0,1

You can also use the gpu version to run o CPU, use:

Code:
./minerd -u workername -p workerpass -a metiscpu

As for your later question:

what Steps size is good for 280x ?

The default step size (19) should be excelent for 280x. less than 19 might make it slow, and more than 21 will take too long to complete each step, with no performance improvement.
member
Activity: 189
Merit: 10
NEW EFFICIENT CPU MINER

For those of you who asked about the CPU miner, good news: The new version of the miner supports both GPU and CPU mining. As i'm not sure if the GPU version runs without a GPU driver installed, i produced 2 versions of the miner: minerd.exe which supports both CPU and GPU, and minerd-cpuonly.exe, which as its name says, supports only CPU mining.


Hi, thank you for your efforts in making the CPU-only.

But it is not very efficient as I hoped.

By way of example, the present version for Win64 reports:

[2014-03-10 11:52:11] thread 1: 1278464 hashes, 116.94 khash/s
[2014-03-10 11:52:19] thread 0: 1272832 hashes, 128.75 khash/s
[2014-03-10 11:52:29] thread 1: 1169408 hashes, 128.53 khash/s
[2014-03-10 11:52:31] thread 0: 1287680 hashes, 117.47 khash/s

No share even after a long time, and then on the pool's site there are no signs that the worker is on-line and that is working.
Comparable results for the linux version.

For comparison, on the same machine the win version of xptMiner (1.5), however, shows:

[00:02:32] kHash/s: 316.90 Shares total: 0 / 0
[00:02:37] Share found! (Blockheight: 47112)
[00:02:40] kHash/s: 317.03 Shares total: 1 / 1
[00:02:48] kHash/s: 317.15 Shares total: 1 / 1
[00:02:54] Share found! (Blockheight: 47112)
[00:02:56] kHash/s: 317.25 Shares total: 2 / 2
[00:03:04] kHash/s: 317.53 Shares total: 2 / 2

And by the time the kHash stabilizes at about 340.

Maybe the problem is due to the Dif too high?

In this regard, before I never noticed, but a difficulty 116421.397088 is normal for MetisCoin?

PS:
The machine on which I effettuate the test is based on Athlon 64 X2 6000+.
I know, the machine is not very powerful, but that is available.

Yes, the share difficulty in my pool is too high for cpumining (currently set to 64), i think. I can lower it, but this should be something well planned since it can be unfair to those already mining. I'll think of some solution to this, to make cpu mining usable on the new pool.

The difficulty of 116421.397088 is not "normal" in the sense that it never got so high, i think. But that's just a sign that the coin is growing, which is good!
If i use this howcan i choose GPU ? and i need to use -d 0,0 like this for 280x ?
what Steps size is good for 280x ?
member
Activity: 189
Merit: 10
NEW EFFICIENT CPU MINER

For those of you who asked about the CPU miner, good news: The new version of the miner supports both GPU and CPU mining. As i'm not sure if the GPU version runs without a GPU driver installed, i produced 2 versions of the miner: minerd.exe which supports both CPU and GPU, and minerd-cpuonly.exe, which as its name says, supports only CPU mining.


Hi, thank you for your efforts in making the CPU-only.

But it is not very efficient as I hoped.

By way of example, the present version for Win64 reports:

[2014-03-10 11:52:11] thread 1: 1278464 hashes, 116.94 khash/s
[2014-03-10 11:52:19] thread 0: 1272832 hashes, 128.75 khash/s
[2014-03-10 11:52:29] thread 1: 1169408 hashes, 128.53 khash/s
[2014-03-10 11:52:31] thread 0: 1287680 hashes, 117.47 khash/s

No share even after a long time, and then on the pool's site there are no signs that the worker is on-line and that is working.
Comparable results for the linux version.

For comparison, on the same machine the win version of xptMiner (1.5), however, shows:

[00:02:32] kHash/s: 316.90 Shares total: 0 / 0
[00:02:37] Share found! (Blockheight: 47112)
[00:02:40] kHash/s: 317.03 Shares total: 1 / 1
[00:02:48] kHash/s: 317.15 Shares total: 1 / 1
[00:02:54] Share found! (Blockheight: 47112)
[00:02:56] kHash/s: 317.25 Shares total: 2 / 2
[00:03:04] kHash/s: 317.53 Shares total: 2 / 2

And by the time the kHash stabilizes at about 340.

Maybe the problem is due to the Dif too high?

In this regard, before I never noticed, but a difficulty 116421.397088 is normal for MetisCoin?

PS:
The machine on which I effettuate the test is based on Athlon 64 X2 6000+.
I know, the machine is not very powerful, but that is available.

Yes, the share difficulty in my pool is too high for cpumining (currently set to 64), i think. I can lower it, but this should be something well planned since it can be unfair to those already mining. I'll think of some solution to this, to make cpu mining usable on the new pool.

The difficulty of 116421.397088 is not "normal" in the sense that it never got so high, i think. But that's just a sign that the coin is growing, which is good!
If i use this howcan i choose GPU ? and i need to use -d 0,0 like this for 280x ?
legendary
Activity: 2296
Merit: 1170
Advertise Here - PM for more info!
NEW EFFICIENT CPU MINER

For those of you who asked about the CPU miner, good news: The new version of the miner supports both GPU and CPU mining. As i'm not sure if the GPU version runs without a GPU driver installed, i produced 2 versions of the miner: minerd.exe which supports both CPU and GPU, and minerd-cpuonly.exe, which as its name says, supports only CPU mining.


Hi, thank you for your efforts in making the CPU-only.

But it is not very efficient as I hoped.

By way of example, the present version for Win64 reports:

[2014-03-10 11:52:11] thread 1: 1278464 hashes, 116.94 khash/s
[2014-03-10 11:52:19] thread 0: 1272832 hashes, 128.75 khash/s
[2014-03-10 11:52:29] thread 1: 1169408 hashes, 128.53 khash/s
[2014-03-10 11:52:31] thread 0: 1287680 hashes, 117.47 khash/s

No share even after a long time, and then on the pool's site there are no signs that the worker is on-line and that is working.
Comparable results for the linux version.

For comparison, on the same machine the win version of xptMiner (1.5), however, shows:

[00:02:32] kHash/s: 316.90 Shares total: 0 / 0
[00:02:37] Share found! (Blockheight: 47112)
[00:02:40] kHash/s: 317.03 Shares total: 1 / 1
[00:02:48] kHash/s: 317.15 Shares total: 1 / 1
[00:02:54] Share found! (Blockheight: 47112)
[00:02:56] kHash/s: 317.25 Shares total: 2 / 2
[00:03:04] kHash/s: 317.53 Shares total: 2 / 2

And by the time the kHash stabilizes at about 340.

Maybe the problem is due to the Dif too high?

In this regard, before I never noticed, but a difficulty 116421.397088 is normal for MetisCoin?

PS:
The machine on which I effettuate the test is based on Athlon 64 X2 6000+.
I know, the machine is not very powerful, but that is available.

Yes, the share difficulty in my pool is too high for cpumining (currently set to 64), i think. I can lower it, but this should be something well planned since it can be unfair to those already mining. I'll think of some solution to this, to make cpu mining usable on the new pool.

The difficulty of 116421.397088 is not "normal" in the sense that it never got so high, i think. But that's just a sign that the coin is growing, which is good!
hero member
Activity: 1194
Merit: 502
NEW EFFICIENT CPU MINER

For those of you who asked about the CPU miner, good news: The new version of the miner supports both GPU and CPU mining. As i'm not sure if the GPU version runs without a GPU driver installed, i produced 2 versions of the miner: minerd.exe which supports both CPU and GPU, and minerd-cpuonly.exe, which as its name says, supports only CPU mining.


Hi, thank you for your efforts in making the CPU-only.

But it is not very efficient as I hoped.

By way of example, the present version for Win64 reports:

[2014-03-10 11:52:11] thread 1: 1278464 hashes, 116.94 khash/s
[2014-03-10 11:52:19] thread 0: 1272832 hashes, 128.75 khash/s
[2014-03-10 11:52:29] thread 1: 1169408 hashes, 128.53 khash/s
[2014-03-10 11:52:31] thread 0: 1287680 hashes, 117.47 khash/s

No share even after a long time, and then on the pool's site there are no signs that the worker is on-line and that is working.
Comparable results for the linux version.

For comparison, on the same machine the win version of xptMiner (1.5), however, shows:

[00:02:32] kHash/s: 316.90 Shares total: 0 / 0
[00:02:37] Share found! (Blockheight: 47112)
[00:02:40] kHash/s: 317.03 Shares total: 1 / 1
[00:02:48] kHash/s: 317.15 Shares total: 1 / 1
[00:02:54] Share found! (Blockheight: 47112)
[00:02:56] kHash/s: 317.25 Shares total: 2 / 2
[00:03:04] kHash/s: 317.53 Shares total: 2 / 2

And by the time the kHash stabilizes at about 340.

Maybe the problem is due to the Dif too high?

In this regard, before I never noticed, but a difficulty 116421.397088 is normal for MetisCoin?

PS:
The machine on which I effettuate the test is based on Athlon 64 X2 6000+.
I know, the machine is not very powerful, but that is available.
legendary
Activity: 2296
Merit: 1170
Advertise Here - PM for more info!
NEW EFFICIENT CPU MINER

I might be working a CPU only miner on the weekend, and will probably release it as open source.

For those of you who asked about the CPU miner, good news: The new version of the miner supports both GPU and CPU mining. As i'm not sure if the GPU version runs without a GPU driver installed, i produced 2 versions of the miner: minerd.exe which supports both CPU and GPU, and minerd-cpuonly.exe, which as its name says, supports only CPU mining.

as always, downloads are here: http://girino.org/metisminer

There are no news in the GPU miner, so you only need to update if you intend to do CPU mining.

Please enjoy all of you, and happy mining.
legendary
Activity: 2296
Merit: 1170
Advertise Here - PM for more info!
NEW POOL -- BETA TESTERS WANTED

For the eager ones: http://pool.girino.org/
Miners can be downloaded here: http://girino.org/metisminer/



The new miner can operate in an efficient way, even in CPU-only mode?

Sources for Linux?

TIA

no cpu-only mode yet. As i cannot efficiently charge a developer fee on this miner, i'll release the sources only after the pool is stable and making some proffit. (or if a receive enough donations to keep the pool running for 2 or 3 months).

I might be working a CPU only miner on the weekend, and will probably release it as open source.
hero member
Activity: 1194
Merit: 502
NEW POOL -- BETA TESTERS WANTED

For the eager ones: http://pool.girino.org/
Miners can be downloaded here: http://girino.org/metisminer/



The new miner can operate in an efficient way, even in CPU-only mode?

Sources for Linux?

TIA
legendary
Activity: 2296
Merit: 1170
Advertise Here - PM for more info!
I can't download the new miner:
Forbidden You don't have permission to access /metisminer/metis-minerd-win64-cygwin-build2.zip on this server.

sorry for that, I forgot to change the permissions of the files (for some reason windows created them with chmod 700 instead of chmod 644. Anyway, should be solved by now.
sr. member
Activity: 444
Merit: 250
Life is a bitch, get used to it...
I can't download the new miner:
Forbidden You don't have permission to access /metisminer/metis-minerd-win64-cygwin-build2.zip on this server.
legendary
Activity: 2296
Merit: 1170
Advertise Here - PM for more info!
ALL BETA TESTERS UPDATE THE MINER PLEASE!!!

download the newer versions at the same place: http://girino.org/metisminer/

Sorry to all, the old miner had a bug that prevented it from finding new blocks. Technical explanations bellow.

Those who participated in the beta test up to now will share the bonus 50 MTS i had promised. See bellow for the shares each one will get. I'll contact you in order to send you the MTS.

Now, the technical stuff:

When writing the miner I got confused as to how the data was sent on the getwork protocol. I was auditing the shares submited to see why it took so long to find a block and found out that good hashes were being rejected by the metiscoind wallet. I found out that hashes where sent in "little endian" 32 bit encoding, while i was using "big endian" encoding. So a swap of the bytes was needed. I now fixed it and have tested if the hashes generated by the walled are compatible with the hashes generated by the miner (lots of debugging in the wallet to do this).

So, I thank you ll that participated in the beta up to now and urge you to update the miners so that we can start breaking lots of blocks!

PLEASE DO NOT LEAVE THE BETA TESTING, we still need to test lots of things in the miner and pool server.

The 50 MTS for the early testers will be split acording to the following table:
IDUsernameSharesEst. Payout
5AJIekceu430,045468324
6breakbeater182227,61442861
10dggood80,121248863
3HHogan146522,20369809
7nixueyin10,015156108

Thanks to all, and again, PLEASE UPDATE THE MINER AND DO NOT LEAVE THE BETA TESTS!
legendary
Activity: 2296
Merit: 1170
Advertise Here - PM for more info!
Great news, just pointed my "hamsters" at your pool.
The new version of miner does not support -d 0,1 flag? i must start 2 instances of minerd for every GPU.

I had not much time to update the miner, so yes, you need two instances. I'll try to work on it today so we can solve it by tomorrow. Thanks for the support.
sr. member
Activity: 444
Merit: 250
Life is a bitch, get used to it...
Great news, just pointed my "hamsters" at your pool.
The new version of miner does not support -d 0,1 flag? i must start 2 instances of minerd for every GPU.
legendary
Activity: 2296
Merit: 1170
Advertise Here - PM for more info!
NEW POOL -- BETA TESTERS WANTED

For the eager ones: http://pool.girino.org/
Miners can be downloaded here: http://girino.org/metisminer/


Hi all,

As you know, whenever ypool is down (and it happened a lot last week) we are left without any way to mine (and the network stops confirming transactions, since no mining is done). So, to address this problem i developed this new pool, based on pushpool and MPOS, and i am trying to test it. But alone, it's like solo mining: completely useless. So please, pretty please, tho who can spare some of your time and miners, please mine in this new pool.

It uses a different protocol from ypool (getwork, while ypool uses x-pushtrough, that AFAIK is only used by them and was probably developed by them). So you will need to download a new miner.

IT IS STILL EXPERIMENTAL, I NEED BETA TESTERS SO WE CAN BREAK OUR FIRST BLOCK AND SEE IF EVERYTHING WORKS!

Please report any problems you find, send me any advice you have about running a pool, and anything you want, either at [email protected] or by PM here.

If everything works great, I'll be launching it officially and asking the dev to include it in the coin's page...

Thanks to all!

And please, test, test and retest! We need to make it work!
legendary
Activity: 2296
Merit: 1170
Advertise Here - PM for more info!
great job! i get about 48000k@6xGV-N660OC-2GD GTX660 2G DDR5,win7x64.but unfortunately,it only work a few minutes,then the miner error and quit,the computer crashed.gigawatt'sbuild get the same result。

Can you capture the screen or not even that? Maybe a picture?
yes,i copy it:
ERROR: -5, CL_OUT_OF_RESOURCES, if there is a failure to allocate resources requ
ired by the OpenCL implementation on the device.
assertion "_MY_ERR_X == CL_SUCCESS" failed: file "xptMiner/OpenCLObjects.cpp", l
ine 454, function: void OpenCLCommandQueue::enqueueReadBuffer(OpenCLBuffer*, voi
d*, size_t)


Did you try the latest versions? Are you running another miner on the sabe GPU? This means the driver could not allocate enough memory. But memory is allocated only on startup. so if it runs for sometime, i can't see what's wrong.
newbie
Activity: 16
Merit: 0
great job! i get about 48000k@6xGV-N660OC-2GD GTX660 2G DDR5,win7x64.but unfortunately,it only work a few minutes,then the miner error and quit,the computer crashed.gigawatt'sbuild get the same result。

Can you capture the screen or not even that? Maybe a picture?
yes,i copy it:
ERROR: -5, CL_OUT_OF_RESOURCES, if there is a failure to allocate resources requ
ired by the OpenCL implementation on the device.
assertion "_MY_ERR_X == CL_SUCCESS" failed: file "xptMiner/OpenCLObjects.cpp", l
ine 454, function: void OpenCLCommandQueue::enqueueReadBuffer(OpenCLBuffer*, voi
d*, size_t)
legendary
Activity: 2296
Merit: 1170
Advertise Here - PM for more info!
NEW RELEASE, 35% faster on R9 280x, SOLVED LOST CONNECTION PROBLEM WHEN YPOOL DOWN!!!

Build 9 tries to maximize use of local memory. Really fast on GPUs with fast local memory and lots of it (newer AMD cards).

If this version is slower in your GPU (NVidia or older cards), use option "-a 2" on the command line to revert to the old OpenCL code.

Also, no more freezing on connection lost. (useful on those times of ypool instability). Techinacl details bellow.

EVERYBODY SHOULD UPGRADE TO AVOID FREEZING!!! Very imoprtant now that ypool is being constantly DDoSed...

For those more into the techincal issues, the changes are:
1- use of local memory instead of global memory to pass hashes between the several hashing functions (keccak -> shavite -> fugue). This improves performance on machines where local memory is at least 64 * work_group_size + 8K.
2- Linux (and cygwin, for the matter) do not set an error on socket disconnect when calling recv. It just returns a 0 size. Since the original (windows code) was expecting that an error is sent on those cases, the linux code just kept trying forever to receive data in a closed connection.  So now, when checking for errors, it is also checking if return size is 0 to mark connection as lost. This solves the "freezing disconnect" bug that was haunting all of us.

Links for download are the same as always, source code is available at:

https://github.com/girino/xptMiner

and Binaries (linux 32 and 64 bits, windows 64 bits and OSX):

https://www.dropbox.com/sh/2wv2awwgebpdo0m/STzOU5tlXa

Enjoy!
legendary
Activity: 2296
Merit: 1170
Advertise Here - PM for more info!
How do I set the step size( -s)?
How high can I go etc?

Also, great work! My GTX 660ti went from 21000 k/hash to 24000 k/hash so far!
With -a 2 it ran at about 20000 k/hash. With -a 1 it went 4000 k/hash higher!
Want to tweak the step size to see if I alter it even more!


Steps range from 15 to 27. (they are powers of 2, so 15 means that each step processes 2^15 hashes = 32K. The default is 19, which means  512K hashes in each step. I think your card would go best with -s 22 or higher).
newbie
Activity: 5
Merit: 0
How do I set the step size( -s)?
How high can I go etc?

Also, great work! My GTX 660ti went from 21000 k/hash to 24000 k/hash so far!
With -a 2 it ran at about 20000 k/hash. With -a 1 it went 4000 k/hash higher!
Want to tweak the step size to see if I alter it even more!
legendary
Activity: 2296
Merit: 1170
Advertise Here - PM for more info!
NEW VERSION RELEASED - Build 8

This time my focus was on networking, stability and 32 bits.

The networking code from ypool's latest xptminer was merged back. Several changes and tests were made to ensure stability (no more "0kh/s" after some hours, no more closing on network disconnect or server down).

Faster than ever, and two new hidden options: -s to set the step size (in powers of 2, defaults to 2^20), and -a to set variations on algorithm. Currently supports "-a 1" for lookup tables in constant memory and "-a 2" (default) for tables in global memory. -a 2 is faster in most systems.

The code for metis was reverted to a previous version since it is 2x slower on some NVidia GPUs. Binaries and code available, as always, on the links above.

Source code is available at:

https://github.com/girino/xptMiner

and Binaries (for windows only at present, will add linux later tonight)

https://www.dropbox.com/sh/2wv2awwgebpdo0m/STzOU5tlXa

Enjoy.
Pages:
Jump to: