TFGrid power management feature for 3.9 [Closed]

Know this was long-awaited for farmers and in the end it’s beneficial to reduce unnecessary power consumption. Better for people, better for the planet. :clap: Thanks to the team pushing this forward!

2 Likes

Blockquote * use vlang and the rmb components built into crystallib

Blockquote * use actor based paradigm (so its very easy to extend)

I just love it how you manage to get 5 words in 2 sentences to make sure that 99,8% of this planet doesn’t have a clue what you’re saying :rofl:
I’ll wait this one out but hope it works. Great work!

1 Like

I am looking forward to this feature and would love to test it out.

1 Like

Hi all! I have a short update directly from the team responsible for the power management feature, will also share in the chats shortly:

“The farmerbot has actors – node (for anything node related) and power (for anything power related) – which are able to execute what we call jobs. Jobs are actions or methods that can be done or executed by an actor. One of them is the ‘find node’ action, which finds a node that can fit the required resources for a specific deployment. While doing that, it will power on the node if it is off. Every five minutes, the farmerbot fetches information about the nodes (calling the nodes directly). With that information it is able to shut down nodes automatically that are not being used.

The implementation is now mostly done. The communication between farmerbot, nodes, and tfchain is not yet complete. An exact estimate for completion is hard to provide as there are many variables, but we are working as quickly as we can.”

:pray: :pray: :pray:

3 Likes

Hi all.

I’m pleased to inform you that we have made some good progress on the farmerbot. It is now able to contact the nodes in the farm and retrieve some critical information to make decisions on power management. Our next task is to make it contact the chain in order to start the process of shutting down a node. Finally we will have to properly test the farmerbot before releasing it to the world.

Thank you all for your patience :muscle:

6 Likes

Thanks for the update is there any amount of time that this hopefully final task should be completed. According to Kristof the test version of the farmerbot should actually be completed in the course of the last week.Finally, can we expect it within days weeks or months? Another question I have is whether the probably testing will be done by the community, since we applied for this testing opportunity. Thank you

1 Like

Thanks for the patience :pray: I haven’t heard any exact timing but the feature should be ready for testing in the next days. Kristof gave his estimate but sometimes giving estimates is not so simple as we are walking an unwalked path and execution can bring unexpected challenges or simply take longer than expected. To answer your second question, yes, once the feature is ready for testing it will be released to the community so that those who want to test it can do so.

2 Likes

Hi.

We are starting end-to-end tests today. Once those succeed the community is welcome to test it on their own (on devnet for now). If everything goes as planned you can expect it within days.

Thank you for your patience.

8 Likes

This is good news! Thanks @brandonpille for your hard work and happy testing. :pray:

Nice I appreciate that a lot since I have offline everything due to energy costs…
you all are the best!!

I was busy (am busy) the last weeks and sadly i didn’t manage to make some stuff on TF… but i want to test this feature soon.
Did anyone already test the new power-saving-feature? Is there description, a howTo or anything informative to configure it well? Or is it working out of the box in dev.net?

I assume the min configure is to enable WOL on the NICs

thanks great work as everytime!

1 Like

You cannot test it yet as we still have to test it. Once that is done we will make sure it is easy to use and we will provide you the required documentation. Keep in mind that it will only work on devnet in the beginning.

The minimal configuration is indeed enabling WOL. You will also need to use mnemonics of your farm.

Thank you for your patience. :muscle:

5 Likes

Hi all,

We have been testing the farmerbot the last couple of days. The farmerbot was able to shutdown 2 nodes on its own which is a good thing. But we noticed that shutting down the second node took over 30 minutes which is not what we expected. After some investigation we noticed a small issue that we are fixing right now.

Thank you for your patience. We will be continuing our tests once this issue is fixed and keep you up to date.

7 Likes

Hi,

Good news. We were able to fix the issue mentioned before. The farmerbot is now able to shutdown nodes in a few minutes and bring them back on. To make sure everything is as expected we will be running some more testing today. Next week we should be able to invite the community to test it too. Please reply to this message if you are interested in testing the farmerbot with us.

We are very thankful for your patience, we’re almost there! :muscle:

8 Likes

Amazing! Looking forward to it!

Hi everyone, just spoke with @brandonpille and we are ready for implementation! We’ll need some support though from the Egypt team and they are off today (Friday) so the team will work on the implementation on Monday and we’ll be ready for testing! :clap:

4 Likes

How’s the testing looking?

2 Likes

Hi @colossus. We are testing the farmerbot on devnet. So far so good. We have found some bugs and were able to fix it. We also made a lot of improvements on how the farmerbot will be ran. To give you some insights you will be able to run the farmerbot with one docker-compose file. It will pull the required docker images and run everything for you. If all goes well we should be able to open it up for the community to test on Wednesday. :muscle:

11 Likes

A guide on: How to prepare your farm for the farmerbot with WOL

1 Like