Message boards : Number crunching : vboxwrapper issue
Message board moderation

To post messages, you must log in.

Previous · 1 · 2

AuthorMessage
Crystal Pellet
Volunteer tester

Send message
Joined: 13 Feb 15
Posts: 1185
Credit: 848,685
RAC: 1,837
Message 1231 - Posted: 12 Oct 2015, 15:58:49 UTC - in response to Message 1227.  

In the slot directory you will find a floppy image file. This is attached to the VM and the user information can then be read from /dev/fd0.

The vm_floppy_X.img was present where the user info couldn't be read.
As I wrote it was solved by a VM-boot.
With getting a new BOINC-task it wasn't an issue either.

Vboxwrapper 26175 is running fine and doesn't need to rewrite vbox.log in the slot directory every minute anymore.
Vbox.log in the slotdir is gone. So disk i/o's are drastically reduced.
Meanwhile the Linux and Mac versions of the new vboxwrapper are available too.
ID: 1231 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Rasputin42
Volunteer tester

Send message
Joined: 16 Aug 15
Posts: 966
Credit: 1,211,816
RAC: 0
Message 1232 - Posted: 12 Oct 2015, 16:22:08 UTC - in response to Message 1231.  
Last modified: 12 Oct 2015, 16:33:49 UTC

Vboxwrapper 26175 is running fine and doesn't need to rewrite vbox.log in the slot directory every minute anymore.


Hi Crystal Pellet,
where can i get this new wrapper?

Found it.
How do i implement this into the cms-dev project?
Do i just replace the *.exe and *.pdb wrapper files in the project folder?
ID: 1232 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Crystal Pellet
Volunteer tester

Send message
Joined: 13 Feb 15
Posts: 1185
Credit: 848,685
RAC: 1,837
Message 1233 - Posted: 12 Oct 2015, 17:18:48 UTC - in response to Message 1232.  

Vboxwrapper 26175 is running fine and doesn't need to rewrite vbox.log in the slot directory every minute anymore.

How do i implement this into the cms-dev project?
Do i just replace the *.exe and *.pdb wrapper files in the project folder?

You have to run it anonymously with an app_info.xml file in the project directory with the new version files together with the files mentioned in the app_info.xml and already present.
Save the needed files first to a save location and reset the CMS-dev project.
Stop BOINC, copy the needed files and the app_info.xml into the project-dir and restart BOINC.

The contents of app_info.xml:

<app_info>
<app>
<name>CMS</name>
<user_friendly_name>CMS Simulation</user_friendly_name>
</app>
<file_info>
<name>vboxwrapper_26175_windows_x86_64.exe</name>
<executable/>
</file_info>
<file_info>
<name>vboxwrapper_26175_windows_x86_64.pdb</name>
</file_info>
<file_info>
<name>CMS_2015_03_13.vdi</name>
</file_info>
<file_info>
<name>CMS_05_08_2015.xml</name>
</file_info>
<app_version>
<app_name>CMS</app_name>
<version_num>26175</version_num>
<platform>windows_x86_64</platform>
<avg_ncpus>1.000000</avg_ncpus>
<max_ncpus>1.000000</max_ncpus>
<plan_class>vbox64</plan_class>
<api_version>7.5.0</api_version>
<file_ref>
<file_name>vboxwrapper_26175_windows_x86_64.exe</file_name>
<main_program/>
</file_ref>
<file_ref>
<file_name>vboxwrapper_26175_windows_x86_64.pdb</file_name>
</file_ref>
<file_ref>
<file_name>CMS_2015_03_13.vdi</file_name>
<open_name>vm_image.vdi</open_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>CMS_05_08_2015.xml</file_name>
<open_name>vbox_job.xml</open_name>
</file_ref>
<dont_throttle/>
<needs_network/>
</app_version>
</app_info>
ID: 1233 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Rasputin42
Volunteer tester

Send message
Joined: 16 Aug 15
Posts: 966
Credit: 1,211,816
RAC: 0
Message 1234 - Posted: 12 Oct 2015, 18:02:27 UTC - in response to Message 1233.  

Thanks very much, Crystal Pellet!
This issue has been bugging me a lot.

I will try it and let you know.
ID: 1234 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile ivan
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar

Send message
Joined: 20 Jan 15
Posts: 1129
Credit: 7,920,398
RAC: 2,619
Message 1242 - Posted: 13 Oct 2015, 14:05:53 UTC

I asked Laurence to make a release with this wrapper -- see News item. vboxwrapper 26175 is now the standard version.
ID: 1242 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile PDW

Send message
Joined: 20 May 15
Posts: 217
Credit: 5,774,411
RAC: 17,522
Message 1243 - Posted: 13 Oct 2015, 14:19:43 UTC - in response to Message 1242.  

I asked Laurence to make a release with this wrapper -- see News item. vboxwrapper 26175 is now the standard version.

Excellent, thanks to everyone for getting this done :-)
ID: 1243 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Rom Walton (BOINC)

Send message
Joined: 20 Mar 15
Posts: 14
Credit: 5,132
RAC: 0
Message 1244 - Posted: 13 Oct 2015, 15:38:13 UTC - in response to Message 1227.  

In the slot directory you will find a floppy image file. This is attached to the VM and the user information can then be read from /dev/fd0.

Although the cron sleeps for 1 hour, the next cron job is run. I guess this is a bug :(


I don't know if this is still the case or not. At one time there was a bug in the readFloppy.pl script run within the guest VM where it would fail if /dev/fd0 was read-only.

IIRC, it was line 58, where it attempted to open the device and perform some in-place memory modifications.

I don't know what was triggering /dev/fd0 to become read-only. It happened on a previous dev box of mine. I haven't checked against my current dev box.
ID: 1244 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Rasputin42
Volunteer tester

Send message
Joined: 16 Aug 15
Posts: 966
Credit: 1,211,816
RAC: 0
Message 1245 - Posted: 13 Oct 2015, 15:38:38 UTC
Last modified: 13 Oct 2015, 15:50:10 UTC

That was implemented very quickly .
I am impressed.
It also appears to be working for ATLAS.
Thanks everyone involved for getting this fixed.

It will be interesting to see, how long it is going to take, until ATLAS is using it.
ID: 1245 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Rasputin42
Volunteer tester

Send message
Joined: 16 Aug 15
Posts: 966
Credit: 1,211,816
RAC: 0
Message 1249 - Posted: 15 Oct 2015, 14:57:50 UTC
Last modified: 15 Oct 2015, 15:17:43 UTC

Does anyone know, where to find the version history or release notes for the vboxwrappers?

Never mind, found it.
ID: 1249 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Previous · 1 · 2

Message boards : Number crunching : vboxwrapper issue


©2024 CERN