Pages:
Author

Topic: [ANN] Stratum mining protocol - ASIC ready - page 25. (Read 146229 times)

legendary
Activity: 1795
Merit: 1208
This is not OK.
Maybe this is a possible future feature of cgminer, being a proxy itself.
Gimme a break  Undecided

Then cgminer can get me some coffee too Wink

Actually, this is a must have feature.  If cgminer is going to support BFL ASICs, which include a "coffee warmer", I think cgminer should interface with my coffee pot to brew my coffee as well.

Stands to reason...
legendary
Activity: 1750
Merit: 1007
Maybe this is a possible future feature of cgminer, being a proxy itself.
Gimme a break  Undecided

Then cgminer can get me some coffee too Wink

Actually, this is a must have feature.  If cgminer is going to support BFL ASICs, which include a "coffee warmer", I think cgminer should interface with my coffee pot to brew my coffee as well.
legendary
Activity: 1876
Merit: 1000
Maybe this is a possible future feature of cgminer, being a proxy itself.
Gimme a break  Undecided

Then cgminer can get me some coffee too Wink
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Maybe this is a possible future feature of cgminer, being a proxy itself.
Gimme a break  Undecided
legendary
Activity: 1795
Merit: 1208
This is not OK.
Maybe this is a possible future feature of cgminer, being a proxy itself.
sr. member
Activity: 467
Merit: 250
Hopefully by now you should be able to cgminer directly to stratum pools more reliably than through the proxy.

2.8.4 is a dramatic improvement in stratum reliability.. /nod /thankyou

Sadly, none of my individual miners are fast enough (right now) to get over a 1-diff, but together they can get 16-diff when run behind the proxy.

-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Hopefully by now you should be able to cgminer directly to stratum pools more reliably than through the proxy.
sr. member
Activity: 467
Merit: 250

Slush:

I ran into an interesting failure state today, and the stratum proxy, I believe, played a roll in the failure. I posted over in the cgminer thread about the cgminer portion, but wanted to post here about the proxy portion.

Scenerio:
- stratum pool proxy is pointed at crashes
- clients behind proxy stay connected to proxy, but get no work
- since connection doesn't 'close' cgminer didn't demote the pool
- all GPU's idling and cold

Shouldn't the proxy, in some way, tell the clients when it's primary upstream connection dies?
legendary
Activity: 1386
Merit: 1097
It is working implementation, basically you need to install dependencies (twisted and stratum packages), copy config_sample.py to config.py.

run
easy_install stratum
easy_install -U twisted
hero member
Activity: 556
Merit: 500
yup found the twisted file and ran that but I get an error saying cannot import module stratum.
legendary
Activity: 1386
Merit: 1097
Is there a guide for setting up a stratum server? I see the github files but it looks to be just defining the protocol not a actual implementation.

It is working implementation, basically you need to install dependencies (twisted and stratum packages), copy config_sample.py to config.py and run

Code:
twistd -ny launcher_demo.tac -l -

However I don't think too many people tried it yet, so ask me if you'll have any issues. Or even better, join #stratum irc.
hero member
Activity: 556
Merit: 500
Is there a guide for setting up a stratum server? I see the github files but it looks to be just defining the protocol not a actual implementation.
legendary
Activity: 1386
Merit: 1097
Well, I thought these features are already included in miners. I'm not sure if adding all these features to the proxy is in my time capability :-(
sr. member
Activity: 467
Merit: 250
Quote
3. Show diff per share submitted in console?

Check latest git version.

Thank you! Works like a charm!

RE: #2, logging, was hoping to have a log file to pull data from, # of shares per minute, average diff, stuff I can generate easily if I have a logfile, and can then graph. At a minimum, it would be nice to have in syslog so i can redirect it to a central syslog server, on a local1-7.




legendary
Activity: 1386
Merit: 1097
Quote
3. Show diff per share submitted in console?

Ok, give me some time.

Check latest git version.
legendary
Activity: 1386
Merit: 1097
1. Fail over/back/load balance/etc for multiple servers.

Proxy reports all failures to miners, which usually have quite strong support for all kind of failovers and balancing already. If you want to load balance between two stratum pools, just run proxy twice and let miner connect to them.

Quote
2. syslog facility/target?

Hm, what do you want to log? Just information about new difficulty? I don't think that logging of accepted shares should go to syslog...

Quote
3. Show diff per share submitted in console?

Ok, give me some time.
legendary
Activity: 1386
Merit: 1097
Proxy version 1.1.1 has been released, including EXE version for Windows. If you're running proxy version prior 1.0.2, I highly recommend you to update.

https://github.com/slush0/stratum-mining-proxy/downloads
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
New version of cgminer, 2.8.2, fixing the variable difficulty bug has been released. Also new to this version of cgminer is support for the stratum commands client.reconnect and client.get_version.
Looks like the windows version is broken still. Sigh  Undecided
Linux users it should work fine.
Fixed in 2.8.3.
sr. member
Activity: 467
Merit: 250
Thanks again for the proxy, loving it.. two small feature requests:

1. Fail over/back/load balance/etc for multiple servers.

2. syslog facility/target?


3. Show diff per share submitted in console?

Quote
2012-10-11 16:56:14,510 INFO proxy stratum_listener.submit # [91ms] Share from 'miner5' accepted

sr. member
Activity: 467
Merit: 250
Some numbers (my Intel Atom netbook):
Original sources: 10000 getworks generated in 26.482 sec, 377 gw/s
C extension: 10000 getworks generated in 3.481 sec, 2872 gw/s

Beagleboard XM (~equivalent of Raspberry Pi):
C extension: 10000 getworks generated in 12.270 sec, 814 gw/s



Xeon 3.2 (older) under ESXi/debian6
10000 getworks generated in 1.186 sec, 8430 gw/s

Opteron 865 1.8ghz under openVZ/debian6
10000 getworks generated in 0.934 sec, 10709 gw/s

Xeon W3505 under Mint12
10000 getworks generated in 0.529 sec, 18886 gw/s
Pages:
Jump to: