Message boards : Number crunching : Some machines will not run VirtualBox tasks
Author | Message |
---|---|
dcdc Send message Joined: 3 Nov 05 Posts: 1831 Credit: 119,603,398 RAC: 11,044 |
Hi everyone I have a new-to-me PC (Dell Optiplex 3040, Pentium dual core G4500 Skylake gen CPU, 16GB DDR3L RAM, Kingston 120GB SSD) and I've tried Windows 10, Ubuntu 20.04 and Windows 11. It will run other non-VirtualBox projects fine. I haven't tried any VB projects other than Rosetta until now, but it is currently happily running an LHC VB task on both cores at ~75% CPU utilisation so that looks good. It will download and start to run VirtualBox Rosetta tasks, but they never complete and CPU utilisation rarely rises above ~2% according to BOINCTasks which is backed up by task manager when I look at the machine. Any ideas what might be wrong? The machine seems completely stable. It had the same issues under Ubuntu as it does under Windows. And I have a another machine that behaves exactly the same - that's an old Dell dual CPU server (Poweredge R410) which I've also tried Win10 and Ubuntu on. I tend to log in via Remote Desktop on this machine, but I didn't when it was running Ubuntu as I hadn't set that up yet. Windows memory diagnostic hasn't detected any RAM errors, and I've tried resetting the project multiple times. I'm wondering if it might be due to: * the SSD * the CPU - temperatures are around ~40°C whilst it's running an LHC VB task. * RAM - it passes the Windows Memory Diagnostic * a setting in FW. The Leomoon app says that everything is enabled for virtualisation to work. * Just very unlucky with the tasks it's getting? * something else? I'm running out of ideas! I'm tempted to move a hard drive from a working machine over to it to see if it runs the tasks in the other PC's queue. |
Grant (SSSF) Send message Joined: 28 Mar 20 Posts: 1679 Credit: 17,818,136 RAC: 22,782 |
It will download and start to run VirtualBox Rosetta tasks, but they never complete and CPU utilisation rarely rises above ~2% according to BOINCTasks which is backed up by task manager when I look at the machine.It's a known issue with some Tasks. Aborting them seems to be the standard practice. Grant Darwin NT |
dcdc Send message Joined: 3 Nov 05 Posts: 1831 Credit: 119,603,398 RAC: 11,044 |
I've done that plenty on all of my machines, but this one never gets any VBox tasks that run correctly. It could be down to chance, but seems unlikely at this point. I would guess it's been through 40 tasks, and none have been successful. |
dcdc Send message Joined: 3 Nov 05 Posts: 1831 Credit: 119,603,398 RAC: 11,044 |
Ok, so it ran an LHC Virtualbox task successfully, and then has gone on to start 2x Rosetta Vbox tasks, both of which were sat at 2% CPU utilisation. I don't think it can just be coincidence at this point. |
computezrmle Send message Joined: 9 Dec 11 Posts: 63 Credit: 9,680,103 RAC: 0 |
After a quick view through one of your logs: https://boinc.bakerlab.org/rosetta/result.php?resultid=1464188756 It looks like the VM starts executing some services, including the internal VBoxGuestAdditions which is required to mount the shared folder on the host. After that the VM should read task details from the shared folder and set up the task. This is not shown in the log. What can be wrong: - the task definition file in the shared folder (delivered by the project) - the VM can't read the files in the shared folder - some other weird things causing the VM to crash How to check the latter: - Open the VirtualBox GUI and select the VM you want to check. In case of a crash the small preview might show a hint. - The vbox log deeper in the slots folder may include some hints You may discuss that with the VirtualBox forum experts BTW: The 2nd line indicates a VM restart. 2022-01-19 14:56:54 (8764): Guest Log: 00:00:00.001693 main 5.2.42 r137960 started. Verbose level = 0 2022-01-19 15:40:22 (7404): Detected: vboxwrapper 26202 |
tullio Send message Joined: 10 May 20 Posts: 63 Credit: 630,125 RAC: 0 |
Once I could not run some LHC tasks like Theory@home and CMS@home. I had a McAfee antivirus. When I deinstalled it all tasks started running. Tullio |
dcdc Send message Joined: 3 Nov 05 Posts: 1831 Credit: 119,603,398 RAC: 11,044 |
Thanks computezrmle and tullio. I've tried installing an AV (AVG) and uninstalling it again, updating the Windows drivers, updating the BIOS, resetting Rosetta and reinstalling BOINC. There is a relevant but not conclusive thread here about the same issue: https://forums.virtualbox.org/viewtopic.php?f=6&t=104968&p=511914&hilit=boinc#p511914 When I get chance I'm going to take the advice from that thread and install a debian image in a new Virtualbox instance and see how that goes. |
tullio Send message Joined: 10 May 20 Posts: 63 Credit: 630,125 RAC: 0 |
I started Rosetta@home on my AMD Ryzen 5 1400 CPU with 24 GB RAM but only 10 GB disk free for BOINC, so in won't run rosetta python. Of 5 Rosetta tasks 3 failed immediately aftar starting, two are running with a D8.15_nme3 string in their name that the other 3 did not have.. On the Intel i5 9400F CPU no task failed so far, either Rosetta or rosetta python. Tullio Comment in the 3 failed tasks: STATUS_ACCESS_VIOLATION |
computezrmle Send message Joined: 9 Dec 11 Posts: 63 Credit: 9,680,103 RAC: 0 |
Just a test. In a Rosetta python slots folder locate "vbox_job.xml". This file contains a softlink to the original "vbox_job.xml" delivered by the project (it has a different name!). Make a backup of the original file and edit the original file. The following tags should be modified or added: <enable_isocontextualization>0</enable_isocontextualization> <disable_automatic_checkpoints/> <enable_remotedesktop>1</enable_remotedesktop> (not 100% sure if this works for Rosetta; if not, remove the tag) <vm_disk_controller_model>IntelAHCI</vm_disk_controller_model> <vm_disk_controller_type>sata</vm_disk_controller_type> In case the VM doesn't even boot, remove the disk controller tags. Then run a fresh task. |
computezrmle Send message Joined: 9 Dec 11 Posts: 63 Credit: 9,680,103 RAC: 0 |
... the original "vbox_job.xml" delivered by the project (it has a different name!). Maybe somebody running those pythons could post the content of the xml file. |
dcdc Send message Joined: 3 Nov 05 Posts: 1831 Credit: 119,603,398 RAC: 11,044 |
... the original "vbox_job.xml" delivered by the project (it has a different name!). I've just checked a few slots and that file is the same in all of them: <soft_link>../../projects/boinc.bakerlab.org_rosetta/vbox_job_v4.xml</soft_link> And that file exists in the projects/boinc.bakerlab.org/rosetta folder and contains this: <vbox_job> <memory_size_mb>6144</memory_size_mb> <os_name>Debian_64</os_name> <enable_shared_directory/> </vbox_job> That's the same content on a good and bad machine. |
dcdc Send message Joined: 3 Nov 05 Posts: 1831 Credit: 119,603,398 RAC: 11,044 |
Just a test. Have tried this - will report back later. |
dcdc Send message Joined: 3 Nov 05 Posts: 1831 Credit: 119,603,398 RAC: 11,044 |
The tasks are still sitting idle unfortunately. |
computezrmle Send message Joined: 9 Dec 11 Posts: 63 Credit: 9,680,103 RAC: 0 |
I tested the python app on one of my computers. So far the app does everything to avoid a user to test own settings in vbox_job.xml or use another vboxwrapper. It would be possible but it's not worth the effort since at the end of the day the project team would have to accept change requests and distribute a new version. Reading other posts in this forum make me assume the team would ignore this. Sorry guys, I'm out. |
dcdc Send message Joined: 3 Nov 05 Posts: 1831 Credit: 119,603,398 RAC: 11,044 |
I've added some more info on the Virtualbox forum thread here: https://forums.virtualbox.org/viewtopic.php?f=6&t=104968&p=511914&hilit=boinc#p511914 |
Jim1348 Send message Joined: 19 Jan 06 Posts: 881 Credit: 52,257,545 RAC: 0 |
It would be possible but it's not worth the effort since at the end of the day the project team would have to accept change requests and distribute a new version. Exactly so. They are impervious to information. |
computezrmle Send message Joined: 9 Dec 11 Posts: 63 Credit: 9,680,103 RAC: 0 |
Access Error: UUID {ef35dff9-d482-48f8-9519-fef6c1b23a3b} of the medium 'C:ProgramDataBOINCslots3vm_image.vdi' does not match the value {9cb7b2ea-5a86-4be3-9a8c-3017ec7a8c71} stored in the media registry ('C:UsersDanny.VirtualBoxVirtualBox.xml') Type: normal (base) Location: C:ProgramDataBOINCslots3vm_image.vdi This means one of the tasks crashed some time in the past and VirtualBox didn't get a chance to clean up the media registry. Stop BOINC to avoid it would try again to set up a task in slots/3. Open your VirtualBox GUI and call the media manager. Remove the disk entry pointing to slots3vm_image.vdi Then restart BOINC |
dcdc Send message Joined: 3 Nov 05 Posts: 1831 Credit: 119,603,398 RAC: 11,044 |
Access Error: UUID {ef35dff9-d482-48f8-9519-fef6c1b23a3b} of the medium 'C:ProgramDataBOINCslots3vm_image.vdi' does not match the value {9cb7b2ea-5a86-4be3-9a8c-3017ec7a8c71} stored in the media registry ('C:UsersDanny.VirtualBoxVirtualBox.xml') Type: normal (base) Location: C:ProgramDataBOINCslots3vm_image.vdi I've done that, but only picked up a batch of Rosetta 4.20 tasks so far. Hopefully some Vbox tasks will come down soon. |
dcdc Send message Joined: 3 Nov 05 Posts: 1831 Credit: 119,603,398 RAC: 11,044 |
Unfortunately the python tasks still dropped to 0% CPU utilisation within the first minute. I also tried upgrading to the new release of VirtualBox (6.1.32) and grabbed some fresh python tasks but no improvement. I'll have to leave the affected machines running other projects for now. |
dcdc Send message Joined: 3 Nov 05 Posts: 1831 Credit: 119,603,398 RAC: 11,044 |
I have just posted this on the VirtualBox forums (here): I've confirmed on some more machines - those that work correctly have a path listed under "Settings File Location" and those that don't run the Vbox tasks do not have that entry. So presumably they are failing because they can't see the task they are supposed to run. Can anyone else confirm this is the case? To view the Vbox instance's Details: * open VirtualBox manager from the start menu (in Windows at least!) * In the list on the left, hit the three dots/lines icon to the right of that instance, and choose "Details" You should see "Settings File Location" listed under "General". If you don't see that, my assumption is that BOINC Vbox tasks will always fail and CPU utilisation will drop to 0% after around 30s on my machines (I suspect that duration is dependant on your disk speed), and if you do, they will generally run ok but with some failures. Or is it just that the BOINC script isn't getting far enough to set a settings location from within the Vbox? D |
Message boards :
Number crunching :
Some machines will not run VirtualBox tasks
©2024 University of Washington
https://www.bakerlab.org