Bug 1138 - UPS for Jacob's CI server
Summary: UPS for Jacob's CI server
Status: RESOLVED FIXED
Alias: None
Product: Libre-SOC's second ASIC
Classification: Unclassified
Component: source code (show other bugs)
Version: unspecified
Hardware: PC Linux
: --- enhancement
Assignee: Jacob Lifshay
URL:
Depends on:
Blocks:
 
Reported: 2023-08-10 03:17 BST by Jacob Lifshay
Modified: 2023-11-14 01:36 GMT (History)
3 users (show)

See Also:
NLnet milestone: NLnet.2021.02A.052.CryptoRouter
total budget (EUR) for completion of task and all subtasks: 400
budget (EUR) for this task, excluding subtasks' budget: 400
parent task for budget allocation: 774
child tasks for budget allocation:
The table of payments (in EUR) for this task; TOML format:
[jacob] amount = 400 submitted = 2023-10-15 paid = 2023-11-10


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Lifshay 2023-08-10 03:17:44 BST
it would be useful to have the CI server for Libre-SOC (as well as my other equipment such as router, switch, desktop, etc.) have a battery backup.

luke suggested it:
https://libre-soc.org/irclog/%23libre-soc.2023-08-10.log.html#t2023-08-10T00:14:36

after looking around a bit, I think I should get:

$309: https://www.apc.com/us/en/product/BR1500G/apc-backups-pro-1500va-865w-tower-120v-10x-nema-515r-outlets-avr-lcd-user-replaceable-battery/

and

$219: https://www.apc.com/us/en/product/BR24BPG/apc-backups-pro-external-battery-pack-for-1500va-backups-pro-models-formerly-backups-rs-1500/

which together last 40min at 500W

my other choice that doesn't last as long when the power goes out and may not be supported as well on linux:

$545: https://www.cyberpowersystems.com/product/ups/smart-app-sinewave/pr1500lcd/

there's EUR 400 left of bug #774, I'm fine with paying the rest myself since I'm getting a bigger than strictly necessary UPS since I want to use it with my desktop and other stuff too.

(note to self: planning on also getting CORSAIR RM1000e at the same time)
Comment 1 Luke Kenneth Casson Leighton 2023-08-10 10:33:48 BST
(In reply to Jacob Lifshay from comment #0)
> it would be useful to have the CI server for Libre-SOC (as well as my other
> equipment such as router, switch, desktop, etc.) have a battery backup.

yes i have our home hub plugged in. power is routinely "spiked"
in our village.

> https://www.apc.com/us/en/product/BR1500G/apc-backups-pro-1500va-865w-tower-
> 120v-10x-nema-515r-outlets-avr-lcd-user-replaceable-battery/

ohh that's the one i MEANT to get but bought a 1600W one by mistake.
you can plug in *FIVE* extra 24v battery packs which is quite ridiculous,
to give something mad like 10kWh total capacity.

yep go for it. also you will need to configure it under linux
which takes up the remaining EUR 400.  run s2disk if the power gets
critical.
Comment 2 Jacob Lifshay 2023-08-10 20:12:59 BST
I bought:
$336.96:
APC BR1500G Back-UPS Pro 1500 VA 10 outlets Uninterruptible Power Supply (UPS)
$228.26:
APC BR24BPG External Battery Pack for Back-UPS RS/XS 1500VA

(plus the power supply and some other stuff which I'm paying for)
Comment 3 Luke Kenneth Casson Leighton 2023-08-11 11:58:52 BST
(In reply to Jacob Lifshay from comment #2)
> I bought:
> $336.96:
> APC BR1500G Back-UPS Pro 1500 VA 10 outlets Uninterruptible Power Supply
> (UPS)
> $228.26:
> APC BR24BPG External Battery Pack for Back-UPS RS/XS 1500VA

i's so jealous :) i may have to get one as well, "just because",
but give the other one to my partner who also has laptops etc.
for business.
Comment 4 Jacob Lifshay 2023-08-16 00:53:16 BST
(In reply to Jacob Lifshay from comment #2)
> I bought:
> $336.96:
> APC BR1500G Back-UPS Pro 1500 VA 10 outlets Uninterruptible Power Supply

the UPS arrived and works (I didn't setup linux integration yet tho). I maxed out my desktop (with minetest and running openpower-isa.git pytest on 32 threads) and the build server (running 8 for loops in parallel in bash) at the same time, that comes to about 650W which is well within range. all the computers on but not doing  much is about 300W, though if I turn off my desktop's monitors then it gets to about 180W (since I now have 3x 1080p 165Hz monitors).

> (UPS)
> $228.26:
> APC BR24BPG External Battery Pack for Back-UPS RS/XS 1500VA

didn't arrive yet, and UPS (the shipping company) says they never got the package yet...I'll wait a few more days and submit a claim to newegg.
> 
> (plus the power supply and some other stuff which I'm paying for)

the PSU arrived and works well!
Comment 5 Jacob Lifshay 2023-08-16 01:57:44 BST
(In reply to Jacob Lifshay from comment #4)
> the UPS arrived and works (I didn't setup linux integration yet tho).

I got apcupsd set up and working!
Comment 6 Luke Kenneth Casson Leighton 2023-08-16 11:19:14 BST
(In reply to Jacob Lifshay from comment #4)

> though if I turn off my
> desktop's monitors then it gets to about 180W (since I now have 3x 1080p
> 165Hz monitors).

yyeah generally inadviseable to run monitors off of a UPS. if you are not
around at the time of a power failure they will drain the battery very fast.

for the dell system i have here i set up two separate RS232 ports and
arranged one in /etc/inittab to have getty running on it.
then i use the GPD-III with its RS232 9-pin port installed and use
a null-modem cable.  the GPD-III has something mad like a 5-8 hour
battery life when the CPU is cranked down to 800 mhz (oh and can be
charged from USB-C)

you absolutely do not need 3 monitors running on a UPS. you do however
need surge-protection for them which is also provided by that unit.

oh - i also got a 4-way block converting kettle-lead into Universal-Sockets,
very handy.
Comment 7 Jacob Lifshay 2023-08-16 14:21:31 BST
(In reply to Luke Kenneth Casson Leighton from comment #6)
> yyeah generally inadviseable to run monitors off of a UPS. if you are not
> around at the time of a power failure they will drain the battery very fast.

if i'm not currently using my computer, the monitors automatically turn off. (well, they go to sleep, which is what I meant and what the 180W is measuring)
Comment 8 Jacob Lifshay 2023-08-18 02:17:24 BST
(In reply to Jacob Lifshay from comment #4)
> > (UPS)
> > $228.26:
> > APC BR24BPG External Battery Pack for Back-UPS RS/XS 1500VA
> 
> didn't arrive yet, and UPS (the shipping company) says they never got the
> package yet...I'll wait a few more days and submit a claim to newegg.

it arrived! newegg just got the wrong tracking number. got it all set up. at idle usage it lasts 115 min! running pytest with 32 threads on my desktop adjusts that down to 45 min, which is still great!