Pages:
Author

Topic: M's Miner (Ant/SP) Monitor v5.2: alerts,auto/mass/scheduled reboot/mobile miner - page 30. (Read 209500 times)

legendary
Activity: 1540
Merit: 1001
I'm declaring 3.2 stable enough to publish.

v3.2
- Fixed the problem with not being able to save the config if you've never used it before.
- Changed to query the Ants via the API on background threads.  The numbers of threads is configurable.  The more Ants you have, the higher you likely want
  this value to be.  It defaults to 4.
- Changed to refresh the display grid X numbers of seconds after the Ant refresh has started.  This value is configurable. If you have a large number of 
  Ants, or have slow video, you'll benefit from setting this to a larger value.  It defaults to 1.
- Fixed the default column widths and also added tool tips to the column headers that aren't self explanatory.
- Added a routine to trim the log size down to approx 1m characters when it reaches 1.5m characters.

Download link: MAntMonitor32.zip

M
So what doesn't this address out of everything we discussed ? It seems just like the saving thing where when I say have 4 units, close the program out. Come back and everything but one was gone.

Ty.

It doesn't fix most of your issues.  That's coming when I redo the config UI.

M
Gotcha, thx for all your hard work ;-)

It should fix your "it doesn't reboot" problem though.

M
legendary
Activity: 1064
Merit: 1001
I'm declaring 3.2 stable enough to publish.

v3.2
- Fixed the problem with not being able to save the config if you've never used it before.
- Changed to query the Ants via the API on background threads.  The numbers of threads is configurable.  The more Ants you have, the higher you likely want
  this value to be.  It defaults to 4.
- Changed to refresh the display grid X numbers of seconds after the Ant refresh has started.  This value is configurable. If you have a large number of 
  Ants, or have slow video, you'll benefit from setting this to a larger value.  It defaults to 1.
- Fixed the default column widths and also added tool tips to the column headers that aren't self explanatory.
- Added a routine to trim the log size down to approx 1m characters when it reaches 1.5m characters.

Download link: MAntMonitor32.zip

M
So what doesn't this address out of everything we discussed ? It seems just like the saving thing where when I say have 4 units, close the program out. Come back and everything but one was gone.

Ty.

It doesn't fix most of your issues.  That's coming when I redo the config UI.

M
Gotcha, thx for all your hard work ;-)
legendary
Activity: 1540
Merit: 1001
I'm declaring 3.2 stable enough to publish.

v3.2
- Fixed the problem with not being able to save the config if you've never used it before.
- Changed to query the Ants via the API on background threads.  The numbers of threads is configurable.  The more Ants you have, the higher you likely want
  this value to be.  It defaults to 4.
- Changed to refresh the display grid X numbers of seconds after the Ant refresh has started.  This value is configurable. If you have a large number of 
  Ants, or have slow video, you'll benefit from setting this to a larger value.  It defaults to 1.
- Fixed the default column widths and also added tool tips to the column headers that aren't self explanatory.
- Added a routine to trim the log size down to approx 1m characters when it reaches 1.5m characters.

Download link: MAntMonitor32.zip

M
So what doesn't this address out of everything we discussed ? It seems just like the saving thing where when I say have 4 units, close the program out. Come back and everything but one was gone.

Ty.

It doesn't fix most of your issues.  That's coming when I redo the config UI.

M
legendary
Activity: 1064
Merit: 1001
I'm declaring 3.2 stable enough to publish.

v3.2
- Fixed the problem with not being able to save the config if you've never used it before.
- Changed to query the Ants via the API on background threads.  The numbers of threads is configurable.  The more Ants you have, the higher you likely want
  this value to be.  It defaults to 4.
- Changed to refresh the display grid X numbers of seconds after the Ant refresh has started.  This value is configurable. If you have a large number of 
  Ants, or have slow video, you'll benefit from setting this to a larger value.  It defaults to 1.
- Fixed the default column widths and also added tool tips to the column headers that aren't self explanatory.
- Added a routine to trim the log size down to approx 1m characters when it reaches 1.5m characters.

Download link: MAntMonitor32.zip

M
So what doesn't this address out of everything we discussed ? It seems just like the saving thing where when I say have 4 units, close the program out. Come back and everything but one was gone.

Ty.
legendary
Activity: 1540
Merit: 1001
I'm declaring 3.2 stable enough to publish.

v3.2
- Fixed the problem with not being able to save the config if you've never used it before.
- Changed to query the Ants via the API on background threads.  The numbers of threads is configurable.  The more Ants you have, the higher you likely want
  this value to be.  It defaults to 4.
- Changed to refresh the display grid X numbers of seconds after the Ant refresh has started.  This value is configurable. If you have a large number of 
  Ants, or have slow video, you'll benefit from setting this to a larger value.  It defaults to 1.
- Fixed the default column widths and also added tool tips to the column headers that aren't self explanatory.
- Added a routine to trim the log size down to approx 1m characters when it reaches 1.5m characters.

Download link: MAntMonitor32.zip

M
legendary
Activity: 1540
Merit: 1001
Release candidate #2.

MAntMonitor32rc2.zip

Only thing different is for the "reboot on error out" it uses the API to try to reboot instead of the web browser.

M
legendary
Activity: 1540
Merit: 1001
Beta 3.2b

253 ants scan time = 95 seconds

Speed ​​increased 3.5-4.0 times.

No multi-segment scan.

No test 3 digit IP (192.168.001.002 - 001.253) sorted the problem, the problem actually is not too important.

Please try the latest version: MAntMonitor32rc2.zip

I suggest setting the display refresh value to 5 and the thread count to at least 24.

M
legendary
Activity: 1540
Merit: 1001
Hi M,
The 3.2rc did try to gp web based reboot, but unable. below the log:

9/1/2014 11:09:50 PM: ERROR when querying S1:2.117:80 (step 1): Object reference not set to an instance of an object.
9/1/2014 11:09:50 PM: Attempting to reboot S1: 192.168.2.117:80 via the web because the API query errored out.
9/1/2014 11:09:50 PM: REBOOTING S1: 192.168.2.117:80
9/1/2014 11:09:53 PM: An error occurred when parsing the web output for http://192.168.2.117/cgi-bin/luci/;stok=/admin/system/reboot?reboot=1: Object reference not set to an instance of an object.

That first error message is curious.  You say that goes away after you reboot it?

M
member
Activity: 71
Merit: 10
Here's a beta version of 3.2.  The huge change to this was it was restructured to do multi-threaded polling of your Ants via the API.

Things to note:

- This is a beta version.  Chances are good I broke something.  
- That said, you should be able to revert back to the prior version simply by running the older version.
- This is for API users only.  I'm pretty sure the web scraping piece is broken, simply because I haven't taken the time yet to redo it to work with the new code.
- It has 5 threads running behind the scenes: 1 dispatch thread, and 4 worker threads.  I intend to have the worker threadcount controllable in the final version.
- You'll see in the Log which worker thread is checking which Ant.
- My main PC is an i7.  That means have 4 CPU cores with hyperthreading, so the OS sees 8 cores available.  I don't know how this will respond on CPUs with less cores available.  
- I only have 3 Ants: 1 S1, 1 S2, and 1 S3.  I can't really test how this will work with more than 3 Ants, especially not 1000.

As always, feedback is most welcome.

Thanks!

Download link: MAntMonitor32b.zip

M


Beta 3.2b

253 ants scan time = 95 seconds

Speed ​​increased 3.5-4.0 times.

No multi-segment scan.

No test 3 digit IP (192.168.001.002 - 001.253) sorted the problem, the problem actually is not too important.


3.2b1 has not been tested

Thank you been trying to work.

Google Translation
newbie
Activity: 17
Merit: 0
Version 3.2 release candidate is now available.

MoreBloodWine: You might want to try this one.  It still won't save properly for you, but I think reboots will work for you now.  The web code is cleaner as well.

This also includes the ability to attempt to reboot an Ant via the web if the API call generates an error.

MAntMonitor32rc.zip

M

Hi M,
The 3.2rc did try to gp web based reboot, but unable. below the log:

9/1/2014 11:09:50 PM: ERROR when querying S1:2.117:80 (step 1): Object reference not set to an instance of an object.
9/1/2014 11:09:50 PM: Attempting to reboot S1: 192.168.2.117:80 via the web because the API query errored out.
9/1/2014 11:09:50 PM: REBOOTING S1: 192.168.2.117:80
9/1/2014 11:09:53 PM: An error occurred when parsing the web output for http://192.168.2.117/cgi-bin/luci/;stok=/admin/system/reboot?reboot=1: Object reference not set to an instance of an object.
legendary
Activity: 1540
Merit: 1001
Version 3.2 release candidate is now available.

MoreBloodWine: You might want to try this one.  It still won't save properly for you, but I think reboots will work for you now.  The web code is cleaner as well.

This also includes the ability to attempt to reboot an Ant via the web if the API call generates an error.

MAntMonitor32rc.zip

M
legendary
Activity: 1540
Merit: 1001
Hi Mdude77,

See this link of the ERROR on uptime and the log provide by v3.2b2

http://tinypic.com/r/jai9nc/8

Thank's

That is not what I expected.  You're saying it's accessible via the web, but not via the API?  In other words, you need it to rebooted via the web when this happens, not the API.

M

When ERROR appear, I still can use Ant Monitor to reboot it by use API setting.

Okay.  For now I have it written to use web reboot if the API fails.

M
newbie
Activity: 17
Merit: 0
Hi Mdude77,

See this link of the ERROR on uptime and the log provide by v3.2b2

http://tinypic.com/r/jai9nc/8

Thank's

That is not what I expected.  You're saying it's accessible via the web, but not via the API?  In other words, you need it to rebooted via the web when this happens, not the API.

M

When ERROR appear, I still can use Ant Monitor to reboot it by use API setting.


legendary
Activity: 1540
Merit: 1001
Hi Mdude77,

See this link of the ERROR on uptime and the log provide by v3.2b2

http://tinypic.com/r/jai9nc/8

Thank's

That is not what I expected.  You're saying it's accessible via the web, but not via the API?  In other words, you need it to rebooted via the web when this happens, not the API.

M
newbie
Activity: 17
Merit: 0
Hi Mdude77,
This is great software and almost perfect.

The only thing needed is for it to auto reboot the miner when the S1 is losing intenet connection
and showing as ERROR on Ant Uptime. at this time, miner is still can be access by web interface.

My miner is connected by wifi and everyday my internet provider reboot their wireless connection
at 2 AM, after internet is back, some of my S1 will not hashing until I do reboot after wake up.

Please help to enable option to auto reboot miner that showing ERROR on uptime.

Cheers and Thank's

Hi, thanks!  This should be quite doable.  Look for it in the next version.

M

Hi Mdude77,

See this link of the ERROR on uptime and the log provide by v3.2b2

http://tinypic.com/r/jai9nc/8

Thank's
legendary
Activity: 1540
Merit: 1001
Here's another beta.  This version fixes a few things, including re-enabling the web scraping code.  I don't think there's any gain to the web scrapers in this code, but it works again.

I also added a configurable "display refresh" delay the defaults to 1 second.  That's how long the display holds off refreshing from the time an Ant refresh is initiated.  Users with slow video or large numbers of Ants will benefit from making this value larger. 

For example, when set to '1', every Ant that refreshes in the first second will refresh on the grid at once.  Every Ant that hasn't yet responded, or hasn't yet been refreshed, will show up automatically as it's refreshed.  Using the test results posted earlier, where it took 5 seconds to refresh 50 Ants when the grid wasn't shown, if you set it to 5 seconds, most if not all should refresh after 5 seconds.

