What tasks aren't suiteable for Virtual Machines

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
Immemorial
Level 1
Level 1
Posts: 22
Joined: Sat Jan 27, 2018 7:58 am

What tasks aren't suiteable for Virtual Machines

Post by Immemorial » Thu Feb 01, 2018 11:09 am

I've been wondering about what tasks are unlikely to work properly when using a virtual machine in Linux Mint 18.3. Can someone tell me if there are any (types of) applications that seem particulary problematic or just flat out don't work as they should (or that need a incredible amount of RAM - i.e. much more than they should normally need - to actually work)?

Thanks in advance.

Rocky Bennett
Level 4
Level 4
Posts: 386
Joined: Tue May 12, 2015 6:22 pm

Re: What tasks aren't suiteable for Virtual Machines

Post by Rocky Bennett » Thu Feb 01, 2018 3:01 pm

Audio/video tasks might not work to well. Improper privileges and not enough resources are the main reasons why. You can set up the privileges easy enough, but the resources are physical.

User avatar
thx-1138
Level 6
Level 6
Posts: 1245
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: What tasks aren't suiteable for Virtual Machines

Post by thx-1138 » Thu Feb 01, 2018 3:17 pm

And stuff that requires 'raw access' to the underlying hardware, eg. you can't modify and/or update (the actual) BIOS from inside a VM...

trapperjohn
Level 5
Level 5
Posts: 814
Joined: Wed Jul 11, 2012 4:10 pm
Contact:

Re: What tasks aren't suiteable for Virtual Machines

Post by trapperjohn » Thu Feb 01, 2018 4:03 pm

Hi,

In production environments I have found that SQL servers underperform on VMs. Network Available Storage too.

I don't have any benchmarks... other than complaint frequency.

User avatar
Termy
Level 5
Level 5
Posts: 762
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: What tasks aren't suiteable for Virtual Machines

Post by Termy » Thu Feb 01, 2018 5:08 pm

It depends on the setup, the VM software used, the VM settings, and the host hardware. In my experience, with a pretty decent rig, and a well set up VirtualBox, my Mint 18.2 and Mint 18.3 VMs work very well, with the one caveat (as with VBox), being that video performance is terrible. So if you want to do something which is graphically intensive, a VM isn't ordinarily your solution, although I've heard VMware is good, and that GPU Passthrough or whatever it is, is good, even for games. YMMV, I guess.
Here to help.

I'm LearnLinux (LL) on YouTube: https://www.youtube.com/channel/UCfp-lN ... naEE6NtDSg
I'm also terminalforlife (TFL) on GitHub: https://github.com/terminalforlife

Petermint
Level 4
Level 4
Posts: 459
Joined: Tue Feb 16, 2016 3:12 am

Re: What tasks aren't suiteable for Virtual Machines

Post by Petermint » Thu Feb 01, 2018 10:51 pm

You do not say why you need a VM. There are many situations where people recommend VMs for tasks that can run as native applications, under Wine, or as a dual boot. From my experience:
Native applications are best.
Wine rarely works but is way better than a VM when it does work.
Dual boot is far more reliable and is useful when you are working in the other system for hours at a time.

The last choice, a VM, is usually reserved for emulating an external system and often fails to do that.

Hoser Rob
Level 12
Level 12
Posts: 4325
Joined: Sat Dec 15, 2012 8:57 am

Re: What tasks aren't suiteable for Virtual Machines

Post by Hoser Rob » Fri Feb 02, 2018 8:23 am

I certainly wouldn't want to run Gimp or some large game in a VM unless it was on a very serious piece of hardware. Unfortunately, running games in a Windows VM is exactly the sort of thing you'd want to do if you were a gamer. Fortunately for me I'm not or I'd still have Windows.

User avatar
Termy
Level 5
Level 5
Posts: 762
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: What tasks aren't suiteable for Virtual Machines

Post by Termy » Fri Feb 02, 2018 8:53 am

Hoser Rob wrote:I certainly wouldn't want to run Gimp or some large game in a VM unless it was on a very serious piece of hardware. Unfortunately, running games in a Windows VM is exactly the sort of thing you'd want to do if you were a gamer. Fortunately for me I'm not or I'd still have Windows.
For funsies, I decided to install and load up GIMP on my Linux Mint 18.3 VirtualBox VM, with Cinnamon. It was a bit laggy when, for example, I painted stuff, but using filter effects and what-not loaded up just fine. I guess the processing is fine, but visually displaying things was laggy. To be expected, I guess, since it's in software rendering mode, as Mint cautions. I can play videos in YouTube, but they're a lil laggy.
Here to help.

I'm LearnLinux (LL) on YouTube: https://www.youtube.com/channel/UCfp-lN ... naEE6NtDSg
I'm also terminalforlife (TFL) on GitHub: https://github.com/terminalforlife

Petermint
Level 4
Level 4
Posts: 459
Joined: Tue Feb 16, 2016 3:12 am

Re: What tasks aren't suiteable for Virtual Machines

Post by Petermint » Fri Feb 02, 2018 6:39 pm

VMs use from 15% overhead up to 60% or more depending on what you emulate and what you leave to hardware. The high end could be emulating a different processor or a graphics chip. You are back to looking at what the application needs, what the hardware provides, and what the VM may decide to emulate even if it exists in the hardware.

For security, you might decide to emulate I/O instead of letting the application use native I/O.

RobertService
Level 2
Level 2
Posts: 96
Joined: Wed Sep 03, 2014 9:36 am

Re: What tasks aren't suiteable for Virtual Machines

Post by RobertService » Sat Feb 03, 2018 2:28 pm

So, with all the negatives listed here, can someone please give a good, solid engineering and computer-science-related reason why anyone would want to use a virtual machine?
An example detailing how the use of a VM makes you more productive in your day-to-day work would be the most convincing and compelling.

User avatar
Pjotr
Level 20
Level 20
Posts: 10960
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: What tasks aren't suiteable for Virtual Machines

Post by Pjotr » Sat Feb 03, 2018 2:33 pm

RobertService wrote:So, with all the negatives listed here, can someone please give a good, solid engineering and computer-science-related reason why anyone would want to use a virtual machine?
- Testing various operating systems, including alpha's and bèta's;
- Updating my TomTom navigation device (needs Windows).
Tip: 10 things to do after installing Linux Mint 19 Tara
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

Petermint
Level 4
Level 4
Posts: 459
Joined: Tue Feb 16, 2016 3:12 am

Re: What tasks aren't suiteable for Virtual Machines

Post by Petermint » Sat Feb 03, 2018 4:13 pm

You can develop for ARM on your Intel processor. You could have a VM for each of the many different types of ARM processor. You can test your Web site using several versions of every Web browser including the difficult ones, Chrome and Internet Exploder.

Rocky Bennett
Level 4
Level 4
Posts: 386
Joined: Tue May 12, 2015 6:22 pm

Re: What tasks aren't suiteable for Virtual Machines

Post by Rocky Bennett » Fri Feb 09, 2018 4:57 pm

Immemorial wrote:
Thu Feb 01, 2018 11:09 am
I've been wondering about what tasks are unlikely to work properly when using a virtual machine in Linux Mint 18.3. Can someone tell me if there are any (types of) applications that seem particulary problematic or just flat out don't work as they should (or that need a incredible amount of RAM - i.e. much more than they should normally need - to actually work)?

Thanks in advance.


Have you figured this out yet?

Post Reply

Return to “Newbie Questions”