Is it worth getting 32 GB of ram if I plan to run VMs ?

pcslookout

Lifer
Mar 18, 2007
11,944
150
106
My current processor is a i5 2500k I know is not meant for VMs.

I am thinking of running s few VMs is it worth getting 32 GB of ram if I do ?
 
Feb 25, 2011
16,822
1,493
126
8 GB

I want to run a small local server.

What kind of server?

If you're only talking a single server VM, 16 is probably adequate. (e.g., 12 for you, 4 for the VM.)

If you're running certain java applications in that server (say, Minecraft) you just need to allocate to the VM a bit more RAM than you're allocating to the JVM. (Say, 3GB for a Minecraft server with 2GBs allocated for the JVM.)

I run into this sometimes at work - users/devs want me to allocate eleventy-four GB of RAM to their server VMs because they're running out of RAM, but it turns out their java application is running with max heap set to 1GB or something.
 

pcslookout

Lifer
Mar 18, 2007
11,944
150
106
What kind of server?

If you're only talking a single server VM, 16 is probably adequate. (e.g., 12 for you, 4 for the VM.)

If you're running certain java applications in that server (say, Minecraft) you just need to allocate to the VM a bit more RAM than you're allocating to the JVM. (Say, 3GB for a Minecraft server with 2GBs allocated for the JVM.)

I run into this sometimes at work - users/devs want me to allocate eleventy-four GB of RAM to their server VMs because they're running out of RAM, but it turns out their java application is running with max heap set to 1GB or something.

FreeNAS I think.

What other kind of servers can you run or that are useful on a VM ?
 

Ketchup

Elite Member
Sep 1, 2002
14,546
238
106
How many VMs?

What OSes will they running?

Does the host machine need to be able to perform other activities?
 
Last edited:
Feb 25, 2011
16,822
1,493
126
FreeNAS I think.

Ah. Give it 8GB then.

What other kind of servers can you run or that are useful on a VM ?

Some applications, particularly some of those java applications I mentioned (like Minecraft) run better* in a Linux environment than Windows.**

* (IMHO)
** (Although they'll usually work ok in Windows too.)


If you were a software dev, you might run a private CI environment / dependency manager in a local VM on your desktop, for instance. Or virtualize multiple systems for building/testing cross platform apps. Or you might be running GNS/VirtualBox to simulate a Cisco networking environment for academic or testing purposes. Or you might...

Well, you know. Nerd stuff.
 

pcslookout

Lifer
Mar 18, 2007
11,944
150
106
Ah. Give it 8GB then.



Some applications, particularly some of those java applications I mentioned (like Minecraft) run better* in a Linux environment than Windows.**

* (IMHO)
** (Although they'll usually work ok in Windows too.)


If you were a software dev, you might run a private CI environment / dependency manager in a local VM on your desktop, for instance. Or virtualize multiple systems for building/testing cross platform apps. Or you might be running GNS/VirtualBox to simulate a Cisco networking environment for academic or testing purposes. Or you might...

Well, you know. Nerd stuff.

Ok thanks!
 

Ketchup

Elite Member
Sep 1, 2002
14,546
238
106
2 to 4.

Not sure yet.

Yes Windows 10.

I can't really say if you don't know what you are running. That is the important part of the equation. I will say that I have up to 3 VMs running at one time with up to 9 GB available RAM between the three and there is still enough RAM for the host machine to run fine, but the host (Windows 10) does get up to allocating almost all of it at peak times.
 

Laststop311

Member
Apr 24, 2013
70
3
36
I used yo be a believer of just buying the amount of ram that is more than enough for whats going on currently. But it seems ram use is growing at FAST paces. I recommend 2x16GB or 4x8GB in quad. You think 16GB is plenty but at the rate things are going if you can afford it 32GB is much safer.
 

BonzaiDuck

Lifer
Jun 30, 2004
15,785
1,500
126
I used yo be a believer of just buying the amount of ram that is more than enough for whats going on currently. But it seems ram use is growing at FAST paces. I recommend 2x16GB or 4x8GB in quad. You think 16GB is plenty but at the rate things are going if you can afford it 32GB is much safer.

No disagreement. Everybody has their own personal usage profile, their choice of applications and choice of data. Three years ago, I had the itch and first installed a second set of 2x4. Then, because I wanted faster speed by default rather than clocking the 4x4 set higher, I bought a 2x8. At that point, I almost felt guilty for having more than I can use.

But there was a peripheral history to this. I'd been using ISRT before buying a decent-sized SSD for a boot drive. Then, with Samsung 840, along comes RAPID. And I discover a nifty program that does it all without being bound to a certain brand (Intel or Samsung) of hardware: PrimoCache. It lets you slice and dice the memory into reserved pieces for different caching tasks. So I increased my RAM from 16 to 20, discovered that I can't run the RAM at CR=1 anymore. Since I now see that RAM-caching the boot drive as one task and a data drive (with SSD-caching) as another task, I need about 5 GB of RAM and no more. I can't really make up my mind to pull the 2x2 kit out, reset CR=1, and be comfortable with the limitation.

But this is just a case of a less-than-exotic use of RAM "growing at FAST paces." If I can think of something like the caching as a beneficial use of RAM, what will I think of next month? Next year? Who knows?

The biggest problems I see with getting more than you need is the time it takes to test it to a comfortable level of assurance.
 

Aristotelian

Golden Member
Jan 30, 2010
1,246
11
76
But this is just a case of a less-than-exotic use of RAM "growing at FAST paces." If I can think of something like the caching as a beneficial use of RAM, what will I think of next month? Next year? Who knows?

And that part is what motivates consumers like me. I was watching some computex videos on Youtube and came across one where a 128 gigabyte ram kit was on offer and the youtuber said "Yeah I want that. Why? Ramdisk", but I thought that ramdisks were a moot point now because SSDs themselves have become super fast and are also...solid state. So why would anyone need a ramdisk now?

But I'm posting everywhere on this forum that I'm going to go from a 2600k to a 6950X and from 8 gigabytes of ram to, I dunno, 32 or 64 I guess if I can find a nice kit. And why? What happens if I can think of even more creative things to do with my rig and the ram comes in handy? Not the most scientific of approaches of course, or the most cost-benefit linked, but peace of mind is worth something too, I guess.
 

sdifox

No Lifer
Sep 30, 2005
96,181
15,776
126
Freenas wants lots of ram for best performance so get as much as you are willing to pay. I think the recommendation is 1GB ram per 1TB storage.
 
Last edited:

paperwastage

Golden Member
May 25, 2010
1,848
2
76
if you're concerned with your budget, go for highest capacity dimms (2x8 over 4x4), and fill up the dimms later

if you haven't, buy& allocate separate drives(RAM Drives are really nice, SSDs preferable, HDDs) for each running VM

I believe 2500k maxes out at 32GB, so 2x8 seems ideal (if you have 4 dimms lots). Dno't think you can put 64GB ram on sandybridge, could be wrong

2500k doesn't support VT-d. might want to look at a non-K or xeon chip for VT-d support, might be able to reuse motherboard
(VT-d useful for direct PCI/SATA passthrough. if you don't know what it is, probably not useful for you, just keep your 2500k)
 
Last edited:

KentState

Diamond Member
Oct 19, 2001
8,397
393
126
RAM is so cheap that I max my machines out, especially since I run multiple VM's on them. Being able to stand up 3-4 instances in the background without being worried about memory pressure is nice.

As far as other VM's, I have one for development applications, one for browsing unverified websites, another for utilities, web/db server and multiple for testing. It's liberating to not have to take over your main OS with a bunch of crap. Makes for a clean install that's easy to manage.
 

BonzaiDuck

Lifer
Jun 30, 2004
15,785
1,500
126
And that part is what motivates consumers like me. I was watching some computex videos on Youtube and came across one where a 128 gigabyte ram kit was on offer and the youtuber said "Yeah I want that. Why? Ramdisk", but I thought that ramdisks were a moot point now because SSDs themselves have become super fast and are also...solid state. So why would anyone need a ramdisk now?

But I'm posting everywhere on this forum that I'm going to go from a 2600k to a 6950X and from 8 gigabytes of ram to, I dunno, 32 or 64 I guess if I can find a nice kit. And why? What happens if I can think of even more creative things to do with my rig and the ram comes in handy? Not the most scientific of approaches of course, or the most cost-benefit linked, but peace of mind is worth something too, I guess.

I'd posted my Anvil's SSD benchmark scores in at least one other thread recently to show what can be done with two-tiered caching that includes SSDs cached directly to RAM, HDDs cached to SSD and then cached to RAM. This is different than simply creating a RAM-disk and putting files on it. Whether or not the benchmarks "prove" anything in comparison to a standalone SSD or HDD has been a point of disagreement over ISRT and RAPID. But the PrimoCache software I use presents a real-time graph of the hit-rate on each cached configuration or task. If I leave the computer running for three or four days -- sleeping, hibernating and waking -- it eventually shows a hit-rate for the boot drive (SSD) of between 30 and 50%. The RAM-cached SSD-cached HDD shows a hit-rate of 98%: I've installed my Steam games on the HDD.

Regardless how much "improved performance" is real, this is the smoothest-running system I've ever had. No RAID is needed for any of it, with all drives SSD and HDD configured in AHCI storage mode. The only down-side of it: the caching system is configured (according to my choices) to save the RAM cache(s) to disk at Windows Shutdown/Restart. So there's a noticeable delay in shutting down, and a noticeable delay in booting to windows. In between those actions -- heh, heh -- there aren't any "delays."

Well . . . I'll post this, then I'm going to race my Turbo-GT Mustang at the Okutama Reservoir and Mizu Mountain. Hong-Kong "Peak Road descent" is also nice . . . .
 
Reactions: grimpr

Aristotelian

Golden Member
Jan 30, 2010
1,246
11
76
If you were serious about your racing - awesome. Glad to meet someone else with hobbies like that. I'm fond of countryside racing in rural Germany on a motorcycle.

I plan to be getting lots of fast ram in my new build as well as blisteringly fast SSDs (the fastest that are available at the time of purchase anyway, I can't wait for 3D NAND or whatever). I'll check out your post history and try to find links to what you say above - I'm looking for the amazingly quick new build here, happy to optimise it in every way.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |