LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 05-22-2015, 03:44 PM   #1
wagscat123
Member
 
Registered: Jan 2009
Location: Maryland-Pennsylvania border, USA
Distribution: openSUSE 15.2/15.3, Tumbleweed, Kubuntu 18.04/21.04, macOS 10.15, antiX 19, and Linux Mint 19.3
Posts: 860
Blog Entries: 45

Rep: Reputation: 120Reputation: 120
Virtual machine or old hardware better?


Hi all,

I'm trying to figure out whether it is better for me to run a specialist science program on a machine that's about 4 years old or in a virtual machine (via VirtualBox) on a relatively new Mac from mid-2014. Which system do you think would likely provide superior performance, as this utility will be CPU heavy? The OS will vary between Windows and Linux but will be 64-bit either way.

Due to weird licensing constraints and CPU and OS requirements, I can't run the program natively on the newer computer.

Last edited by wagscat123; 05-22-2015 at 03:46 PM.
 
Old 05-22-2015, 04:26 PM   #2
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Hi...

I'm thinking it would run best on the actual four year old system, since it's CPU intensive and that running it in a VM would add an extra OS layer, which would undoubtedly add further weight.

However, if running the program in a VM is legal (which you should contact the vendor to verify,) you could give both options a try and see what kind of results you get.

Regards...

Last edited by ardvark71; 05-22-2015 at 04:28 PM. Reason: Correction.
 
Old 05-22-2015, 05:40 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,973

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
A vm is pretty easy to start with. Not sure about using mac but a windows system on a good modern computer would not blink on a vm. Vm's are getting better every day.

As to what is better, we can't even guess. Guess you could look at your current load on host and see how much resources you have. Simple things like ram speed, cpu ratings, and hard drive tend to make choice in end. If this has network issue then maybe that might tip choice back to physical.

I run a core i7 for most testing or high end xeon server. They seem to run vm's with ease.

Last edited by jefro; 05-22-2015 at 05:41 PM.
 
Old 05-22-2015, 11:00 PM   #4
wagscat123
Member
 
Registered: Jan 2009
Location: Maryland-Pennsylvania border, USA
Distribution: openSUSE 15.2/15.3, Tumbleweed, Kubuntu 18.04/21.04, macOS 10.15, antiX 19, and Linux Mint 19.3
Posts: 860

Original Poster
Blog Entries: 45

Rep: Reputation: 120Reputation: 120
Thanks - it seems that it is hard to predict - although does knowing the newer computer is a nid-2014 iMac with a 1.4 Ghz i5 Duo Core with 8 GB of RAM help with the hunches?
 
Old 05-23-2015, 07:18 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by wagscat123 View Post
iMac with a 1.4 Ghz i5 Duo Core
i'm no cpu expert, but this seems rather measly for a fairly new machine?

also not all cpus support virtualisation - i'm not sure if this is still an issue with newer hardware, but it would be something to check. from the bios, maybe.

if the cpu doesn't support it, it would be like not having hardware accel for your graphics.
which, btw, is also important for vms.
 
Old 05-23-2015, 09:56 AM   #6
Ihatewindows522
Member
 
Registered: Oct 2014
Location: Fort Wayne
Distribution: Ubuntu 16.04 LTS
Posts: 616
Blog Entries: 2

Rep: Reputation: 166Reputation: 166
If it has anything to do with 3D (such as CAD, VR, etc.) then you should probably run it on the original hardware it was designed for.

Although 3D is possible in VirtualBox, it is only OpenGL. I hear Parallels has better 3D support.

Here's my luck with 3D on VirtualBox. I only achieved this with playing around with settings.
https://www.youtube.com/watch?v=JRx91k2SiBY
 
Old 05-23-2015, 09:58 AM   #7
Ihatewindows522
Member
 
Registered: Oct 2014
Location: Fort Wayne
Distribution: Ubuntu 16.04 LTS
Posts: 616
Blog Entries: 2

Rep: Reputation: 166Reputation: 166
Quote:
Originally Posted by ondoho View Post
i'm no cpu expert, but this seems rather measly for a fairly new machine?

also not all cpus support virtualisation - i'm not sure if this is still an issue with newer hardware, but it would be something to check. from the bios, maybe.

if the cpu doesn't support it, it would be like not having hardware accel for your graphics.
which, btw, is also important for vms.
Yeah...my 9 year old PC has a quad core 3.33 Ghz Xeon, and capable of holding another one. I would look on Passmark and see how it acutally stacks up. (Intel has been reducing processor speed lately)
 
Old 05-23-2015, 02:20 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,973

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Just not enough for us to guess a clear winner on this one. Testing may reveal a winner or close tie.
 
1 members found this post helpful.
Old 05-23-2015, 04:06 PM   #9
wagscat123
Member
 
Registered: Jan 2009
Location: Maryland-Pennsylvania border, USA
Distribution: openSUSE 15.2/15.3, Tumbleweed, Kubuntu 18.04/21.04, macOS 10.15, antiX 19, and Linux Mint 19.3
Posts: 860

Original Poster
Blog Entries: 45

Rep: Reputation: 120Reputation: 120
It looks like that there's no way to tell for certain. Seems like I'll have to do some testing (playing...) to see which is best.

Thanks!

Last edited by wagscat123; 05-23-2015 at 04:08 PM.
 
Old 05-25-2015, 04:30 AM   #10
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,681
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
a virtual machine makes a lousy paperweight
 
Old 05-26-2015, 01:22 PM   #11
dt64
Member
 
Registered: Sep 2012
Distribution: RHEL5/6, CentOS5/6
Posts: 218

Rep: Reputation: 38
Quote:
Originally Posted by wagscat123 View Post
...as this utility will be CPU heavy...
If CPU performance is you main concern you might want to go for the machine with the more/most powerful CPU.
Next question: can your software make use of multiple cores?

With most VM solutions you can give one or more dedicated cores to your VM, and you are still able to use remaining cores for other tasks.

But, as said above: only testing can tell...
 
1 members found this post helpful.
Old 05-26-2015, 03:56 PM   #12
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,973

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
I tend to just offer as many cores as I have. Just let the vm decide how to manage. I never over allocate cpus. You can generally over allocate ram however. Watch out for swap use if you do.

I'll agree that some overhead exists on the vm and host then the remaining will be available for the client. A few of the vm's even claim better than native speeds but most tend to be slightly below native.
 
1 members found this post helpful.
Old 05-26-2015, 08:39 PM   #13
wagscat123
Member
 
Registered: Jan 2009
Location: Maryland-Pennsylvania border, USA
Distribution: openSUSE 15.2/15.3, Tumbleweed, Kubuntu 18.04/21.04, macOS 10.15, antiX 19, and Linux Mint 19.3
Posts: 860

Original Poster
Blog Entries: 45

Rep: Reputation: 120Reputation: 120
Thanks everyone for advice. I'll test this out if this ends up being the solution to my issue.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Machine. Can it run as well with right config, hardware LyleL Linux - Newbie 8 11-10-2014 05:56 PM
Upgrading to VMWare Virtual Machine Hardware version 7.0 steals available memory Lagos Linux - Virtualization and Cloud 4 01-02-2011 01:29 PM
hardware requirements for creating 6 virtual machine shellarchive Linux - Hardware 2 07-05-2008 01:50 PM
Solve Hardware Problems Using Virtual Machine Software melinda_sayang Linux - General 2 11-09-2007 09:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 06:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration