Two operating systems or a virtual machine

Click For Summary

Discussion Overview

The discussion revolves around the performance implications of using a virtual machine (VM) versus installing two operating systems for running Open FOAM simulations on a Windows 10 PC. Participants explore various options, including the Windows Subsystem for Linux (WSL) and live CDs, while sharing their experiences and considerations regarding system performance.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant, stockzahn, shares past experiences with running Open FOAM in a virtual machine on Windows 7 and expresses concerns about performance, seeking advice on whether to use two operating systems or a VM.
  • Another participant notes that using a VM allows simultaneous access to Windows applications, presenting a convenience factor in favor of the VM option.
  • A different participant questions the necessity of using Windows 10 during simulations and suggests trying a live CD with Open FOAM to avoid installation complications.
  • One participant discusses the performance of VMs, attributing potential slowness to hard drive issues, particularly when multiple operating systems write to the same physical disk, and suggests that using an SSD could mitigate these problems.

Areas of Agreement / Disagreement

Participants express varying opinions on the best approach to run Open FOAM, with no consensus reached on whether a VM, dual operating systems, or WSL is the optimal solution. The discussion remains unresolved regarding the performance implications of each option.

Contextual Notes

Participants mention specific configurations and experiences that may depend on hardware specifications, such as the type of hard drive (HDD vs. SSD), which could influence performance outcomes. Additionally, the effectiveness of WSL and live CDs is not fully explored, leaving some assumptions unaddressed.

stockzahn
Homework Helper
Gold Member
Messages
498
Reaction score
137
Dear all,

my PC runs on Windows 10. In the near future I will have to perform some simulations with Open FOAM. I've already done that some years ago (Windows 7 and I used a virtual machine to be able to run Ubuntu/Open FOAM). My experiences were that the program was executed very slow (despite allocating a large fraction of my RAM). Therefore I wanted to ask, if you could give some advice, if I should install two operating systems to increase the performance or if you maybe could recommend a "virtual machine" for this kind of application. I've also read that in Windows 10 there is the possibility to run Open FOAM without Linux/Ubuntu or a virtual machine - maybe this is the best option...?

Thanks in advance,
stockzahn
 
Computer science news on Phys.org
Obviously, the VM would allow you to run Windows programs (Word, email, whatever) while you run your simulations. This may be a valuable convenience. It's really your choice. I've done it both ways - not with Ubuntu in the VM, but with other OS configurations.
 
That's of course true, I would be able to use the two OSs more or less at the same time - a big pro for the VM-option. Nevertheless, do you or does anyone already gained experience with the Windows Subsystem for Linux (WSL)?
 
The performance of your VM depends very heavily on what the underlying system is doing. I manage a bunch of servers, all of which have two VMs on them and run onto of a Xen operating system. They work lightning fast and there is no reason that a modern VM should run slowly. My guess is that it was your hard drive that was being bad. When Windows wants to write to the drive, it does a lot of smart stuff to make sure things are written efficiently. When running two OSs at the same time, they may each want to write to different sectors of the same physical disk so if you have a magnetic hard drive (which I'm guessing you had since you said it was a few years ago) it'll cause shoddy performance. If you have an SSD, you should not have this problem.
 

Similar threads

  • · Replies 31 ·
2
Replies
31
Views
4K
Replies
2
Views
4K
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 21 ·
Replies
21
Views
3K
Replies
13
Views
4K
  • · Replies 1 ·
Replies
1
Views
5K
Replies
38
Views
5K
  • Poll Poll
  • · Replies 8 ·
Replies
8
Views
3K