elective-stereophonic
elective-stereophonic
NxtMint Java minter singapore
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Nxt Client: Nxt 1.11.15

Pages: 1 ... 9 10 [11] 12 13 ... 20  All

Author Topic: NxtMint Java minter  (Read 50425 times)

ScripterRon

  • Hero Member
  • *****
  • Karma: +75/-2
  • Offline Offline
  • Posts: 523
    • View Profile
Re: NxtMint Java minter
« Reply #200 on: January 30, 2015, 07:00:51 pm »

I've placed a test version of NxtMint 1.4.0 on Google Drive: https://drive.google.com/open?id=0B1312_6UqRHPSnlnLVdnWTMtTDg&authuser=0

This version uses OpenCL programs written in C99 and does not use Aparapi.  You should delete the 'aparapi' directory and update the Java library path to include just the 'jni' directory:

    -Djava.library.path=jni

Start with small values for work group size and work group count (for example, gpuDevice=0,32,32) and then increase until performance no longer increases, your display becomes sluggish or your card begins to overheat.  You will get a device driver allocation failure if a requested allocation is too large (this should only be a problem for Scrypt minting because it uses a large pad cache array).
Logged

bbr

  • Jr. Member
  • **
  • Karma: +0/-0
  • Offline Offline
  • Posts: 15
    • View Profile
Re: NxtMint Java minter
« Reply #201 on: January 30, 2015, 07:33:35 pm »

Keccak dropped from 260MH per card to 210 per card with same settings.

Still can't get scrypt to work - driver crash on each card as soon as it starts. Tried intensity 1 and 0,1 but still does it.
Logged

qwep4ik

  • Newbie
  • *
  • Karma: +0/-0
  • Offline Offline
  • Posts: 7
    • View Profile
Re: NxtMint Java minter
« Reply #202 on: January 30, 2015, 07:34:54 pm »

Keccak dropped from 260MH per card to 210 per card with same settings.

Still can't get scrypt to work - driver crash on each card as soon as it starts. Tried intensity 1 and 0,1 but still does it.
driver crash
Logged

ScripterRon

  • Hero Member
  • *****
  • Karma: +75/-2
  • Offline Offline
  • Posts: 523
    • View Profile
Re: NxtMint Java minter
« Reply #203 on: January 30, 2015, 08:41:51 pm »

Keccak dropped from 260MH per card to 210 per card with same settings.

Still can't get scrypt to work - driver crash on each card as soon as it starts. Tried intensity 1 and 0,1 but still does it.
What are the values for gpuDevice?  This is what can cause a driver crash.
Logged

bbr

  • Jr. Member
  • **
  • Karma: +0/-0
  • Offline Offline
  • Posts: 15
    • View Profile
Re: NxtMint Java minter
« Reply #204 on: January 30, 2015, 08:44:32 pm »

I tried:

0,1
0,4
0,8
0,8,8
0,16,8
0,16,16
0,32
0,32,32

All crashed

Even tried underclocking my cards but still the same.
Logged

ScripterRon

  • Hero Member
  • *****
  • Karma: +75/-2
  • Offline Offline
  • Posts: 523
    • View Profile
Re: NxtMint Java minter
« Reply #205 on: January 30, 2015, 08:47:22 pm »

Keccak dropped from 260MH per card to 210 per card with same settings.
Try increasing the values for gpuIntensity and gpuDevice.  I tried to be more conservative in the calculations since so many people were experiencing driver crashes.
Logged

bbr

  • Jr. Member
  • **
  • Karma: +0/-0
  • Offline Offline
  • Posts: 15
    • View Profile
Re: NxtMint Java minter
« Reply #206 on: January 30, 2015, 08:49:36 pm »

Keccak dropped from 260MH per card to 210 per card with same settings.
Try increasing the values for gpuIntensity and gpuDevice.  I tried to be more conservative in the calculations since so many people were experiencing driver crashes.

With your 1.3 version I am using gpuDevice=0,256,131072 with gpuIntesity=512 and am getting 260MH

Same settings as I tried with version 1.4 that got me 210MH.

Can I go any higher?
Logged

ScripterRon

  • Hero Member
  • *****
  • Karma: +75/-2
  • Offline Offline
  • Posts: 523
    • View Profile
Re: NxtMint Java minter
« Reply #207 on: January 30, 2015, 08:51:01 pm »

I tried:

0,1
0,4
0,8
0,8,8
0,16,8
0,16,16
0,32
0,32,32

All crashed

Even tried underclocking my cards but still the same.
Was this a driver crash or an OpenCL compile failure?  If it was a compile failure, get the next NxtMint-1.4.0.jar from Google Drive and see if that fixes the problem.

If it wasn't a compile failure, what is displayed in the NxtMint command window.  Is it a JVM failure?
Logged

bbr

  • Jr. Member
  • **
  • Karma: +0/-0
  • Offline Offline
  • Posts: 15
    • View Profile
Re: NxtMint Java minter
« Reply #208 on: January 30, 2015, 09:00:50 pm »

It looks to be a driver crash as the screen flashes and a message pops up in the bottom right corner advising that the AMD driver has recovered itself.

There is no message in the nxtmint window, just sits there i.e. Worker 0 starting on counter....
Logged

ScripterRon

  • Hero Member
  • *****
  • Karma: +75/-2
  • Offline Offline
  • Posts: 523
    • View Profile
Re: NxtMint Java minter
« Reply #209 on: January 30, 2015, 09:02:31 pm »

With your 1.3 version I am using gpuDevice=0,256,131072 with gpuIntesity=512 and am getting 260MH

Same settings as I tried with version 1.4 that got me 210MH.

Can I go any higher?
The gpuIntensity can go up to 1024.  But this just controls the total number of hashes that are done before control is returned to the mint worker.  At some point, increasing gpuIntensity doesn't increase performance since the Java execution time becomes negligible compared to the total OpenCL execution time.

The work group count determines how many work items are executed by OpenCL (work group size * work group count is the global size displayed by NxtMint).  I don't think there is a limit on the global size other than it is an integer value in NxtMint (so approximately 2 billion).  For my NVIDIA card, the performance doesn't increase after the card is saturated, so increasing the work group count doesn't accomplish anything other than creating a backlog on the card.
Logged

colin012

  • Hero Member
  • *****
  • Karma: +65/-18
  • Offline Offline
  • Posts: 851
  • NXTOrganization Marketing
    • View Profile
Re: NxtMint Java minter
« Reply #210 on: January 30, 2015, 09:08:54 pm »

Just so everyone knows. I have too many projects to work on and so my contributions (which haven't started yet) to NxtMint will take a back seat for a while. I will be focusing on things related to node hardening as I think that is most important.
Logged
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬  ▄▀▀▀▀▀▀▀▀▄  ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●  nimirum  ●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬▬ ◖ENDING CENSORSHIP ONLINE◗  ◖ ICO OPEN NOW◗ ▬▬▬

ScripterRon

  • Hero Member
  • *****
  • Karma: +75/-2
  • Offline Offline
  • Posts: 523
    • View Profile
Re: NxtMint Java minter
« Reply #211 on: January 30, 2015, 09:11:04 pm »

It looks to be a driver crash as the screen flashes and a message pops up in the bottom right corner advising that the AMD driver has recovered itself.

There is no message in the nxtmint window, just sits there i.e. Worker 0 starting on counter....
Then I don't know what to do.  How much memory does your card have?  You need 128KB per Scrypt work item.  Although that shouldn't be a problem for gpuDevice=0,16,16.  16*16*128KB is just 32MB.  It could be NxtMint is using a function not supported by your card, but OpenCL should flag that when it builds the program.

The only thing significantly different between Keccak25 and Scrypt is Scrypt uses a large pad cache in global memory.  Is this an AMD or NVIDIA card?
Logged

bbr

  • Jr. Member
  • **
  • Karma: +0/-0
  • Offline Offline
  • Posts: 15
    • View Profile
Re: NxtMint Java minter
« Reply #212 on: January 30, 2015, 09:13:18 pm »

AMD:
Gigabyte 280x Windforce OC
Sapphire HD 7970

Both crash
Logged

ScripterRon

  • Hero Member
  • *****
  • Karma: +75/-2
  • Offline Offline
  • Posts: 523
    • View Profile
Re: NxtMint Java minter
« Reply #213 on: January 30, 2015, 09:19:43 pm »

AMD:
Gigabyte 280x Windforce OC
Sapphire HD 7970

Both crash
The problem might be the Windows Timeout Detection and Recovery (TDR).  Windows will reset the graphics card if it thinks an operation is taking to long.  What happens with gpuIntensity=1 and gpuDevice=0,1,1?
Logged

bbr

  • Jr. Member
  • **
  • Karma: +0/-0
  • Offline Offline
  • Posts: 15
    • View Profile
Re: NxtMint Java minter
« Reply #214 on: January 30, 2015, 09:32:37 pm »

That works but at 0.0001MH/s

0,2,1 gets 0.0002
0,3,1 gets 0.0003
0,4,1 and above crashes
Logged

bbr

  • Jr. Member
  • **
  • Karma: +0/-0
  • Offline Offline
  • Posts: 15
    • View Profile
Re: NxtMint Java minter
« Reply #215 on: January 30, 2015, 09:40:33 pm »

Disabled TDR in the registry and it still crashes at 0,4,1
Logged

bbr

  • Jr. Member
  • **
  • Karma: +0/-0
  • Offline Offline
  • Posts: 15
    • View Profile
Re: NxtMint Java minter
« Reply #216 on: January 30, 2015, 10:31:27 pm »

I think the issue might have been using Teamviewer to control my other PC with the cards. I manaaged to get it going with gpudevide=0,4,4 and was going at 0.0004MH/s but gave the following:



After a few mins I got a blue screen and windows restarted.
Logged

davethetrousers

  • Sr. Member
  • ****
  • Karma: +38/-7
  • Offline Offline
  • Posts: 306
  • Tersonal Pext
    • View Profile
Re: NxtMint Java minter
« Reply #217 on: January 30, 2015, 10:41:17 pm »

@bbr: That's likely the problem. Most graphical remote access services - with the exception of VNC to some extent - will break unhindered OpenCL access to your GPUs.
Logged
raspnxt.hopto.org | RPi & Linux stuff | NXT-2UKS-7VYN-Q73Y-EKE8Y

ScripterRon

  • Hero Member
  • *****
  • Karma: +75/-2
  • Offline Offline
  • Posts: 523
    • View Profile
Re: NxtMint Java minter
« Reply #218 on: January 30, 2015, 11:10:04 pm »

I think the issue might have been using Teamviewer to control my other PC with the cards. I manaaged to get it going with gpudevide=0,4,4 and was going at 0.0004MH/s but gave the following:



After a few mins I got a blue screen and windows restarted.
It also appears the memory on your card is getting corrupted during kernel execution (the 'hash doesn't meet target' error).  Scrypt consists of 3 kernels that run in sequence with intermediate results stored in OpenCL global memory.
Logged

Wolf0

  • Jr. Member
  • **
  • Karma: +7/-0
  • Offline Offline
  • Posts: 97
    • View Profile
Re: NxtMint Java minter
« Reply #219 on: January 30, 2015, 11:25:16 pm »

Anyone try Keccak25 on 290X? Hashrate?
Logged
Pages: 1 ... 9 10 [11] 12 13 ... 20  All
 

elective-stereophonic
elective-stereophonic
assembly
assembly