Open Noname400 opened 2 years ago
Never tried. But Java and OpenCL should be compatible. A test would be great.
no problem, i check
Not work. Big problem run
Do you got an exception? Can you run the unit test and build the project using maven ( https://github.com/bernardladenthin/BitcoinAddressFinder/blob/main/build.bat )?
Yes. No problem
it run on linux (debian).
a few steps to make it work:
the released jar from the repo run without error but does not generate any key (on linux but work on windows), after these few steps everything works
on the other hand the number of key/s generated is much lower than under windows
my windows pc: 16 GB of ram, old I7 and a GTX980Ti my linux pc: 16 GB of ram, recent I7 and an RTX3060 LMDB are stored on SSD with same performance for both, the linux pc is realy more powerfull than the windows pc but: on windows: ~800K key/s stable during long time under linux: ~800K at start and decrease and stabilize rapidly to ~37K key/s
this is my .sh in case somethink was wrong:
#!/usr/bin/env bash
java --illegal-access=permit --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED -server -Xms512M -Xmx16G -Dlogback.configurationFile=logbackConfiguration.xml -jar bitcoinaddressfinder-1.1.0-SNAPSHOT-jar-with-dependencies.jar config_Find_1OpenCLDevice.js >> log_Find_1OpenCLDevice.txt 2>&1
Thanks a lot for the information and tests under linux. I've no setup for a Linux machine currently but I'll do this in future. For the performance decrease I need to check if the consumer (key lookup in database) or the producer (open cl key generation) getting slower. I'll try to create a test for performance benachmark which can be executed with junit to find the reason.
Linux work?