[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Power management not working in Windows



The HTCondor Central manager will never attempt to hibernate.   Only a machine that has an HTCondor STARTD, but not a  SCHEDD, NEGOTIATOR, or COLLECTOR is a candidate for hibernation.

 

Also, hibernation can be rejected by processes outside of HTCondor.  

 

 

If you configure

 

STARTD_DEBUG = $(STARTD_DEBUG) D_CAT D_ALWAYS:2

 

To see more output in the StartdLog.

 

You should see something like

 

05/16/18 13:53:10 (D_ALWAYS:2) Detected hibernation states: S3

 

in the StartdLog

 

In addition to

   CanHibernate = true
   Unhibernate = MY.MachineLastMatchTime =!= undefined

 

You should also be seeing an attribute  HibernationSupportedStates in the slot ads.

 

 

-tj

 

 

 

 

 

 

 

HIBERNATE = âRAMâ  on ALL slots in the Startd, then youd

 

From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf Of Julio Augusto Freyre-Gonzalez
Sent: Thursday, May 17, 2018 6:31 PM
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Subject: Re: [HTCondor-users] Power management not working in Windows

 

I even used HIBERNATE = "RAM" to force sleep (using HIBERNATE_CHECK_INTERVAL = 300), but computer does not sleep.

 

condor_config_val -v Hibernate

 

HIBERNATE = "RAM"
 # at: D:\Condor\etc\condor_config.power, line 40
 # raw: HIBERNATE = "RAM"

 

condor_config_val -v Hibernate_check_interval

 

HIBERNATE_CHECK_INTERVAL = 300
 # at: D:\Condor\etc\condor_config.power, line 17
 # raw: HIBERNATE_CHECK_INTERVAL = 300

 

Best

 

On Thu, May 17, 2018 at 6:24 PM, Julio Augusto Freyre-Gonzalez <jfreyre@xxxxxxxxxxx> wrote:

John,

condor_status -long | findstr -I hibernate shows:

 

CanHibernate = true
Unhibernate = MY.MachineLastMatchTime =!= undefined
CanHibernate = true
Unhibernate = MY.MachineLastMatchTime =!= undefined
CanHibernate = true
Unhibernate = MY.MachineLastMatchTime =!= undefined

.

. (the same for all the 74 slots)

.

CanHibernate = true
Unhibernate = MY.MachineLastMatchTime =!= undefined

 

Additionally, cat *.* | grep -i powereventhander ran on log directory shows:

 

05/16/18 13:53:10 PowerEventHander: Machine entering hibernation
05/16/18 15:14:30 PowerEventHander: Waking machine to handle an event (Automatic)
05/16/18 15:14:30 PowerEventHander: Waking machine (APM)
05/17/18 02:56:39 PowerEventHander: Machine entering hibernation
05/17/18 11:41:14 PowerEventHander: Waking machine to handle an event (Automatic)
05/17/18 11:41:18 PowerEventHander: Waking machine (APM)
05/17/18 15:59:24 PowerEventHander: Machine entering hibernation
05/17/18 18:14:21 PowerEventHander: Waking machine to handle an event (Automatic)
05/17/18 18:14:25 PowerEventHander: Waking machine (APM)

 

and > cat *.* | grep -i hibernation


05/16/18 13:53:10 PowerEventHander: Machine entering hibernation
05/17/18 02:56:39 PowerEventHander: Machine entering hibernation
05/17/18 15:59:24 PowerEventHander: Machine entering hibernation
05/16/18 15:14:37 HibernationManager: Hibernation is enabled
05/16/18 20:42:56 HibernationManager: Hibernation is enabled
05/16/18 21:57:24 HibernationManager: Hibernation is enabled
05/17/18 11:41:22 HibernationManager: Hibernation is enabled
05/17/18 14:51:46 HibernationManager: Hibernation is enabled

 

But the 'Waking machine' events were trigger by myself waking up the computer, I configured this machine to sleep after a timeout using the control panel. But the other machines, including the central manager, are never going to sleep.

 

Best

 

On Thu, May 17, 2018 at 5:17 PM, John M Knoeller <johnkn@xxxxxxxxxxx> wrote:

what does

 

condor_status -long | findstr -I hibernate

 

show?

 

 

From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf Of Julio Augusto Freyre-Gonzalez
Sent: Thursday, May 17, 2018 12:00 PM
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Subject: [HTCondor-users] Power management not working in Windows

 

I am trying to enable power magement in condor for Windows. I am using the condor_config.power available in condor/etc/. I put a 'include : $(RELEASE_DIR)\etc\condor_config.power' in condor_config. Also, I enabled ROOSTER  and put a 'COLLECTOR_PERSISTENT_AD_LOG = $(RELEASE_DIR)\log\PersistentAds' in the central manager. But after 36hrs computers keep awake. I already verified that S3 mode is supported in al computers using 'powercfg -A'.

 

--

Dr. Julio Augusto Freyre-Gonzalez (PhD)
Associate Professor
Head of the Regulatory Systems Biology Group

Evolutionary Genomics Program
Center for Genomic Sciences
National Autonomous University of Mexico (UNAM)

 

 

_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/




--

Dr. Julio Augusto Freyre-Gonzalez (PhD)
Associate Professor
Head of the Regulatory Systems Biology Group
Evolutionary Genomics Program
Center for Genomic Sciences
National Autonomous University of Mexico (UNAM)
Av. Universidad s/n, Col. Chamilpa, 62210
Cuernavaca, Morelos. Mexico
http://orcid.org/0000-0001-7061-7637
http://unam.academia.edu/jfreyre
https://www.researchgate.net/profile/Julio_Augusto_Freyre-Gonzalez/

"Ser joven y no ser revolucionario es una contradiccion hasta biologica"
- Salvador Allende Gossens (1908-1973)

"If we knew what it was we were doing, it would not be called research, would it?"
- Albert Einstein (1879-1955)

"There is one thing even more vital to science than intelligent methods; and that is, the sincere desire to find out the truth, whatever it may be"
- Charles Sanders Pierce (1839-1914)

"The great tragedy of science -- the slaying of a beautiful hypothesis by an ugly fact"
- Thomas Henry Huxley (1825-1895)




--

Dr. Julio Augusto Freyre-Gonzalez (PhD)
Associate Professor
Head of the Regulatory Systems Biology Group
Evolutionary Genomics Program
Center for Genomic Sciences
National Autonomous University of Mexico (UNAM)
Av. Universidad s/n, Col. Chamilpa, 62210
Cuernavaca, Morelos. Mexico
http://orcid.org/0000-0001-7061-7637
http://unam.academia.edu/jfreyre
https://www.researchgate.net/profile/Julio_Augusto_Freyre-Gonzalez/

"Ser joven y no ser revolucionario es una contradiccion hasta biologica"
- Salvador Allende Gossens (1908-1973)

"If we knew what it was we were doing, it would not be called research, would it?"
- Albert Einstein (1879-1955)

"There is one thing even more vital to science than intelligent methods; and that is, the sincere desire to find out the truth, whatever it may be"
- Charles Sanders Pierce (1839-1914)

"The great tragedy of science -- the slaying of a beautiful hypothesis by an ugly fact"
- Thomas Henry Huxley (1825-1895)