Questions and Answers : Unix/Linux : arch linux virtual box
Message board moderation

To post messages, you must log in.

AuthorMessage
Bas

Send message
Joined: 14 Sep 17
Posts: 17
Credit: 305,149
RAC: 0
Message 34567 - Posted: 10 Mar 2018, 17:21:55 UTC

Running arch linux

Installed virtualbox 5.2.8-1
virtualbox-host-modules-arch 5.2.8-3

Atlas task are downloaded but end in error. Now what?
ID: 34567 · Report as offensive     Reply Quote
Bas

Send message
Joined: 14 Sep 17
Posts: 17
Credit: 305,149
RAC: 0
Message 34568 - Posted: 10 Mar 2018, 17:24:38 UTC - in response to Message 34567.  

"Output file absent" in log
ID: 34568 · Report as offensive     Reply Quote
Bas

Send message
Joined: 14 Sep 17
Posts: 17
Credit: 305,149
RAC: 0
Message 34569 - Posted: 10 Mar 2018, 17:34:27 UTC - in response to Message 34568.  

You know what, I felt incredibly dirty installing this oracle crap, I'm outta here.
ID: 34569 · Report as offensive     Reply Quote
tullio

Send message
Joined: 19 Feb 08
Posts: 702
Credit: 4,242,167
RAC: 162
Message 34570 - Posted: 10 Mar 2018, 19:22:42 UTC

VirtualBox 5.2.8 works in Atlas tasks on my two Linux boxes with SuSE Linux Leap 42.2.
Tullio
ID: 34570 · Report as offensive     Reply Quote
Bas

Send message
Joined: 14 Sep 17
Posts: 17
Credit: 305,149
RAC: 0
Message 34571 - Posted: 10 Mar 2018, 19:40:58 UTC - in response to Message 34570.  

I'm sure it will run on my Arch boxes, but it seems there is some configuration necessary. Maybe it has to do with permissions I don't now. But unless someone is going to spoon-feed this to me, I'm pointing my processors somewhere else.
ID: 34571 · Report as offensive     Reply Quote
computezrmle
Volunteer moderator
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 15 Jun 08
Posts: 1992
Credit: 143,507,656
RAC: 92,586
Message 34572 - Posted: 10 Mar 2018, 20:09:59 UTC - in response to Message 34571.  

I'm sure it will run on my Arch boxes, but it seems there is some configuration necessary. Maybe it has to do with permissions I don't now. But unless someone is going to spoon-feed this to me, I'm pointing my processors somewhere else.

Your logs show that you ran only Sixtrack and ATLAS (native).
Both don't need VirtualBox.
In case of ATLAS you would get tasks for "vbox64_mt_mcore_atlas" once your BOINC client has discovered VirtualBox.

Are you sure your VirtualBox is correctly installed?
You may work through Yeti's checklist to avoid pitfalls.
ID: 34572 · Report as offensive     Reply Quote
Bas

Send message
Joined: 14 Sep 17
Posts: 17
Credit: 305,149
RAC: 0
Message 34573 - Posted: 10 Mar 2018, 20:24:38 UTC - in response to Message 34572.  

Ok thanks, Yeti's checklist said something about extensions, so now I installed these:

libvncserver-0.9.11-2 virtualbox-5.2.8-1 virtualbox-ext-vnc-5.2.8-1 virtualbox-host-modules-arch-5.2.8-3

I'll let you know how it goes...
ID: 34573 · Report as offensive     Reply Quote
Bas

Send message
Joined: 14 Sep 17
Posts: 17
Credit: 305,149
RAC: 0
Message 34574 - Posted: 10 Mar 2018, 20:38:28 UTC - in response to Message 34573.  

Boinc thinks virtualbox isn't installed:

cat /var/lib/boinc/stdoutdae.txt | grep -i virtual

10-Mar-2018 21:30:29 [LHC@home] VirtualBox is not installed
ID: 34574 · Report as offensive     Reply Quote
Bas

Send message
Joined: 14 Sep 17
Posts: 17
Credit: 305,149
RAC: 0
Message 34575 - Posted: 10 Mar 2018, 21:11:06 UTC - in response to Message 34572.  

Your logs show that you ran only Sixtrack and ATLAS (native).
Both don't need VirtualBox.


I'm sure those atlas tasks only showed up after I installed virtualbox. But then again, the logs said that virtualbox wasn't installed...

Maybe I'll try again tomorrow, maybe not.
ID: 34575 · Report as offensive     Reply Quote
mmonnin

Send message
Joined: 22 Mar 17
Posts: 51
Credit: 7,153,366
RAC: 1
Message 34576 - Posted: 10 Mar 2018, 23:36:33 UTC - in response to Message 34575.  

Your logs show that you ran only Sixtrack and ATLAS (native).
Both don't need VirtualBox.


I'm sure those atlas tasks only showed up after I installed virtualbox. But then again, the logs said that virtualbox wasn't installed...

Maybe I'll try again tomorrow, maybe not.


Native atlas doesn't require Vbox. Instead of including everything in a .vdi the native app puts those requirements on the user if they wish to not use vbox. Please read this thread for some info on how to get it all setup. I haven't done so myself as even vbox is easier.
https://lhcathome.cern.ch/lhcathome/forum_thread.php?id=4396

After vbox is installed, the BOINC client must be restarted. VBox detection is done at client startup.

Native apps can be disabled by unselecting test apps.

Your sixtrack tasks are validating, no need to abort those.

If you do wish to run Atlas, they run most efficient at 3-5 threads with an app_config file.
ID: 34576 · Report as offensive     Reply Quote
computezrmle
Volunteer moderator
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 15 Jun 08
Posts: 1992
Credit: 143,507,656
RAC: 92,586
Message 34578 - Posted: 11 Mar 2018, 9:06:15 UTC - in response to Message 34576.  

+1 to all your comments, except:
mmonnin wrote:
If you do wish to run Atlas, they run most efficient at 3-5 threads ...

The VMs run through a startup phase and a shutdown phase where only 1 core is used and all other cores remain idle.

Those total idle times become more relevant for WUs with short calculation phases together with a slow internet connection.
WUs with long calculation phases together with a fast internet connection will be less affected.

Thus, a singlecore setup will be most efficient.
Of cource, there may be other reasons to run multicore VMs. e.g. a single 5core would need much less total RAM than 5 singlecores.
ID: 34578 · Report as offensive     Reply Quote
mmonnin

Send message
Joined: 22 Mar 17
Posts: 51
Credit: 7,153,366
RAC: 1
Message 34581 - Posted: 11 Mar 2018, 13:06:14 UTC - in response to Message 34578.  

+1 to all your comments, except:
mmonnin wrote:
If you do wish to run Atlas, they run most efficient at 3-5 threads ...

The VMs run through a startup phase and a shutdown phase where only 1 core is used and all other cores remain idle.

Those total idle times become more relevant for WUs with short calculation phases together with a slow internet connection.
WUs with long calculation phases together with a fast internet connection will be less affected.

Thus, a singlecore setup will be most efficient.
Of cource, there may be other reasons to run multicore VMs. e.g. a single 5core would need much less total RAM than 5 singlecores.


I was referencing David Cameron's post here:
https://lhcathome.cern.ch/lhcathome/forum_thread.php?id=4479&postid=32802#32802

A single thread is 5th most efficient.
ID: 34581 · Report as offensive     Reply Quote
computezrmle
Volunteer moderator
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 15 Jun 08
Posts: 1992
Credit: 143,507,656
RAC: 92,586
Message 34584 - Posted: 11 Mar 2018, 17:00:19 UTC - in response to Message 34581.  

An answer may be better located in this thread.
ID: 34584 · Report as offensive     Reply Quote
Bas

Send message
Joined: 14 Sep 17
Posts: 17
Credit: 305,149
RAC: 0
Message 34585 - Posted: 11 Mar 2018, 19:21:51 UTC - in response to Message 34584.  

I got vbox working with the help of yeti's checklist and the Arch Linux VirtualBox documentation, thanks everyone!

I'll check the threads discussion, at the moment the Atlas task is only using 1 of 8 available threads... oh wait here we go 780% CPU that's more like it.
ID: 34585 · Report as offensive     Reply Quote

Questions and Answers : Unix/Linux : arch linux virtual box


©2022 CERN