pooler (OP)
|
|
November 20, 2011, 05:46:12 PM Last edit: February 09, 2012, 02:51:53 PM by pooler |
|
I have finally succeeded in putting together a (hopefully) working online miner for Litecoin. This is still highly experimental, and of course this kind of miner will always be slower than the classic minerd. http://www.litecoinpool.org/minerYou can use the username and password of one of your pool workers, or you can leave the "Worker" field blank if you just want to test it out (shares found this way are credited to a special pool account, and you will not be able to redeem them). Please check it out, and let me know of any unexpected behavior! It would also be useful to have some feedback on hashrates for different machines. For instance, on the box I'm using for testing (a Core 2 Duo) this first version is about 3 times slower than ArtForz's cpuminer. I think that's quite a good Java-to-C ratio (I haven't finished optimizing the code yet), but of course your mileage may vary. UPDATE: On 64-bit systems, the current version can get up to 67% the speed of the reference miner by ArtForz (you must be running a 64-bit Java Virtual Machine and a 64-bit browser). 32-bit systems don't perform as well, but still manage to get about 50% of the speed. The source code is available under the GNU GPL license. https://github.com/pooler/JMiner
|
BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
|
|
|
|
pooler (OP)
|
|
November 20, 2011, 06:12:33 PM |
|
This is an independent project. I knew that Vanderbleek was working on a stand-alone Java miner because of his posts in the main Litecoin thread, but I didn't know his code was on GitHub (thank you for the link!). As far as I can see, though, both projects are based on the same pre-existing Scrypt implementation.
|
BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
|
|
|
terrytibbs
|
|
November 20, 2011, 06:15:20 PM |
|
This is an independent project. I knew that Vanderbleek was working on a stand-alone Java miner because of his posts in the main Litecoin thread, but I didn't know his code was on GitHub (thank you for the link!). As far as I can see, though, both projects are based on the same pre-existing Scrypt implementation.
Ah, I see. Great work, I hope you open-source it, you can learn from each other and hopefully make the most kick-ass miner on the face of the earth.
|
|
|
|
kjlimo
Legendary
Offline
Activity: 2114
Merit: 1031
|
|
November 20, 2011, 08:24:41 PM |
|
Java(TM) Plug-in Fatal Error
Several Java Virtual Machines running in the same process caused an error
What does this mean? I'm running another cpu miner; should I turn that off before using your website?
|
|
|
|
pooler (OP)
|
|
November 20, 2011, 08:45:56 PM |
|
Java(TM) Plug-in Fatal Error
Several Java Virtual Machines running in the same process caused an error
What does this mean?
I've looked that up on Google, and it looks like that message is often an indication of a corrupted Java installation. Check here if your browser has problems loading applets: http://javatester.org/version.htmlAlso, if you have an old version of the JRE, please update it. There appears to be a Java bug (now fixed) connected with the message you reported. http://bugs.sun.com/view_bug.do?bug_id=6433218I'm running another cpu miner; should I turn that off before using your website?
That should not be necessary, but of course if you run two miners at the same time they will share CPU cycles, so you won't be able to compare their performance.
|
BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
|
|
|
kano
Legendary
Offline
Activity: 4620
Merit: 1851
Linux since 1997 RedHat 4
|
|
November 20, 2011, 08:55:21 PM |
|
Java doesn't need opensource to check the code - you just decompile it back to java Hmm - obfuscated - that hardly hides anything either ... Again I ask - why these projects? The only real application for them is to steal CPU cycles from people browsing your web sites.
|
|
|
|
kjlimo
Legendary
Offline
Activity: 2114
Merit: 1031
|
|
November 20, 2011, 09:12:12 PM |
|
Java doesn't need opensource to check the code - you just decompile it back to java Hmm - obfuscated - that hardly hides anything either ... Again I ask - why these projects? The only real application for them is to steal CPU cycles from people browsing your web sites. Or to give simple mined people a way to join the mining and increase the security of the currency/ get others involved.
|
|
|
|
terrytibbs
|
|
November 20, 2011, 09:17:38 PM |
|
Java doesn't need opensource to check the code - you just decompile it back to java Using that would be stealing. Again I ask - why these projects? The only real application for them is to steal CPU cycles from people browsing your web sites.
This is far from stealing, the user has to give explicit permission for the Java applet to run. Besides, it's a way of contributing to authors you love without having to watch disturbing advertisements.
|
|
|
|
pooler (OP)
|
|
November 20, 2011, 09:29:49 PM |
|
Java doesn't need opensource to check the code - you just decompile it back to java Hmm - obfuscated - that hardly hides anything either ... I minified the bytecode because that makes it a little faster, not to obfuscate it. I'm as enthusiastic a supporter of OSS as anyone, and I will release the source code soon. But first I would like to take a few days to see how much further I can push the miner's speed myself. Kind of a personal challenge
|
BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
|
|
|
kano
Legendary
Offline
Activity: 4620
Merit: 1851
Linux since 1997 RedHat 4
|
|
November 20, 2011, 10:21:07 PM |
|
Java doesn't need opensource to check the code - you just decompile it back to java Using that would be stealing. Luckily I have no use for it other than to look at it ... And that is NOT stealing (as I said above to 'check the code') However, taking money from people and supplying them with faulty goods IS stealing. Again I ask - why these projects? The only real application for them is to steal CPU cycles from people browsing your web sites.
This is far from stealing, the user has to give explicit permission for the Java applet to run. Besides, it's a way of contributing to authors you love without having to watch disturbing advertisements. Wrong. You do not have to give explicit permission for A Java applet to run unless the applet codes that into it ...
|
|
|
|
kano
Legendary
Offline
Activity: 4620
Merit: 1851
Linux since 1997 RedHat 4
|
|
November 20, 2011, 10:23:42 PM |
|
Java doesn't need opensource to check the code - you just decompile it back to java Hmm - obfuscated - that hardly hides anything either ... Again I ask - why these projects? The only real application for them is to steal CPU cycles from people browsing your web sites. Or to give simple mined people a way to join the mining and increase the security of the currency/ get others involved. LOL yeah the standard excuse given by many who are simply stealing CPU cycles from others. Who are these "simple mined people"
|
|
|
|
terrytibbs
|
|
November 20, 2011, 10:30:28 PM |
|
You do not have to give explicit permission for A Java applet to run unless the applet codes that into it ...
That depends on your browser, but I must say, you're either blatantly stupid, or just use a really crappy browser, if it allows proprietary code to be ran on your machine without permission.
|
|
|
|
pooler (OP)
|
|
November 20, 2011, 10:48:14 PM |
|
Good news, I have done some optimization and managed to get a ~40% speed increase. The C-to-Java speed ratio has fallen below 2 on my test box!
Core 2 Duo (64 bit) 1.6 GHz, 2 threads ArtForz's minerd: 3.3 kH/s Online miner: 1.8 kH/s
|
BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
|
|
|
kano
Legendary
Offline
Activity: 4620
Merit: 1851
Linux since 1997 RedHat 4
|
|
November 21, 2011, 12:56:17 AM |
|
You do not have to give explicit permission for A Java applet to run unless the applet codes that into it ...
That depends on your browser, but I must say, you're either blatantly stupid, or just use a really crappy browser, if it allows proprietary code to be ran on your machine without permission. At least learn a little about Java before showing your ignorance and stupidity.
|
|
|
|
rTech
Sr. Member
Offline
Activity: 305
Merit: 250
Trust but confirm!
|
|
November 21, 2011, 04:52:28 AM |
|
Tested with my slowest miner machine: Atom 1.6ghz
With optimized - minerd-amdfam10-sse4a-64: t0: 0.49 / t1:0.50 - minerd-i7-64: t0: 0.47 / t1:0.45
With this online miner i get constant: 0.289.
|
|
|
|
kjlimo
Legendary
Offline
Activity: 2114
Merit: 1031
|
|
November 21, 2011, 02:50:20 PM |
|
I'm getting about half the speed from a dual core processor.
|
|
|
|
Vanderbleek
|
|
November 21, 2011, 02:52:16 PM |
|
Awesome pooler -- I'm going to have to take a look at your code later. I was wondering how long it was going to take for someone else to get one working.
Yours definitely seems to be faster than mine, good work.
|
|
|
|
pooler (OP)
|
|
November 21, 2011, 04:19:38 PM |
|
Awesome pooler -- I'm going to have to take a look at your code later. I was wondering how long it was going to take for someone else to get one working.
Yours definitely seems to be faster than mine, good work.
Thank you! I still have to work on a couple bugs that I detected yesterday, apparently related to long polling. I'll also try and see if I can push the speed a little more, I got some ideas I want to try out.
|
BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
|
|
|
CAMOPEJB
|
|
November 21, 2011, 04:24:57 PM |
|
Nice work!
|
|
|
|
|