Bitcoin Forum
November 11, 2024, 04:43:27 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Braiins Os sceduler not working for me Antminer s9  (Read 76 times)
ke5nzy (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
August 15, 2024, 11:34:43 PM
 #1

I have the following setup in the scheduler per the documents
*/1   *   *   *   *   /usr/sbin/logrotate /etc/logrotate.conf 2>&1 | logger -t logrotate
0   0   *   *   *   /usr/sbin/bos_upgrade_at 2>&1 | logger -t upgrade
0   9   *   *   *   /etc/init.d/bosminer stop && sed -i 's/^psu_power_limit = .*/psu_power_limit = 960/' /etc/bosminer.toml && /etc/init.d/bosminer start
0   2   *   *   *   /etc/init.d/bosminer stop && sed -i 's/^psu_power_limit = .*/psu_power_limit = 1280/' /etc/bosminer.toml && /etc/init.d/bosminer start

I submit this, then i restart device.

now- what happens is, I can change this time interval and I understand how, as this is just the example in the docs I am trying to learn and understand. When the time arrives, the event does stop the bosminer, and then it restarts it, but it doesn't change the power supply limit.  I am ready to learn and hopefully someone can guide me.
BitMaxz
Legendary
*
Offline Offline

Activity: 3430
Merit: 3168


Playbet.io - Crypto Casino and Sportsbook


View Profile WWW
August 15, 2024, 11:43:32 PM
 #2

Have you tried to set up the unit on the dashboard instead of using bosminer?
I don't know what exactly you are trying to achieve but if it is all about changing the power limit then dynamic performance and power scaling on the Braiins OS, play with a PSU power limit.

Check this link below and scroll down to "Dynamic Performance Scaling configuration"

- https://academy.braiins.com/en/braiins-os/configuration/

Better delete your first thread on beginners and help section I deleted my post there since it's not on the right section and move the post here.


███████████████
█████████████████████
██████▄▄███████████████
██████▐████▄▄████████████
██████▐██▀▀▀██▄▄█████████
████████▌█████▀██▄▄██████
██████████████████▌█████
█████████████▀▄██▀▀██████
██████▐██▄▄█▌███████████
██████▐████▀█████████████
██████▀▀███████████████
█████████████████████
███████████████

.... ..Playbet.io..Casino & Sportsbook.....Grab up to  BTC + 800 Free Spins........
████████████████████████████████████████
██████████████████████████████████████████████
██████▄▄████████████████████████████████████████
██████▐████▄▄█████████████████████████████████████
██████▐██▀▀▀██▄▄██████████████████████████████████
████████▌█████▀██▄▄█████▄███▄███▄███▄█████████████
██████████████████▌████▀░░██▌██▄▄▄██████████████
█████████████▀▄██▀▀█████▄░░██▌██▄░░▄▄████▄███████
██████▐██▄▄█▌██████████▀███▀███▀███▀███▀█████████
██████▐████▀██████████████████████████████████████
██████▀▀████████████████████████████████████████
██████████████████████████████████████████████
████████████████████████████████████████
ke5nzy (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
August 15, 2024, 11:50:57 PM
 #3

What I am trying to do is the set the power level to say 900 watts at time of my choosing, then back to 1200 at time of my choosing. The docs do explain it well. I just isn't working for me.

https://academy.braiins.com/en/braiins-os/faqs/advanced/#how-to-automatically-change-power-limit-based-on-time
BitMaxz
Legendary
*
Offline Offline

Activity: 3430
Merit: 3168


Playbet.io - Crypto Casino and Sportsbook


View Profile WWW
August 16, 2024, 12:16:20 AM
 #4

Ok, I get it you are talking about the cron scheduler.
Have you tried to remove extra spaces from your setup above?

If still does not work try accessing the SSH and use this command below

Code:
etc/init.d/cron restart

Then try it again.

If still does not work try the solution provided from this link below

- https://bitcointalk.org/index.php?topic=5036844.msg58440643#msg58440643

███████████████
█████████████████████
██████▄▄███████████████
██████▐████▄▄████████████
██████▐██▀▀▀██▄▄█████████
████████▌█████▀██▄▄██████
██████████████████▌█████
█████████████▀▄██▀▀██████
██████▐██▄▄█▌███████████
██████▐████▀█████████████
██████▀▀███████████████
█████████████████████
███████████████

.... ..Playbet.io..Casino & Sportsbook.....Grab up to  BTC + 800 Free Spins........
████████████████████████████████████████
██████████████████████████████████████████████
██████▄▄████████████████████████████████████████
██████▐████▄▄█████████████████████████████████████
██████▐██▀▀▀██▄▄██████████████████████████████████
████████▌█████▀██▄▄█████▄███▄███▄███▄█████████████
██████████████████▌████▀░░██▌██▄▄▄██████████████
█████████████▀▄██▀▀█████▄░░██▌██▄░░▄▄████▄███████
██████▐██▄▄█▌██████████▀███▀███▀███▀███▀█████████
██████▐████▀██████████████████████████████████████
██████▀▀████████████████████████████████████████
██████████████████████████████████████████████
████████████████████████████████████████
ke5nzy (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
August 16, 2024, 12:29:35 AM
 #5

Ok, I get it you are talking about the cron scheduler.
Have you tried to remove extra spaces from your setup above?

Yes- It seems to work the same. To make clear what is going on- the command to stop works. The command to start works. The command to change power level doesn't.

If still does not work try accessing the SSH and use this command below

Code:
etc/init.d/cron restart

Then try it again.

Yes, I did this also as the instructions ask, and that command will run successfully.

If still does not work try the solution provided from this link below

- https://bitcointalk.org/index.php?topic=5036844.msg58440643#msg58440643

I read it three times, but I was only able to find where he suggested adding the 2 first lines recommended in docs (Which is my first 2 lines), but his commands have no reference to setting the power limit. That discussion I did read before I posted, but it is about fan speed. I am thankful for your help, and any additional information you may have concerning setting the power level based on time.
BitMaxz
Legendary
*
Offline Offline

Activity: 3430
Merit: 3168


Playbet.io - Crypto Casino and Sportsbook


View Profile WWW
August 16, 2024, 12:46:21 AM
 #6


Yes, I did this also as the instructions ask, and that command will run successfully.
What do you mean the scheduler setup above works? after using the "cron restart"?


I read it three times, but I was only able to find where he suggested adding the 2 first lines recommended in docs (Which is my first 2 lines), but his commands have no reference to setting the power limit. That discussion I did read before I posted, but it is about fan speed. I am thankful for your help, and any additional information you may have concerning setting the power level based on time.

Oppsss... sorry I pointed you to the wrong thread I opened two threads but anyway this one should be the right one I hope it helps.

- https://bitcointalk.org/index.php?topic=5036844.msg57566189#msg57566189

███████████████
█████████████████████
██████▄▄███████████████
██████▐████▄▄████████████
██████▐██▀▀▀██▄▄█████████
████████▌█████▀██▄▄██████
██████████████████▌█████
█████████████▀▄██▀▀██████
██████▐██▄▄█▌███████████
██████▐████▀█████████████
██████▀▀███████████████
█████████████████████
███████████████

.... ..Playbet.io..Casino & Sportsbook.....Grab up to  BTC + 800 Free Spins........
████████████████████████████████████████
██████████████████████████████████████████████
██████▄▄████████████████████████████████████████
██████▐████▄▄█████████████████████████████████████
██████▐██▀▀▀██▄▄██████████████████████████████████
████████▌█████▀██▄▄█████▄███▄███▄███▄█████████████
██████████████████▌████▀░░██▌██▄▄▄██████████████
█████████████▀▄██▀▀█████▄░░██▌██▄░░▄▄████▄███████
██████▐██▄▄█▌██████████▀███▀███▀███▀███▀█████████
██████▐████▀██████████████████████████████████████
██████▀▀████████████████████████████████████████
██████████████████████████████████████████████
████████████████████████████████████████
ke5nzy (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
August 16, 2024, 12:55:56 AM
 #7

That looks very promising,, ill try it
ke5nzy (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
August 16, 2024, 04:29:06 AM
 #8



Oppsss... sorry I pointed you to the wrong thread I opened two threads but anyway this one should be the right one I hope it helps.

- https://bitcointalk.org/index.php?topic=5036844.msg57566189#msg57566189
[/quote]
I tried what he had with same error, but believe it or not i did figure it out.

The documents show it like this:

*/1 * * * * /usr/sbin/logrotate /etc/logrotate.conf 2>&1 | logger -t logrotate
0 0 * * * /usr/sbin/bos_upgrade_at 2>&1 | logger -t upgrade
0 9 * * * /etc/init.d/bosminer stop && sed -i 's/^psu_power_limit = .*/psu_power_limit = 960/' /etc/bosminer.toml && /etc/init.d/bosminer start
0 2 * * * /etc/init.d/bosminer stop && sed -i 's/^psu_power_limit = .*/psu_power_limit = 1280/' /etc/bosminer.toml && /etc/init.d/bosminer start

The problem was found when I decided to read the /etc/bosminer.toml file.. It had no line or ref for psu_power_limit any place in there, but there was a line that had power_target = 1420. So I said, well that might work, so I wrote this

*/1 * * * */usr/sbin/logrotate /etc/logrotate.conf 2>&1 | logger -t logrotate
0 0 * * */usr/sbin/bos_upgrade_at 2>&1 | logger -t upgrade
0 23 * * * /etc/init.d/bosminer stop && sed -i 's/^power_target = .*/power_target = 1420/' /etc/bosminer.toml && /etc/init.d/bosminer start
0 5 * * * /etc/init.d/bosminer stop && sed -i 's/^power_target = .*/power_target = 800/' /etc/bosminer.toml && /etc/init.d/bosminer start


 It works perfect now.  Thanks for your help.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!