Question about Do not crunch on Battery

Message boards : Questions and problems : Question about Do not crunch on Battery
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Gary Charpentier
Avatar

Send message
Joined: 23 Feb 08
Posts: 2465
United States
Message 39654 - Posted: 14 Aug 2011, 1:40:59 UTC

I realize the intent was for laptops, but if I have a desktop attached to a UPS and the UPS is recognized by the O/S, so the O/S shows on battery if the mains fail, will BOINC see a power fail and suspend crunching?

Anyone know?

ID: 39654 · Report as offensive
Profile Trog Dog
Avatar

Send message
Joined: 6 May 06
Posts: 287
Australia
Message 39656 - Posted: 14 Aug 2011, 1:52:09 UTC - in response to Message 39654.  

try it, turn off the mains at the wall and see what happens.
CIC1=CC=C(C2=N[C@@H](CC(OC(C)(C)C)=O)C3=NN=C(C)N3C4=C2C(C)=C(C)S4)C=C1
ID: 39656 · Report as offensive
Profile Gary Charpentier
Avatar

Send message
Joined: 23 Feb 08
Posts: 2465
United States
Message 39658 - Posted: 14 Aug 2011, 4:20:19 UTC - in response to Message 39656.  

try it, turn off the mains at the wall and see what happens.

The outlet I have it connected to isn't switched and the manufacturer of the UPS says not to unplug it to test it. I think I know why they make that recommendation and would agree with it 100%.

ID: 39658 · Report as offensive
Profile Trog Dog
Avatar

Send message
Joined: 6 May 06
Posts: 287
Australia
Message 39660 - Posted: 14 Aug 2011, 8:17:33 UTC - in response to Message 39658.  

try it, turn off the mains at the wall and see what happens.

The outlet I have it connected to isn't switched and the manufacturer of the UPS says not to unplug it to test it. I think I know why they make that recommendation and would agree with it 100%.

Turn it off at the switchboard then.
CIC1=CC=C(C2=N[C@@H](CC(OC(C)(C)C)=O)C3=NN=C(C)N3C4=C2C(C)=C(C)S4)C=C1
ID: 39660 · Report as offensive
Profile Gary Charpentier
Avatar

Send message
Joined: 23 Feb 08
Posts: 2465
United States
Message 39664 - Posted: 14 Aug 2011, 14:08:02 UTC

Another forum with people as helpful as a tornado.

ID: 39664 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15484
Netherlands
Message 39665 - Posted: 14 Aug 2011, 14:59:59 UTC

Well, what do you want of them then? You're not allowed to pull the plug as that could damage something and lose your warranty, but you do want to test whether this preference runs on your UPS?

I can tell you, of course not. A UPS is not there to keep your system running while the power is out. A UPS is there to allow you to power down the electrical equipment attached to it in a normal fashion, when the power is out, and to protect against power spikes, sags and surges.
ID: 39665 · Report as offensive
Profile Gary Charpentier
Avatar

Send message
Joined: 23 Feb 08
Posts: 2465
United States
Message 39666 - Posted: 14 Aug 2011, 16:27:03 UTC - in response to Message 39665.  

Well, what do you want of them then? You're not allowed to pull the plug as that could damage something and lose your warranty, but you do want to test whether this preference runs on your UPS?

I can tell you, of course not. A UPS is not there to keep your system running while the power is out. A UPS is there to allow you to power down the electrical equipment attached to it in a normal fashion, when the power is out, and to protect against power spikes, sags and surges.

MY UPS? No, I didn't ask about MY UPS. I asked in general. If someone perhaps knew if the methods BOINC uses to determine if it is on battery apply only to laptops or if they apply also to desktops on UPS. Something someone who worked on that section of the code might know. If it depends on the O/S then point me to man pages. I'm not necessarily expecting the answer will be the same for Linux/Windows/Mac OS ...

ID: 39666 · Report as offensive
Profile Gary Charpentier
Avatar

Send message
Joined: 23 Feb 08
Posts: 2465
United States
Message 39669 - Posted: 15 Aug 2011, 5:13:23 UTC - in response to Message 39668.  

What's wrong with the advice to flip the breaker off? It works the same as a standard switch on the receptacle. Nothing wrong with throwing a toaster in a bucket of water either. I've done it many times to make sure I get the right breaker first time. There's no danger of being electrocuted and the toaster is fine after it drys out. I live in a 2 story house, the breaker box is in the basement, computers are on the top floor. Either I run up and down the stairs several times until I get the right breaker, yell upstairs to Honey to ask her if I've tripped the right breaker (I can't yell that loud) or just drop the toaster in some water. I like the last option, I'm lazy.

The last UPS I saw in action was years ago. It had a cable joining it to the desktop's RS-232 port. When the mains went off, the UPS flipped a bit on the RS-232 port. Software (sold with the UPS) monitored the RS-232 port and watched for the bit to flip. When it saw the flip it would start a timer. If the mains came back on before the timer hit X minutes the bit would flip again and the software would notice and do nothing. If the timer reached X minutes then the software would shut the OS down and tell the UPS to turn the power off.

If your UPS is like that then there is a chance the OS might know if it's on UPS battery power but not necessarily. The software monitoring the RS-232 port might be the only thing aware of the fact it's on battery. BOINC learns from the OS when it's on battery. If the OS doesn't know then BOINC can't know. So if your UPS isn't connected to a USB/parallel/RS-232 port then there is no way the OS can know and thus no way for BOINC to know. If the UPS IS connected to a port then the OS may or may not know. In that case, get the toaster and a bucket of water and find out.

Wow, all those words and zero information content. You could be a politician. While you grew older and brain cells atrophied, UPS manufacturers standardized communications http://www.networkupstools.org/ups-protocols.html

How about you just be quiet since you obviously don't know the answer, and we'll see if someone who has worked on the BONIC code wonders by and knows the answer to the question in the first post. But since you have screwed the thread up I doubt that will happen now. Proud of yourself?
ID: 39669 · Report as offensive
Profile Gundolf Jahn

Send message
Joined: 20 Dec 07
Posts: 1069
Germany
Message 39673 - Posted: 15 Aug 2011, 6:50:30 UTC - in response to Message 39670.  

And it's BOINC, not BONIC.

And it's "wander by", not "wonder by" ;-)
ID: 39673 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15484
Netherlands
Message 39674 - Posted: 15 Aug 2011, 7:26:41 UTC

OK, that went far enough. I'm not sure what everyone in this thread ate, drank, sniffed or got through osmosis, but you better stop it. Obscene & Flame/Hate mail. Wow. Well, whatever. Locked.
ID: 39674 · Report as offensive

Message boards : Questions and problems : Question about Do not crunch on Battery

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.