Search content
Sort by

Showing 17 of 17 results by langes01x
Post
Topic
Board Mining (Altcoins)
Re: [ANN] TradeMyBit algorithm switcher/monitor
by
langes01x
on 20/07/2014, 19:19:50 UTC
New version released with average profit in the graph and version checking.
Post
Topic
Board Mining (Altcoins)
Re: [ANN] TradeMyBit algorithm switcher/monitor
by
langes01x
on 17/07/2014, 13:45:26 UTC
Fixed issue due to change in bestalgo API.
Post
Topic
Board Mining (Altcoins)
Re: [ANN] TradeMyBit algorithm switcher/monitor
by
langes01x
on 16/07/2014, 03:06:48 UTC
New update with a few new features and a number of changes to the code so that new algorithms are easier to add.
Post
Topic
Board Mining (Altcoins)
Re: [ANN] TradeMyBit algorithm switcher/monitor
by
langes01x
on 11/07/2014, 04:01:44 UTC
Added support for NIST5 algorithm since TMB has added it.
Post
Topic
Board Mining (Altcoins)
Re: [ANN] sgminer v5 - new unified multi-algorithm on-the-fly kernel switching miner
by
langes01x
on 09/07/2014, 01:11:59 UTC
I have proposal for stratum extension to support algorithm change without reconnects.

First, we need to normalize name of the algorithms; example:

Code:
scrypt, nscrypt, x11, x13, x15

Miner subscribes to server that it is capable of switching algorithms. It also sends parameter list. Each parameter consists of 3 parameters: algorithm name, factor and cost. Factor is speed in MH/s (it is only important to be relative to other provided factors of other algorithms), cost is daily cost of rig in USD.

Example for 2 algorithms:

Code:
{"id": X, "method": "mining.algorithm.subscribe", "params": [["scrypt", "1", "2.5"], ["x11", "4.2", "2"]]}\n

Server then calculates which is best algorithm for this rig considering provided factors and costs. Before any work is provided and on algorithm switch, server sends (example to switch to x11):

{"id": null, "method": "mining.set_algorithm", "params": ["x11"]}\n

Immediately after that server sends new difficulty and new work.
There is no need to have the server do this. It would be just as easy to create a client-side switcher that can figure out when it should switch between different algorithms. I've created a switcher like this for the TradeMyBit pool that uses sgminer v5 no-restart switching (and the old method of switching for backwards compatibility). As long as the NiceHash pool has an API that returns the profitability of each algorithm then it's just a matter of deciding if or when you want to switch.

See https://bitcointalk.org/index.php?topic=661827
why couldn't this determine the profitability on its own, just give it your hash rates and cost and get the price info from the web then have it switch as necessary on ANY pool
The point is that it could as long as NiceHash (or whatever multi-algo pool you want to mine at) expose the appropriate API required to get the profitability information for the algorithms they are currently mining.

Of course as it is it wouldn't work but it would only take a small number of tweaks to get it working with other pools. If that is possible (i.e. the required API exists) and people want it then I could look into it.
Post
Topic
Board Mining (Altcoins)
Re: [ANN] sgminer v5 - new unified multi-algorithm on-the-fly kernel switching miner
by
langes01x
on 09/07/2014, 00:59:22 UTC
I have proposal for stratum extension to support algorithm change without reconnects.

First, we need to normalize name of the algorithms; example:

Code:
scrypt, nscrypt, x11, x13, x15

Miner subscribes to server that it is capable of switching algorithms. It also sends parameter list. Each parameter consists of 3 parameters: algorithm name, factor and cost. Factor is speed in MH/s (it is only important to be relative to other provided factors of other algorithms), cost is daily cost of rig in USD.

Example for 2 algorithms:

Code:
{"id": X, "method": "mining.algorithm.subscribe", "params": [["scrypt", "1", "2.5"], ["x11", "4.2", "2"]]}\n

Server then calculates which is best algorithm for this rig considering provided factors and costs. Before any work is provided and on algorithm switch, server sends (example to switch to x11):

{"id": null, "method": "mining.set_algorithm", "params": ["x11"]}\n

Immediately after that server sends new difficulty and new work.
There is no need to have the server do this. It would be just as easy to create a client-side switcher that can figure out when it should switch between different algorithms. I've created a switcher like this for the TradeMyBit pool that uses sgminer v5 no-restart switching (and the old method of switching for backwards compatibility). As long as the NiceHash pool has an API that returns the profitability of each algorithm then it's just a matter of deciding if or when you want to switch.

See https://bitcointalk.org/index.php?topic=661827
Post
Topic
Board Mining (Altcoins)
Re: [ANN] TradeMyBit algorithm switcher/monitor
by
langes01x
on 05/07/2014, 02:24:58 UTC
Added compatibility with ccminer\cudaminer\etc. which don't have APIs to monitor the miner.
They have less functionality since you can't add\remove pools or graph out the hash rate.

Feedback from users that run nvidia cards would be greatly appreciated as I don't have a rig to test it on.
Post
Topic
Board Mining (Altcoins)
Re: [ANN] TradeMyBit algorithm switcher/monitor
by
langes01x
on 03/07/2014, 23:32:55 UTC
Added compatibility with older variants of sgminer (and any cgminer-based clone).
Post
Topic
Board Mining (Altcoins)
Re: [ANN] TradeMyBit algorithm switcher/monitor
by
langes01x
on 28/06/2014, 23:16:55 UTC
New build released to fix issues with X15 being added to the multiports and adding X15 compatibility (there may be issues with the current version of sgminer 5 though).
Post
Topic
Board Mining (Altcoins)
Re: [ANN] TradeMyBit algorithm switcher/monitor
by
langes01x
on 27/06/2014, 21:42:34 UTC
Is there any way to get this switcher working with .conf files instead of .bat files for the miner?     cant seem to get it to work without all the settings in a bat file Smiley maybe iv overlooked something?
Here is my current batch file to show that config files work perfectly fine:
Code:
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
del *.bin
Color 0A
sgminer -c multi.conf --api-network --api-listen --api-allow W:127.0.0.1
Post
Topic
Board Pools (Altcoins)
Re: [ANN][MULTI][VARDIFF] Pool|TradeMyBit - 0.5% Prop/Profit Swap/Auto-Exch
by
langes01x
on 25/06/2014, 00:21:36 UTC
Thanks langes01x.
Just one point that I didn't get 100%: do I need sgminer v5.0 to use the 4010/4011 ports on TMB?
Ideally I'd be using the TMB autoswitcher as x11mod/x13mod give quite a boost compared to dark/maru... and I'm using PIMP on my mining rig (not too keen on having my PC running 24/7 just to be able to steer & monitor it).

I wouldn't use the 4010/4011 ports if you're not using the v5 mainly because if whatever switching software on the client side is out of sync with the 4010/4011, you'll just be trying to mine on a dead port and it'll go to your secondary.  If for instance X13 is more profitable, the 4011 port is on, but you'll see the 4010 port as dead and vice versa.

Just a note though, my miner sees the 4010 and 4011 ports both dead quite a bit, at the same time and I end up mining my secondary for a few minutes.
Sgminer v5.0 is required for using the 4010/4011 ports. One workaround for having both ports dead is put one of the profit switching ports as top priority and then a normal port for the other algorithm after so that the second port is always alive.

My switcher also requires sgminer v5.0 but only because it is faster when switching algorithms because it doesn't have to kill the miner and start a new one up. I may at some point in the future add the ability to have separate miners per algorithm to support non-v5.0 versions.

With the new updates to sgminer v5.0 there should be improvements for the hash rate using AMD driver 14.6 so it should be comparable to the other faster miner I believe (I haven't updated since the 6/6/2014 build yet though so I'm not absolutely certain).
Post
Topic
Board Mining (Altcoins)
Re: [ANN] TradeMyBit algorithm switcher/monitor
by
langes01x
on 24/06/2014, 23:54:18 UTC
Overheating is out of the question. The Internet connection might be the problem as I'm back in my home town for a few weeks and I have a weird connection here.

I tried using both dedicated ports for X11 and X13 on TMB, but then I tried to switch to Scrypt as well since Razercoin became more profitable some days ago. What I did was to include the 3330 port together with the 4010 and 4011 ports and that's when I started to notice the miner idles after some time. Then you released the TMB Switcher software and wanted to try it, but I still got that random idling (miner stops and waits for work from pool). So I tried 4010/4011 + 3330 and 5550/4440 + 3330 and it makes no difference when it comes to this idling. I haven't been able to figure out what triggers it yet, as I managed to catch it one time after 20 minutes and another time after 1 hour, yet another time after 7 hours. The Internet connection might be responsible for the 20 mins idling, however I doubt that those 1h+ idlings are triggered by the connection, as I haven't notice any connection dropout longer than 30 mins.
Please do NOT use the 4010/4011 ports with this switcher. This switcher will handle all of the switching for you so if you use the 4010/4011 ports it will not work properly.

