Pages:
Author

Topic: RollProxy - a bandwidth-saving mining proxy - page 2. (Read 14358 times)

full member
Activity: 225
Merit: 100
Rolled back to v0.5.1. On pool errors v0.5.2 started rotating over all configured pools in a endless loop...
donator
Activity: 543
Merit: 500
Thanks again!
hero member
Activity: 838
Merit: 507
Whenever rollproxy has a connection issue between itself and a pool, CPU usage goes crazy (it's stuck in a loop, I'd imagine).  With enough rigs running against it, rollproxy can no longer keep up with providing work while this is happening.
I have added a 1-second pause between retries as a quick-and-dirty fix for this issue.

What's this "cannot decode byte"-message? Happens everytime I try to access rollproxy with a browser... the webinterface is not displayed.
After exchanging a few private messages with ShadesOfMarble, this turned out to be a OS-and-locale-dependent issue; it should be fixed now.

Version 0.5.2 should also support miners that (like Phoenix) issue long polling requests using the GET method.
donator
Activity: 543
Merit: 500
What's this "cannot decode byte"-message? Happens everytime I try to access rollproxy with a browser... the webinterface is not displayed.

sr. member
Activity: 336
Merit: 250
Getting this endlessly:


however the proxy still seems to be redirecting shares perfectly, it just has high CPU usage now...
Any ideas?

I have the same issue (although the error message in rollproxy varies a bit).  Whenever rollproxy has a connection issue between itself and a pool, CPU usage goes crazy (it's stuck in a loop, I'd imagine).  With enough rigs running against it, rollproxy can no longer keep up with providing work while this is happening.
Yeah, I had to stop using it on my server, It was taking up half my CPU time on just 7Gh/s  Cheesy
hero member
Activity: 642
Merit: 500
Getting this endlessly:


however the proxy still seems to be redirecting shares perfectly, it just has high CPU usage now...
Any ideas?

I have the same issue (although the error message in rollproxy varies a bit).  Whenever rollproxy has a connection issue between itself and a pool, CPU usage goes crazy (it's stuck in a loop, I'd imagine).  With enough rigs running against it, rollproxy can no longer keep up with providing work while this is happening.
legendary
Activity: 1540
Merit: 1001
This is pretty slick.  Thanks!!

For those windows users out there like me:

I couldn't get ez_setup to install urllib.  It complained about a config file be missing.
So instead of I copied the urllib3 folder into my python\lib folder, and voila, it works.

For those that aren't used to the somewhat odd URL format this uses (I've seen it elsewhere, only reason I could figure it out), it's:

http://username:password@server:port

M
hero member
Activity: 838
Merit: 507
Do you plan to add support for ntime rolling to the miners ? I'm asking because my config is a little odd and I have to cascade 2 rollproxy and I notice that second one does not see any support for ntime rolling from the first proxy.
If miners were allowed to do ntime rolling themselves, they could end up working on the exact same work unit, so it's not a good idea. Maybe it is possible to allow for little variations using a very low "expire" parameter, assuming of course that miners interpret that correctly, but honestly I can't see why you need the miners to roll the work themselves when they can just ask the proxy to do it.

Quote
Do you plan to support the new getblocktemplate protocol in the proxy ?
Support for additional protocols is not planned at this time. I have very limited time to dedicate to this project, so right now I can only fix bugs and maybe add a few minor features.
full member
Activity: 154
Merit: 100
Do you plan to add support for ntime rolling to the miners ? I'm asking because my config is a little odd and I have to cascade 2 rollproxy and I notice that second one does not see any support for ntime rolling from the first proxy.

Do you plan to support the new getblocktemplate protocol in the proxy ?
sr. member
Activity: 336
Merit: 250
September 20, 2012, 09:17:01 AM
#30
Getting this endlessly:


however the proxy still seems to be redirecting shares perfectly, it just has high CPU usage now...
Any ideas?
legendary
Activity: 1386
Merit: 1097
September 20, 2012, 07:06:06 AM
#29
Just for the fun - cascading the proxies (miner -> rollproxy -> stratum-proxy -> pool) works.

Yes, it's quite expected, because stratum proxy provides full getwork API, including long polling and ntime rolling.
full member
Activity: 225
Merit: 100
September 20, 2012, 06:59:24 AM
#28
pooler, looks like you're concerned about mining efficiency. Maybe you would be interested in supporting Stratum in your proxy as well? Smiley

Just for the fun - cascading the proxies (miner -> rollproxy -> stratum-proxy -> pool) works.
hero member
Activity: 838
Merit: 507
September 19, 2012, 02:21:46 PM
#27
pooler, looks like you're concerned about mining efficiency. Maybe you would be interested in supporting Stratum in your proxy as well? Smiley

I'm really busy with other stuff in this period, so no, or at least not any time soon.
legendary
Activity: 1386
Merit: 1097
September 18, 2012, 03:19:12 PM
#26
pooler, looks like you're concerned about mining efficiency. Maybe you would be interested in supporting Stratum in your proxy as well? Smiley
hero member
Activity: 838
Merit: 507
September 18, 2012, 03:14:03 PM
#25
As I understand, this helps for situation where miner don't support ntime rolling and pool does, right? [...]
The way I understand it, a miner can only do rolling within itself. If you have several miners on different machines, this proxy will help a lot. But please correct me if this is nonsense!

Yes, macavity is right, that's the true raison d'être of this program, and why it was developed.
RollProxy allows multiple miners to reuse the same work unit. And this can bring huge bandwidth savings.
newbie
Activity: 15
Merit: 0
September 18, 2012, 12:46:13 PM
#24
Use socat.
 
for mining through tor,

socat tcp-listen:18332,fork,reuseaddr socks4a:127.0.0.1:pool.com:8332,socksport=9050
But that would still leak DNS requests, wouldn't it? That has always been the issue with tools like socat or tsocks.

Your miner connects to 127.0.0.1 - no dns there
if you use the socks4a option on socat, it does the dns lookup for the pool through the proxy.
Hey, that's nifty! Thanks for the tip!

As I understand, this helps for situation where miner don't support ntime rolling and pool does, right? What miners don't support ntime rolling yet?

I lived in the opinion that ntime rolling is widely supported everywhere. Then I found that some big pools still don't support such simple and important extension, like Deepbit or even 50BTC. But as I understand, this proxy don't help in such situation - pool have to support ntime rolling itself.

Maybe the best thing is just to switch to miner and pool which supports ntime rolling, or even give a try to Stratum which implements mining protocol in quite innovative way (yes, this is kind of advertisement for my pool and BtcGuild Smiley.
The way I understand it, a miner can only do rolling within itself. If you have several miners on different machines, this proxy will help a lot. But please correct me if this is nonsense!

Besides, even without this feature, mining proxies are great tools to have if you use many machines. It makes monitoring, maintenance, setup of new machines or changing the pool and propagating that change to all clients so much easier.

I especially like Rollproxy because it's so small and efficient. I've used another proxy before, but it required apache, php, mysql, regular database cleanups, and while it worked well, it was a bit cumbersome to use.
legendary
Activity: 1386
Merit: 1097
September 18, 2012, 11:30:49 AM
#23
As I understand, this helps for situation where miner don't support ntime rolling and pool does, right? What miners don't support ntime rolling yet?

I lived in the opinion that ntime rolling is widely supported everywhere. Then I found that some big pools still don't support such simple and important extension, like Deepbit or even 50BTC. But as I understand, this proxy don't help in such situation - pool have to support ntime rolling itself.

Maybe the best thing is just to switch to miner and pool which supports ntime rolling, or even give a try to Stratum which implements mining protocol in quite innovative way (yes, this is kind of advertisement for my pool and BtcGuild Smiley.

legendary
Activity: 1260
Merit: 1000
Drunk Posts
September 18, 2012, 11:24:24 AM
#22
Unfortunately that doesn't help. What is needed is a way for RollProxy to connect to the Internet through a SOCKS4/5 proxy, not a way for the miners to connect to RollProxy through an additional local proxy.

Use socat.
 
for mining through tor,

socat tcp-listen:18332,fork,reuseaddr socks4a:127.0.0.1:pool.com:8332,socksport=9050
But that would still leak DNS requests, wouldn't it? That has always been the issue with tools like socat or tsocks.

Your miner connects to 127.0.0.1 - no dns there
if you use the socks4a option on socat, it does the dns lookup for the pool through the proxy.
newbie
Activity: 15
Merit: 0
September 18, 2012, 07:16:59 AM
#21
Unfortunately that doesn't help. What is needed is a way for RollProxy to connect to the Internet through a SOCKS4/5 proxy, not a way for the miners to connect to RollProxy through an additional local proxy.

Use socat.
 
for mining through tor,

socat tcp-listen:18332,fork,reuseaddr socks4a:127.0.0.1:pool.com:8332,socksport=9050
But that would still leak DNS requests, wouldn't it? That has always been the issue with tools like socat or tsocks.
legendary
Activity: 1260
Merit: 1000
Drunk Posts
September 17, 2012, 01:45:39 AM
#20
say, pooler, would it be possible to add support for socks proxies in addition to http? this could quite possibly be the best thing since cgminer, if only it had socks support Smiley

cgminer does:
--socks-proxy Set socks4 proxy (host:port)

Unfortunately that doesn't help. What is needed is a way for RollProxy to connect to the Internet through a SOCKS4/5 proxy, not a way for the miners to connect to RollProxy through an additional local proxy.

Use socat.
 
for mining through tor,

socat tcp-listen:18332,fork,reuseaddr socks4a:127.0.0.1:pool.com:8332,socksport=9050
Pages:
Jump to: