Message boards : Number crunching : LHC@home and pc shutdown (vbox)
Message board moderation

To post messages, you must log in.

AuthorMessage
kibith

Send message
Joined: 20 May 06
Posts: 2
Credit: 1,473
RAC: 0
Message 30966 - Posted: 23 Jun 2017, 7:18:22 UTC
Last modified: 23 Jun 2017, 7:22:56 UTC

Hi
i have a laptop (at work) where is installed BOINC and everyday i shut down the notebook when i go home.

I think vbox doesn't like the pc shutdown, because sometime (the next morning) i got a "computational error", only in the LHC vbox project.

I have to do something before shutdown pc?

In 8-9 hours it doesn't finish and i can't let pc "on" all time.

PS
Sometime, when shutting down, laptop says "VBOX is connected and can't shutdown"... i wait, but after 3-4 mins i force shutdown.

Thanks
ID: 30966 · Report as offensive     Reply Quote
Erich56

Send message
Joined: 18 Dec 15
Posts: 1343
Credit: 25,169,002
RAC: 23,300
Message 30970 - Posted: 23 Jun 2017, 12:30:01 UTC - in response to Message 30966.  

Which subproject are you crunching?

CMS tasks take minimum about 12 hours (or more), ATLAS between 6 and 8 hours (with a fairly decent processor).

And yes, VBox doesn't like automatic shutdowns.

With manual shutdowns ("VBOX is connected and can't shutdown"), this normally is not a problem.
ID: 30970 · Report as offensive     Reply Quote
kibith

Send message
Joined: 20 May 06
Posts: 2
Credit: 1,473
RAC: 0
Message 30971 - Posted: 23 Jun 2017, 12:50:03 UTC

I enabled all subproject, but i have other 6 BOINC project running (like Einstein, Asteroid, etc)


Normally i shutdown manually my laptop, but that message appears only when are active LHC tasks that requires Vbox.

I don't use automatic shutdown.

Till now errors are only on LHCb and Theory Simulation (after 35790 sec of CPU time) so I think sometimes something goes wrong with shutdown.
ID: 30971 · Report as offensive     Reply Quote
Erich56

Send message
Joined: 18 Dec 15
Posts: 1343
Credit: 25,169,002
RAC: 23,300
Message 30972 - Posted: 23 Jun 2017, 13:29:21 UTC - in response to Message 30966.  

I think vbox doesn't like the pc shutdown, because sometime (the next morning) i got a "computational error", only in the LHC vbox project.

Normally, this should not happen - but in general, I think vbox doesn't like too much interrupted operation (by shutdown and switch on later).
ID: 30972 · Report as offensive     Reply Quote
ivan
Volunteer moderator
Project tester
Volunteer developer
Volunteer tester
Project scientist
Avatar

Send message
Joined: 29 Aug 05
Posts: 750
Credit: 5,688,626
RAC: 0
Message 30980 - Posted: 23 Jun 2017, 17:19:14 UTC - in response to Message 30972.  
Last modified: 23 Jun 2017, 17:19:45 UTC

I think vbox doesn't like the pc shutdown, because sometime (the next morning) i got a "computational error", only in the LHC vbox project.

Normally, this should not happen - but in general, I think vbox doesn't like too much interrupted operation (by shutdown and switch on later).

We've tried to make the VMs (CMS at least) fairly resilient to interruptions, but it really should be a managed interruption. Shutdown BOINC (either via boincmgr or the ./boinccmd --quit command), and then watch in Task Manager or similar (top/htop on Linux or Mac) to make sure that all VBox instances have shut down cleanly, which involves writing their memory state to disk and could take a minute or two.
ID: 30980 · Report as offensive     Reply Quote
Profile Yeti
Volunteer moderator
Avatar

Send message
Joined: 2 Sep 04
Posts: 421
Credit: 105,156,722
RAC: 63,976
Message 31018 - Posted: 24 Jun 2017, 12:33:39 UTC

When I have time to shutdown I open my BOINC and force "shutdown connected client".

This gives my VB-Projects a lit bit more time to shut down gracefully.

The more VB-Projects are running, the more time it needs to save all to disc.

A second way would be to make a short script that first shuts down the BOINC-Client, waits a little bit and then shuts down your Laptop


Supporting BOINC, a great concept !
ID: 31018 · Report as offensive     Reply Quote

Message boards : Number crunching : LHC@home and pc shutdown (vbox)


©2021 CERN