Is there a way to get this to work with the sgminer variants that use the global -k argument (and have to be restarted in order to change kernal)?

Ideally, I'd just point to a bat file for x11, a different one for x13, and another for scrypt, etc...
Any hope of getting this to work with ccminer for us nvidia folks?
Doing things this way is possible (that's how the last switcher I used worked) so I may at some point update it to allow this type of algorithm switching. It wouldn't be something I could change immediately however I would like to make it work with nvidia cards as well at some point.
Post
Topic
Board Pools (Altcoins)
Re: [ANN][MULTI][VARDIFF] Pool|TradeMyBit - 0.5% Prop/Profit Swap/Auto-Exch
by
langes01x
on 24/06/2014, 13:18:26 UTC
Hi all
Sorry... but with the lack of general guide, I've been searching through pages and posts of this thread... and I have a few questions:

1) Do I need SGminer v5 to be able to algo-switch x11/x13 on TMB?
2) If not, I'm using PIMP v1.5 at the moment. Do I only need to add the "algorithm" : "x11mod" / "x13mod" lines under the pool settings in the conf file? Or is there another parameter to add?
3) Do I use the same ports as the main TMB x11 and x13 pools (i.e. 4440 and 5550 respectively)?

Anything else?

Many thanks!
Dragonmike
Depending on how you do the algorithm switching you could use a different version of sgminer. The algorithm switcher by 0uranos works with all versions of sgminer as it just kills the miner and starts up a different one (https://github.com/0uranos/trademybit-switcher/tree/x11). If you are using sgminer v5.0 though you have a few more options. You could use the 4010/4011 ports on TradeMyBit and have the pool itself switch algorithms for you (subject to whatever algorithm merc uses for switching) or you can use my switcher if you also have a windows machine on the same network as the miner (https://bitcointalk.org/index.php?topic=661827).

Do note that sgminer v5.0 uses the darkcoin-mod and marucoin-mod kernels and not x11mod/x13mod.
Post
Topic
Board Mining (Altcoins)
Re: [ANN] TradeMyBit algorithm switcher/monitor
by
langes01x
on 24/06/2014, 13:10:43 UTC
I tried with cutoff set to 0 and it still idles waiting for work from pool at some point.

Lately miner is doing OK for about an hour and then stops receiving work from poll and idles. Sometimes it idles for at most 1-2 minutes, sometimes it idles more than 1h.
Other than making sure that you actually apply the settings I don't know what to say. If you set the profit cutoff to 0 or less it will not shut the miner off. Perhaps you have issues with your internet losing connection or sgminer itself idling your GPUs due to overheating.
Post
Topic
Board Mining (Altcoins)
Re: [ANN] TradeMyBit algorithm switcher/monitor
by
langes01x
on 23/06/2014, 23:21:54 UTC
So I'm using TMB Switcher and sometimes i get pop-up message from taskbar saying "switching from whatever algo to off" and miner is waiting for work from pool. Sometimes it resumes work in at most 1-2 minutes, but sometimes it just idles indeterminately. When I catch this I manually enable the most profitable pool, but there are times when I'm not around the miner... What can I do to prevent this idling?
If you don't want it to disable your miner when there is low profitability then change the profit cutoff to 0 or less. This should make it so that it does not switch to the off state.
Post
Topic
Board Mining (Altcoins)
Topic OP
[ANN] TradeMyBit algorithm switcher/monitor
by
langes01x
on 22/06/2014, 23:17:29 UTC
I have built a new algorithm switcher that is made to work with sgminer and the TradeMyBit multipool.

It is intended to be used with sgminer v5.0 however all variants of sgminer (and likely anything based on cgminer) will work with it if configured correctly.
As of version 1.2.0.0 support for other miners (ccminer\cudaminer\etc.) has been added.

Please do NOT use the 401x ports on TradeMyBit with this switcher or it will not not work properly.

Features include:
Automated (based on profitability) or manual switching between X11, X13, X15, NIST5, Scrypt and N-Scrypt algorithms.
(support for N-Scrypt is currently only via a separate batch file or a recent build of sgminer v5.0 >= June 30 2014)
Monitoring and restarting a local miner if it stops responding to API calls.
Monitoring a miner on a different machine (it is unable to restart remote miners and switching requires use of sgminer v5.0).
Adding and removing pools from the miner and adjusting their priority (only sgminer\cgminer\variants).
Displaying your coin and auto-exchange balances on TradeMyBit.
Graphing out profitability, hash rate and temperatures for the last 24 hours.

The switcher will only run on Windows due to using the C# language unless someone wants to try to get it compiling with mono.

IRC channel: #TMBswitcher @ irc.freenode.net

Git Repository: https://github.com/Langes01x/TMB-Switcher

Issues/Feature requests: https://github.com/Langes01x/TMB-Switcher/issues

Latest binary: https://dl.dropboxusercontent.com/u/11805555/TMB%20Switcher/TMB%20swticher%20v1.2.3.0.zip

Donations:
BTC: 15VkLEdNz5RJ2tbrXgshGqSd7VqGGjpu36
LTC: LhAuvDEmBqV7nHwZFFPKEmvYk3jZCzhpHj
DRK: Xg8bkndrqfKx15kEkwnZNwVCGi62vf9WrL

Changelog:
21/06/2014 - v1.0 - Initial release.
22/06/2014 - v1.0.0.1 - Fixed culture-related issues.
28/06/2014 - v1.0.0.2 - Added X15 support.
03/07/2014 - v1.1.0.0 - Added support for other variants of sgminer\cgminer.
04/07/2014 - v1.2.0.0 - Added support for other miners (cudaminer\ccminer\etc.).
08/07/2014 - v1.2.0.1 - Fixed bug causing algorithm switching to take longer than expected and restart button not enabling.
08/07/2014 - v1.2.0.2 - Fixes bugs with --noapi functionality and added setting to start miner minimized.
10/07/2014 - v1.2.1.0 - Added NIST5 support and made profit graph automatically show only enabled algorithms on startup.
11/07/2014 - v1.2.1.1 - Fixed issue with NIST5 switching.
15/07/2014 - v1.2.2.0 - Added setting to kill miner on exit, ability to prune balance list (on by default) and line in profit graph for user's profit.
17/07/2014 - v1.2.2.1 - Fixed issue due to change of bestalgo API.
20/07/2014 - v1.2.3.0 - Added a moving average to the profit graph and version checking.

Screenshots:
https://dl.dropboxusercontent.com/u/11805555/TMB%20Switcher/Stats.jpg
https://dl.dropboxusercontent.com/u/11805555/TMB%20Switcher/Pools.jpg
https://dl.dropboxusercontent.com/u/11805555/TMB%20Switcher/Devices.jpg
https://dl.dropboxusercontent.com/u/11805555/TMB%20Switcher/Balances.jpg
https://dl.dropboxusercontent.com/u/11805555/TMB%20Switcher/Profit%20History.jpg
https://dl.dropboxusercontent.com/u/11805555/TMB%20Switcher/Miner%20History.jpg
https://dl.dropboxusercontent.com/u/11805555/TMB%20Switcher/Settings.jpg
Post
Topic
Board Pools (Altcoins)
Re: [ANN][MULTI][VARDIFF] Pool|TradeMyBit - 0.5% Prop/Profit Swap/Auto-Exch
by
langes01x
on 22/06/2014, 02:07:52 UTC
I've created a piece of software that can monitor and switch algorithms supported by TradeMyBit on the fly using sgminer 5.0 that I have released to the general public. It will graph out profitability so you can visually see how each algorithm is doing and will automatically switch to the best algorithm. It also graphs out temperature and hash rate of each individual GPU, can display your coin balances and auto-exchange balances and allows you to stop mining when profitability is really low.

Github repository here: https://github.com/Langes01x/TMB-Switcher

Binaries here: https://dl.dropboxusercontent.com/u/11805555/TMB%20switcher%20v1.0.zip

Do note that this is only compatible with Windows.

If you need assistance with setup or would like additional information you can generally find me idling in the #pool channel on irc.framper.com.

Feedback would be greatly appreciated.

Edit: Added screenshots on request: https://github.com/Langes01x/TMB-Switcher/wiki

A separate thread has been created for discussion related to the switcher here: https://bitcointalk.org/index.php?topic=661827