Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two power budget patches #5

Merged
merged 2 commits into from Sep 20, 2022
Merged

Two power budget patches #5

merged 2 commits into from Sep 20, 2022

Conversation

pktpls
Copy link
Contributor

@pktpls pktpls commented Apr 1, 2022

Two smallies, see the commit messages. Interested to see what you think about the config setting approach.

The second commit is of course only relevant for use cases that don't need to override power_budget and can instead use the default detection.

If the new power_budget setting is set to anything larger than zero,
we will ignore the official power budget based on the supply 802.3 type.

This is useful when a bunch of powered devices slightly peak when
they all boot at the same time and we know that total consumption
will otherwise be fine.

Tested with an 802.3at injector as supply and four active-to-passive-PoE
converters in front of three sxtsq-5-ac and one litebeam-ac-gen2.
The official power budget of 21W for 802.3at supply only consistently
powered on one device, often two, and rarely three.

With power_budget=24 all four devices consistently boot up.
This wasn't long enough to consistently bring up one connected
device above 8W, and one millisecond doesn't seem to be enough
to bring up four devices above 8W each.

Ten milliseconds seems to be the sweet spot.
@pktpls
Copy link
Contributor Author

pktpls commented Aug 12, 2022

I have this deployed at a site [1] now, so if this power budget patch gets shipped to downloads.openwrt.org I could simplify the build for that site, which would be wonderful :-)

[1] https://hopglass.berlin.freifunk.net/#!v:m;n:rixbox-core.olsr

@blocktrron
Copy link
Owner

Hi, sorry for the long wait. This looks fine.

@blocktrron blocktrron merged commit b8f8f23 into blocktrron:master Sep 20, 2022
@pktpls pktpls deleted the powerbudget branch September 20, 2022 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants