Pages:
Author

Topic: [ANN] jminer v0.5.3 - GPU assisted PoC-Miner for Burstcoin (BURST) - PoC2 - page 4. (Read 23323 times)

sr. member
Activity: 257
Merit: 255
Seams that the miner is not able to successfully scan you plot directory ... whats in there? Only plot files that contain your numeric accountId?

(I saw the whole openCL/GPU setup was correct (@burstcoin thread), so the problem must be somewhere in the plot directory)

Edit:
Ok, we solved that problem, the startnonce used in plotfile was too big for jminer ...
everyone using jminer should currently not use startnonce / nonce 'addresses' (2nd number in plotfile) bigger than:
Long.MAX_VALUE = 9223372036854775807


member
Activity: 70
Merit: 10
Hey luxe maybe u can help me out. Trying to use ur miner and can't get it to work properly

I have a AMD R9 270 I'm trying to use as a gpu miner and this is what I have installed

AMD Latest drivers
Java 8 Update 65
AMD AppSDK 3.0
OpenCL 1.1 support for intel core processor family
Running Win7 64bit with 16gigs of ram

Using the gpu plot generator setup option this is what my devices look like

Code:
[0] Intel(R) OpenCL (OpenCL 1.1 )
    [0]        Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz (OpenCL 1.1 (Build 25940.26006))
[1] AMD Accelerated Parallel Processing (OpenCL 2.0 AMD-APP (1800.8))
    [0] Pitcairn (OpenCL 1.2 AMD-APP (1800.8))
    [1]        Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz (OpenCL 1.2 AMD-APP (1800.8))

So in the jminer settings all I did was change the plot path, just 1 drive for testing purposes, my numeric ID, pool and platformId=1
deviceId=0 I'm assuming thats for the 1 AMD then 0 Pitcairn since it's gpu mining

So when I run the batch file with only these settings changed in the visual studio code

Code:
plotPaths=Z:/Burst/plots
poolMining=true
numericAccountId=17908512605713200237
poolServer=http://pool.burstcoin.de:8080
platformId=1
deviceId=0

I get this and it just hangs so I have to ctrl+c to terminate it....

Code:
        at burstcoin.jminer.core.reader.data.PlotDrive.(PlotDrive.java:27)
        at burstcoin.jminer.core.reader.data.Plots.(Plots.java:34)
        at burstcoin.jminer.core.reader.Reader.postConstruct(Reader.java:102)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPo
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnno
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotati
        ... 18 common frames omitted

Exception in thread "Timer-0" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reader': Invocation of init
matException: For input string: "18446744072014584321"
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotati
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowi
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:157
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:834)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537)
        at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:320)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:957)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:946)
        at burstcoin.jminer.CommandLineRunner$1.run(CommandLineRunner.java:84)
        at java.util.TimerThread.mainLoop(Unknown Source)
        at java.util.TimerThread.run(Unknown Source)
Caused by: java.lang.NumberFormatException: For input string: "18446744072014584321"
        at java.lang.NumberFormatException.forInputString(Unknown Source)
        at java.lang.Long.parseLong(Unknown Source)
        at java.lang.Long.valueOf(Unknown Source)
        at burstcoin.jminer.core.reader.data.PlotFile.(PlotFile.java:41)
        at burstcoin.jminer.core.reader.data.PlotDrive.(PlotDrive.java:27)
        at burstcoin.jminer.core.reader.data.Plots.(Plots.java:34)
        at burstcoin.jminer.core.reader.Reader.postConstruct(Reader.java:102)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPo
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnno
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotati
        ... 18 more
sr. member
Activity: 257
Merit: 255
hi 5 vga 7970 = ?btc/day
thank

nothing without a lot of hdd capacity ... this is still HDD mining ... you could handle/mine ~1PB in below 20sec with that 5x7970 ... if your drives are fast enough.


How does this scale well with APU's?

Is only AMD cards work proper with this or can Nvidia cards too? If the Nvidia cards work, is there performance similar to AMD?

What cards seem to be the best power/performance for the miner?

Miner works with NVIDIA, but i do not have one to test and compare with AMD. (Same for APU)
I just can tell you that a R9 280x can compute/ceck deadlines of ~100TB in below 8sec. (see miner screenshot on OP - the first round)


hero member
Activity: 518
Merit: 500
How does this scale well with APU's?

Is only AMD cards work proper with this or can Nvidia cards too? If the Nvidia cards work, is there performance similar to AMD?

What cards seem to be the best power/performance for the miner?
full member
Activity: 235
Merit: 100
...
I have two GPUs but only want to use my CPUs. I would think platform 2 and device 3 but that doesn't seem to work?? Here is my output from clinfo:
...

- 'Unable to get mining info from wallet' -> you need to specify your 'poolServer' property correctly.
- CPUs: platformId=0 deviceId=2 or platformId=1 deviceId=0  (as far as i can see, the first is 0 not 1)

Thanks! I'll play around with it some more this weekend. Thanks for getting me on the right track  Cheesy
sr. member
Activity: 654
Merit: 250
hi 5 vga 7970 = ?btc/day
thank
sr. member
Activity: 257
Merit: 255
...
I have two GPUs but only want to use my CPUs. I would think platform 2 and device 3 but that doesn't seem to work?? Here is my output from clinfo:
...

- 'Unable to get mining info from wallet' -> you need to specify your 'poolServer' property correctly.
- CPUs: platformId=0 deviceId=2 or platformId=1 deviceId=0  (as far as i can see, the first is 0 not 1)
full member
Activity: 235
Merit: 100
Quote
1. The error may occure cause you do not have java8 installed, check version in command line with 'java -version'
 (http://stackoverflow.com/questions/12770622/java-lang-unsupportedclassversionerror)
 This may help you to install java8:
(http://tecadmin.net/install-oracle-java-8-jdk-8-ubuntu-via-ppa/)
2. poolServer=http://pool.com:8125 should be the dev2Pool url
3. platformId and deviceId should be integer values, in general 0 or 1, try just leave it empty ...
on issues with platformId/deviceId check:
(https://github.com/bhamon/gpuPlotGenerator/blob/master/README.md)

I'm getting there! I up-graded from java7 to java8. Now this is what I get:


I have two GPUs but only want to use my CPUs. I would think platform 2 and device 3 but that doesn't seem to work?? Here is my output from clinfo:
Quote
Number of platforms:             2
  Platform Profile:             FULL_PROFILE
  Platform Version:             OpenCL 2.0 AMD-APP (1729.3)
  Platform Name:             AMD Accelerated Parallel Processing
  Platform Vendor:             Advanced Micro Devices, Inc.
  Platform Extensions:             cl_khr_icd cl_amd_event_callback cl_amd_offline_devices
  Platform Profile:             FULL_PROFILE
  Platform Version:             OpenCL 1.2 LINUX
  Platform Name:             Intel(R) OpenCL
  Platform Vendor:             Intel(R) Corporation


Platform Name:             AMD Accelerated Parallel Processing
Number of devices:             3
Device Type:                CL_DEVICE_TYPE_GPU
Vendor ID:                1002h
Board name:                AMD Radeon HD 7900 Series
Platform ID:                0x7fbaf6a138f0
Name:                   Tahiti
Vendor:                Advanced Micro Devices, Inc.
Device OpenCL C version:          OpenCL C 1.2
Device Type:                CL_DEVICE_TYPE_GPU
Vendor ID:                1002h

Board name:                AMD Radeon HD 7900 Series
Platform ID:                0x7fbaf6a138f0
Name:                   Tahiti
Vendor:                Advanced Micro Devices, Inc.
Device OpenCL C version:          OpenCL C 1.2
 
Device Type:                CL_DEVICE_TYPE_CPU
Vendor ID:                1002h
Board name:               
Platform ID:                0x7fbaf6a138f0
Name:                   Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz
Vendor:                GenuineIntel
Device OpenCL C version:          OpenCL C 1.2


Platform Name:             Intel(R) OpenCL
Number of devices:             1
Device Type:                CL_DEVICE_TYPE_CPU
Name:                          Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz
Vendor:                Intel(R) Corporation
Device OpenCL C version:          OpenCL C 1.2

Thanks in advance for your help!
sr. member
Activity: 257
Merit: 255
I need help mining at the DevPoolv2.

My OS is Linux (ubuntu 14.04)

...

1. The error may occure cause you do not have java8 installed, check version in command line with 'java -version'
 (http://stackoverflow.com/questions/12770622/java-lang-unsupportedclassversionerror)
 This may help you to install java8:
(http://tecadmin.net/install-oracle-java-8-jdk-8-ubuntu-via-ppa/)
2. poolServer=http://pool.com:8125 should be the dev2Pool url
3. platformId and deviceId should be integer values, in general 0 or 1, try just leave it empty ...
on issues with platformId/deviceId check:
(https://github.com/bhamon/gpuPlotGenerator/blob/master/README.md)
full member
Activity: 235
Merit: 100
I need help mining at the DevPoolv2.

My OS is Linux (ubuntu 14.04)

Trying to run this run 0.3.6-RELEASE.sh
Quote
java -jar -XX:+UseG1GC burstcoin-jminer-0.3.6-RELEASE.jar

And I get this error:
Quote
Exception in thread "main" java.lang.UnsupportedClassVersionError: burstcoin/jminer/CommandLineRunner : Exception in thread "main" java.lang.UnsupportedClassVersionError: burstcoin/jminer/CommandLineRunner : Unsupported major.minor version 52.0
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
   at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
   at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
   at org.springframework.boot.loader.LaunchedURLClassLoader.doLoadClass(LaunchedURLClassLoader.java:163)
   at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:136)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
   at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:46)
   at java.lang.Thread.run(Thread.java:745)

Here is my jminer.properties:
Quote
plotPaths=/media/tony/2TB-Ext4/plots,/media/tony/WD1.5TB1/plots,/home/tony/gpuPlotGenerator/plots

scanPathsEveryRound=true

poolMining=true

numericAccountId=6020628371507832203
poolServer=http://pool.com:8125

walletServer=
winnerRetriesOnAsync=
winnerRetryIntervalInMs=

devPool=true
devPoolCommitsPerRound=3

soloServer=http://localhost:8125
passPhrase=xxxxxxxxxxxxxx
targetDeadline=

platformId=0x29ab9f0
deviceId=8086h
 
restartInterval=
chunkPartNonces=

refreshInterval=2000

connectionTimeout=6000

readProgressPerRound=9

sr. member
Activity: 257
Merit: 255
New java (all platforms) GPU assisted PoC-Miner for Burstcoin (BURST)
PoC - Proof of Capacity

Requirements:
- Java8
- openCL driver/sdk

Features:
- POC1 and POC2 supported (both pre- and post-fork @502000)
- solo and all pools supported
- AMD and nVIDIA supported
- Windows, Linux and Mac supported (WARNING: Win7 has strange caching issues on BURST mining!)
- for a QUICKSTART check README.txt

Download:
burstcoin-jminer-0.5.3-SNAPSHOT
https://github.com/de-luxe/burstcoin-jminer/releases

Wiki / Setup:
https://github.com/de-luxe/burstcoin-jminer/wiki/configure-jminer.properties

Properties:
https://github.com/de-luxe/burstcoin-jminer/blob/master/jminer.default.properties

To understand the importance, look at the following CPU and I/O usage, 2 Blocks mined with CPU and than 2 Blocks mined with GPU-Support.


In Numbers:

PC-1: 85TB plots:
~80sec with CPU (12 cores [email protected]) bottleneck: CPU
~16sec with GPU (280x@~50%) bottleneck: HDD read speed

PC-2: 56TB plots:
~70sec with CPU (8 cores [email protected]) bottleneck: CPU
~24sec with GPU (amd HD 7970@~50%) bottleneck: HDD read speed
~48sec with GPU (amd HD 5450@~100%) bottleneck: GPU

As you can see we have some benefits, finish rounds faster means:
commit all deadlines, even on fast blocks and less hardware usage, save energy!

Here is another screen, take a look a GPU Load (280x@85TB)


Screenshot of latest SNAPSHOT
(the first block is that much faster, cause i mined it 2 times, so data was still in drive caches ...)


About:
I was just for fun developing a own poc miner, i got it working ... but the miner was ~10% slower than e.g. blago miner, therefore i was asking in the community for openCL implementation of SHABAL, to optimize the mining performance ... after @cryo gave me some kernel files from burstDev, i contacted burstDev and he provided the code, that enables this miner to use GPU for mining.
PLEASE DONATE TO HIM:
BurstDev: BURST-QHCJ-9HB5-PTGC-5Q8J9

Old Burstforum thread recovery:
https://github.com/de-luxe/burstcoin-jminer/wiki/burstforum.com-thread-recovery


Pages:
Jump to: