pooler (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 27, 2011, 04:23:22 PM |
|
I would like to know what everybody thinks about embeddable miners, such as the one by BitcoinPlus ( http://www.bitcoinplus.com/miner/embeddable). First off, I want to make it clear that if Litecoin is successful somebody will eventually come up with a (potentially evil) embedded miner, no matter what. (Especially since I am going to release the source code of the Java miner very soon - stay tuned. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) ) As terrytibbs pointed out, for some sites such miners may represent a nice alternative to ads. On the other hand, they might be even more annoying to some visitors. Personally I think they can be fine as long as the visitor is informed of what's going on (that would also bring some publicity to Litecoin), and can choose to opt-out at any moment. The problem is, of course, that this cannot be enforced by the pool to which the miner submits its work. On the technical side, I think it would be wise for such miners to leave single-core systems alone, and only start n-1 threads for an n-core system. I still haven't decided if I will release an embeddable miner, I would like to hear other people's opinions first.
|
BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
|
|
|
CAMOPEJB
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 27, 2011, 07:04:14 PM |
|
I think its a great idea ![Wink](https://bitcointalk.org/Smileys/default/wink.gif)
|
|
|
|
terrytibbs
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 27, 2011, 07:11:21 PM |
|
I still haven't decided if I will release an embeddable miner, I would like to hear other people's opinions first.
Do it. It's going to happen anyways. I want to expand the donation feature of the liteco.in forums to allow donating spare CPU cycles to that address (optional, of course), right now it's just a giant address - http://donate.liteco.in/1. This would allow that.
|
|
|
|
michaelmclees
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 27, 2011, 07:59:19 PM |
|
I vote for release. It functions as security and advertising for Litecoin.
|
|
|
|
jago25_98
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 28, 2011, 12:14:49 PM |
|
Works great on win7 and 64bit. Can't get the applet to run without freezing on linux 32bit, Firefox or Chromium with Icetea6 java java command is: user 4274 99.5 9.7 801864 200528 ? Sl 09:06 5:36 /usr/lib/jvm/java-6-openjdk/jre/bin/java -Xbootclasspath/a:/usr/share/icedtea-web/netx.jar:/usr/share/icedtea-web/plugin.jar -classpath /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar sun.applet.PluginMain /tmp/icedteaplugin-user/4230-icedteanp-plugin-to-appletviewer /tmp/icedteaplugin-j/4230-icedteanp-appletviewer-to-plugin
j@laptop:~$ java -version java version "1.6.0_23" OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre10-0ubuntu5) OpenJDK Server VM (build 20.0-b11, mixed mode) j@laptop:~$ Will now try different java jre.
|
Bitcoiner since the early days. Crypto YouTube Channel: Trading Nomads | Analyst | News Reporter | Bitcoin Hodler | Support Freedom of Speech!
|
|
|
BitcoinPorn
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 28, 2011, 01:15:42 PM |
|
Again I ask - why these projects? The only real application for them is to steal CPU cycles from people browsing your web sites.
Just like the only real application for Bitcoin is to ensure illegal goods are able to be traded freely on TOR. I guess it is possible to see it that way if you shut your eyes halfway so everything looks blurry.
|
|
|
|
BitcoinPorn
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 28, 2011, 01:17:59 PM |
|
Please do it. I guarantee more Litecoin users because of this. Many elements of BitcoinPlus were done right too, such as the page that explains why is my computer making noise when it's on this site and etc.
|
|
|
|
btc_artist
Full Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 154
Merit: 102
Bitcoin!
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 28, 2011, 02:13:52 PM |
|
On the technical side, I think it would be wise for such miners to leave single-core systems alone, and only start n-1 threads for an n-core system.
On a side note, it would also be nice to be able to throttle back the miner so it doesn't use 100% of the cpu(s) it's running on.
|
BTC: 1CDCLDBHbAzHyYUkk1wYHPYmrtDZNhk8zf LTC: LMS7SqZJnqzxo76iDSEua33WCyYZdjaQoE
|
|
|
pooler (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 28, 2011, 09:15:38 PM |
|
On a side note, it would also be nice to be able to throttle back the miner so it doesn't use 100% of the cpu(s) it's running on.
Nice idea, I will definitely look into that.
|
BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
|
|
|
kano
Legendary
Offline
Activity: 4578
Merit: 1851
Linux since 1997 RedHat 4
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 29, 2011, 12:56:30 AM |
|
Again I ask - why these projects? The only real application for them is to steal CPU cycles from people browsing your web sites.
Just like the only real application for Bitcoin is to ensure illegal goods are able to be traded freely on TOR. I guess it is possible to see it that way if you shut your eyes halfway so everything looks blurry. Never said that - so clearly "the only real application for Bitcoin is to ensure illegal goods are able to be traded freely on TOR" is your opinion. Well it doesn't really matter coz I am certain that these mining programs will be added to web sites that will use your CPU without permission. Then, of course, the browsers will add things to stop them and that will be the end of it. (Edit: and the bitcoinplus site doesn't bother to point out that it costs WAY more in electricity to use than you will gain - in fact it doesn't point out anything at all about the costs and return ... I wonder why? Simple coz those numbers are so bad.)
|
|
|
|
BitcoinPorn
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 29, 2011, 01:54:06 AM |
|
(Edit: and the bitcoinplus site doesn't bother to point out that it costs WAY more in electricity to use than you will gain - in fact it doesn't point out anything at all about the costs and return ... I wonder why? Simple coz those numbers are so bad.)
Actually, in the case of that site, it was profitable when it started, even on a personal level I believe. But it was more for people who owned sites, which at this point I don't think it is good for at all, I imagine only some form of browser "bot net" type situation would only make that valuable. The owner abandoned the site for the most part, updates on it stopped long ago. Anyways, of course I don't think that about Bitcoin as far as trading and TOR. I know it is one application of it, just as the people who would abuse an online miner are only a subset of the people who want this on web sites. I think of the online miner as an ad replacement. Web sites of full content, being able to have costs paid by the users electricity, who would rather pay with just a little electricity than the eyesores that are ads.
|
|
|
|
kjlimo
Legendary
Offline
Activity: 2114
Merit: 1031
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 29, 2011, 04:25:00 AM |
|
What about this on an Android phone? I just bought one, heh.
Is Java available on Android OS? Do I need to/can I install that first?
Then would this be possible to run on a cell phone? I'm pretty sure mine is single core though. Is there a way to lower the "priority" for a process like I can when I "task manager" the process to a lower priority?
|
|
|
|
kjlimo
Legendary
Offline
Activity: 2114
Merit: 1031
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 29, 2011, 04:32:42 AM |
|
What about this on an Android phone? I just bought one, heh.
Is Java available on Android OS? Do I need to/can I install that first?
Then would this be possible to run on a cell phone? I'm pretty sure mine is single core though. Is there a way to lower the "priority" for a process like I can when I "task manager" the process to a lower priority?
Doesn't look like Java allows downloads from their site. It says the Mobile Java needs to be installed by the distributor/developer.
|
|
|
|
pooler (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 29, 2011, 09:43:47 AM |
|
|
BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
|
|
|
pooler (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 29, 2011, 09:56:27 PM |
|
The first version of the embeddable miner is ready. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) I have written a short guide for webmasters interested in testing: http://www.litecoinpool.org/embed
|
BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
|
|
|
terrytibbs
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 29, 2011, 10:05:13 PM |
|
Looks great! I'll tinker around with it a little in a bit. Add the ability to mine directly to a specific address and I'm all set. I understand that this will require some changes to your backend due to the way workers are handled, though.
|
|
|
|
rTech
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 305
Merit: 250
Trust but confirm!
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 29, 2011, 10:09:13 PM |
|
Yes its awesome, it make Litecoinpool.org bit more better place when it has something that others doesnt have yet like this website embedded miner ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) I had honor to betatest it ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) and it works like a dream.
|
|
|
|
btc_artist
Full Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 154
Merit: 102
Bitcoin!
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 29, 2011, 11:41:56 PM |
|
It would be nice to have some more granularity in throttling the miner. A way to accomplish the following: 1 cpu = use 25% of it (25% of all resources) 2 cpus = use 75% of one (37.5% of all resources) 3 cpus = use 1.5 (100% of one and 50% of the second) (50% of all resources) 4 cpus = use 2.5 (100% of two and 50% of the third) (62.5% of all resources) The goal would be to not overtax old systems, but give a little more work to newer systems that can handle it.
|
BTC: 1CDCLDBHbAzHyYUkk1wYHPYmrtDZNhk8zf LTC: LMS7SqZJnqzxo76iDSEua33WCyYZdjaQoE
|
|
|
btc_artist
Full Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 154
Merit: 102
Bitcoin!
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 29, 2011, 11:44:01 PM |
|
Also, if you set threads to -1, will it not run on systems with 1 cpu?
|
BTC: 1CDCLDBHbAzHyYUkk1wYHPYmrtDZNhk8zf LTC: LMS7SqZJnqzxo76iDSEua33WCyYZdjaQoE
|
|
|
pooler (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 30, 2011, 12:12:15 AM |
|
Also, if you set threads to -1, will it not run on systems with 1 cpu?
Yes, that's what I proposed a couple days ago. The current default is: 1 cpu = leave it alone (0% of all resources) 2 cpus = use 80% of one (40% of all resources) 3 cpus = use 1.6 (80% of two) (53% of all resources) 4 cpus = use 2.4 (80% of three) (60% of all resources) This looks very similar to what you proposed. The only noticeable difference is in the single-core case. But again, I'm not sure we should put any stress on single-core machines. Correct me if I'm wrong, but these would mainly be relatively old 32-bit cpus, and at 25% you wouldn't get much out of them. We should also consider that every connection to the work provider puts a little more load on the server, so I wonder if it would be worth it.
|
BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
|
|
|
|