LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tips for setting up VirtualBox?

Solved!
Go to solution

I've been using VirtualBox to sequester different versions of LabVIEW (usually much older ones) that some of our test systems are using. But, it always to run very slowly and with a lot of lag, so I wouldn't want to do much more than fix small bugs. Does anyone have any tips for VirtualBox settings to get LabVIEW to run smoothly? I give it the following resources:

 

32GB of RAM (half of my system's RAM)

128MB video memory (max allowed)

14 processor cores (max allowed)

 

Is there anything else I should look into?

Gregory_0-1754669755766.png

 

0 Kudos
Message 1 of 11
(532 Views)

I've been using VirtualBox for many years and haven't seen performance issues, but there are always variables.

 

Is the IDE slow or is it just when running an application?

How resource intensive is your application?

 

Some Ideas:

 

- I don't know the impact Windows 11 may have - I have only used Win 10 so far.

- Check that there are no pending OS updates

- Make sure you have a few Gbs of hard disk free

- Try not scaling the video

- Try reducing the number of cores used (this is a WAG)

 

Open the Task Manager - Performance-> Logical Processors to see if any cores are saturated

Check Disk and Ethernet for unexpected activity.

----------------------------------------------------------------------------------------------------------------
Founding (and only) member of AUITA - the Anti UI Thread Association.
----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 11
(482 Views)
Solution
Accepted by Gregory

The Hyper-V virtualisation is going to kill your performance.

 

There are plenty of online places to look with regard to fixing this, just google it.

 

You're essentially handicapping any amount of hardware support for virtualisation, that's probably a large part of why it's not running well.

 

Also: Don't give the VM all the cores, that will be seriously detrimental to your PCs performance and even to the VMs performance. Keep at least 2 cores for the host.

0 Kudos
Message 3 of 11
(447 Views)

Oh wait, I was maybe a bit too quick with my response.

 

Hyper-V is only problematic if it's active. If active and its slowing down your machine,t here should be a little green turtle visible in the Virtualbox taskbar.

 

https://superuser.com/questions/1778061/green-turtle-snail-mode-slow-performance-indicator-on-virtua...

 

If you exit full screen mode, you will see a taskbar on the bottom right of the virtualbox window. If you see a green turtle there, the paravirtualisation interface might be the problem.-

 

Here's ho mine looks: Notice no green turtle

Intaris_0-1754908300314.png

 

0 Kudos
Message 4 of 11
(430 Views)

I'd lower the given resources so you don't starve your normal system. 8Gb memory, 4 cpu but a bit more graphics memory (1Gb?)

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 5 of 11
(412 Views)

Thank you all for the suggestions. Just booting up VirtualBox is very slow. The LabVIEW applications I've tried to open are pretty small and not resource intensive.

 

I've tried all the steps to get rid of the green turtle, but he still sits there mocking me. Looks like my task for the day will be to get rid of him!

0 Kudos
Message 6 of 11
(377 Views)

Thanks all, I followed Intaris' suggestion of getting rid of the green turtle. It seems like different things work for different people. What did it for me was following the directions in this post to turn off virtualization based security.

https://forums.virtualbox.org/viewtopic.php?p=547662#p547662

 

The VM is very snappy now, thank you!

Message 7 of 11
(370 Views)

@Gregory wrote:

Thanks all, I followed Intaris' suggestion of getting rid of the green turtle. It seems like different things work for different people. What did it for me was following the directions in this post to turn off virtualization based security.

https://forums.virtualbox.org/viewtopic.php?p=547662#p547662

 

The VM is very snappy now, thank you!


The "Different things work for different people" is why I didn't provide any actual links. It seems to be a bit of black magic working out what works on any given system. Glad you got it working.

Message 8 of 11
(327 Views)
Unfortunately the turtle came back after a restart, I guess I have to try some more stuff
0 Kudos
Message 9 of 11
(244 Views)

I was able to get rid of the turtle again, we'll see how long it lasts. I opened up "System Info". Look under Virtualization-based security, and if it's running, turn off item by item until they are all turned off.

Gregory_0-1755122503822.png

 

Message 10 of 11
(231 Views)