This is pretty close to the final build for this version number.

As always, feedback is welcome and appreciated.

Download link: MAntMonitor32b2.zip

M

W00t!  That change made a big improvement.

First off, the best performance I could get was 2s, no matter the max threads or display refresh setting.  I'm thinking I just don't have enough ants yet to really stress it out too much Wink  We'll see what happens with the dude with 1,000 Ants.

With 2s or above display refresh setting, on "Ant" tab or any other:
4 threads - 10s
6 threads - 6s
8 threads - 4s
12 threads - 2-3s
16+ threads - 2s

So, changing the refresh default even by 1s made the main difference, the table draws nice and quick and it doesn't matter what tab you're on now, performance is consistent.  Anything above 2s really made no difference, again I think you'd need probably 150+ Ants to get into that territory.

Great work!

Woohoo!  2s for 50 Ants!  Sweet! Smiley

M
member
Activity: 112
Merit: 10
Here's another beta.  This version fixes a few things, including re-enabling the web scraping code.  I don't think there's any gain to the web scrapers in this code, but it works again.

I also added a configurable "display refresh" delay the defaults to 1 second.  That's how long the display holds off refreshing from the time an Ant refresh is initiated.  Users with slow video or large numbers of Ants will benefit from making this value larger. 

For example, when set to '1', every Ant that refreshes in the first second will refresh on the grid at once.  Every Ant that hasn't yet responded, or hasn't yet been refreshed, will show up automatically as it's refreshed.  Using the test results posted earlier, where it took 5 seconds to refresh 50 Ants when the grid wasn't shown, if you set it to 5 seconds, most if not all should refresh after 5 seconds.

This is pretty close to the final build for this version number.

As always, feedback is welcome and appreciated.

Download link: MAntMonitor32b2.zip

M

W00t!  That change made a big improvement.

First off, the best performance I could get was 2s, no matter the max threads or display refresh setting.  I'm thinking I just don't have enough ants yet to really stress it out too much Wink  We'll see what happens with the dude with 1,000 Ants.

With 2s or above display refresh setting, on "Ant" tab or any other:
4 threads - 10s
6 threads - 6s
8 threads - 4s
12 threads - 2-3s
16+ threads - 2s

So, changing the refresh default even by 1s made the main difference, the table draws nice and quick and it doesn't matter what tab you're on now, performance is consistent.  Anything above 2s really made no difference, again I think you'd need probably 150+ Ants to get into that territory.

Great work!

legendary
Activity: 1540
Merit: 1001
Hi Mdude77,
This is great software and almost perfect.

The only thing needed is for it to auto reboot the miner when the S1 is losing intenet connection
and showing as ERROR on Ant Uptime. at this time, miner is still can be access by web interface.

My miner is connected by wifi and everyday my internet provider reboot their wireless connection
at 2 AM, after internet is back, some of my S1 will not hashing until I do reboot after wake up.

Please help to enable option to auto reboot miner that showing ERROR on uptime.

Cheers and Thank's

Hi, thanks!  This should be quite doable.  Look for it in the next version.

M
newbie
Activity: 17
Merit: 0
Hi Mdude77,
This is great software and almost perfect.

The only thing needed is for it to auto reboot the miner when the S1 is losing intenet connection
and showing as ERROR on Ant Uptime. at this time, miner is still can be access by web interface.

My miner is connected by wifi and everyday my internet provider reboot their wireless connection
at 2 AM, after internet is back, some of my S1 will not hashing until I do reboot after wake up.

Please help to enable option to auto reboot miner that showing ERROR on uptime.

Cheers and Thank's
legendary
Activity: 1666
Merit: 1185
dogiecoin.com
Thread has been moved to mining software.
Pages:
Jump to: