Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hey people , havnt been on here for a while, hope all is well.
Im technically retarded when it comes to hardware so forgive me. Whats best for running multiple vm's on virtualbox ? cpu or ram ? They arnt running any resource extensive applications, nor are they connecting to the internet, just to each other. Maybe a windows7, a slackware and a debain. Would a 1.3GHz dual-core i5 and say 4gig of ram running wheezy handle that ?
I've got really no idea, tired to do some research and found some threads on 'parallels' forums but i thought id ask LQ.
From my experience (which is limited) they both are equally important. The CPU needs to be powerful enough to push the vm's. More vm's more process intensive especially if those VM's are running multiple apps. The RAM is very important because every VM is allocated a certain amount of RAM, so every running VM will subtract its allotted RAM from the total system RAM. More RAM=more VM's and better CPU is going to directly affect performance. Your system should definitely be able to handle that load. Keep in mind your total amount of system RAM, the number of VM's you want to run, and the host OS. They all need RAM but give bias to the host I would assume because that's the one running the show.
Well i have a i5 sandybridge i think it was the 2500 8 gigs ram.
I run my router in a vm, nas in another and a httpd server with mysql serving a handful of students online training.
I find that i should have looked more carefully at the mobo. Should have gotten one that supports vtd properly and hard drives.
My biggest issues are seen in terms of io wait and bsd systems still a little so so in supporting virtio drivers.
Overall, for my small language school, i find that most the time the host is running.
The nas sucks a lot of resources with cifs transfers and the speeds are somewhat slow. Approx 10mbps/s . I have not yet bothered to check where the bottle neck is, but it will likely be
1. Allocated ram below that stipulated as recommnded.
2. The use of cifs rather than nfs
3. Running of a 2tb 5200 rpm disk.
The router seems to be doing fine at the moment. Biggest memory hog is snort analyzing and the firewall actively blocking ip adresses from snort alerts.
Now i have not had the opportunity to properly load test the system but for a really small business at the moment, i have no complaints. It serves my current needs.
I would certainly recommend you be careful with running gui's but my headless setup seems to work ok.
It depends. For Windows 7 you will want to assign at least 2GB RAM and 1 CPU core to the VM (as always, more is better). Do you intend to run the Linux systems as desktop system? If yes, you will need more RAM than with a CLI-only system and if you run KDE instead of XFCE or Fluxbox you will also need more RAM.
In any case, when working with multiple VMs I would always opt for a quadcore CPU as minimum and at least 8GB of RAM, but without knowing what exactly you want to do it is hard to tell.
Experience shows that Windows up to XP/2003 is ok with 1 CPU core, but from 7/2008 it may struggle with just one core, so best is to assigne at least 2 cores.
Haven't figured out what this kind of struggle caused, but an equally configured 2003 VM would be fine, a 2008 VM sometimes just freezes for some time but comes back later on.
basically it's all down to testing since it depends a lot on your actual use case.
There is no reason that I'd limit cores unless you are trying to limit clients. Let the host and clients have them all. It is all dynamic to load. On some systems I might direct a client to run a particular core or cpu but it is rare.
You could easily run one instance of each on that system. All three may be at the edge.
Your limit is ram. That VM can't let you use page file like qemu might so you are really limited to some 1.8G ram to clients is my wild guess. Some new systems and new VM's can dynamically allocate ram. Not sure if your vm can yet. Someone may know for sure on that.
To save some ram, you could install 32 bit clients. For example you can actually run W7 on 500M in 32 bit. Even W2003 could be run quite sparse.
The only other way may be to use some other type of vm like esxi or proxmox. Still some bare metals take a lot of ram. Limiting ram on host may allow more client ram. Some dynamic ram vm's may need chipset support as I recall. Could be wrong on that now.
Hey people , havnt been on here for a while, hope all is well.
Im technically retarded when it comes to hardware so forgive me. Whats best for running multiple vm's on virtualbox ? cpu or ram ? They arnt running any resource extensive applications, nor are they connecting to the internet, just to each other. Maybe a windows7, a slackware and a debain. Would a 1.3GHz dual-core i5 and say 4gig of ram running wheezy handle that ?
I've got really no idea, tired to do some research and found some threads on 'parallels' forums but i thought id ask LQ.
thanks in advance.
if you are going to be running the HOST OS and 3 VMs all at the same time you will need at least a quad core CPU, then you will need to match the RAM in the system to the amount each OS, including the host, requires.
So for 1 core you will need no less then 2G ram and ideally you will have 4G ram for each core as you are talking a win7 in the mix as VirtualBox will have a low powered GPU for the VM win7 will be sucking up more ram then normal.
so for semi good performance an i5 quad core with no less then 16G ram in the system will give you passable performance.
with the i5 dual core you mention in your post, you would be able to run 1 VM at a time and no more.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.