Virtualization, Cloud, Infrastructure and all that stuff in-between

My ramblings on the stuff that holds it all together

Running a VM from a RAM Disk

 

I posted earlier about some of my experiments with the FusionIO solid state storage card, SSD’s and the feature I spotted in Starwind to create a virtual disk from RAM – these are the quick results I see when running a Windows 2003 R2 virtual machine from a RAM disk.

This is done by creating a RAM disk on a Windows 2008 x64 machine running the StarWind vSAN software. the physical machine is an HP ML110 G5 with 8Gb of RAM.

image

image

image

In this test I allocated a 6Gb RAM disk on the vSAN host and shared it out via iSCSI to a vSphere 4 host running on an HP ML115 G5, where it shows up as a normal LUN and vSphere is unaware that it is actually physical RAM on a host elsewhere rather than a normal spinning disk (virtualization/abstraction :)).

image

I deployed a single Windows 2003 R2 virtual machine into the 6Gb LUN via the usual processes with thin-provisioning enabled.

image

The topology for this test looks like the following;

image

As with previous tests, and based on Eric’s work I used HD Tune Pro (trial) to get some disk access statistics; during the test the iSCSI traffic used c.50% of the bandwidth on the physical box running the Starwind software.

image

These are the results; which you can compare to Eric, Simon Seagrave and my FusionIO results.

image image

image

So far I have only done read speed testing, as write-testing requires some extra virtual disks – I’ll get this done in the coming weeks.

There is no escaping the fact that physical RAM is still expensive in quantities sufficient to meet the size of normal VM storage requirements.  There are commercially available hardware SAN products that use this sort of concept like the RAMSAN and FusionIO but this is definitely the way the industry is going in future.

Thin-provisioning, linked-cloned and automated storage tiering (like EMC FAST) are going to be key to giving this level of performance whilst keeping costs low by minimising physical storage consumption until RAM/SSD prices reach the current spinning disk levels.

These results go to show how this software concept could be scaled up and combined with commodity Nehalem blades or servers which are capable of supporting several hundred Gb of RAM to build a bespoke high performance storage solution that is likely to cost less than a dedicated commercial solid-state SAN product.

In the real world It’s unlikely that you would want to take this bespoke approach unless you have some very specific requirements as the trade-off is that a bespoke solution is likely to have a higher ongoing complexity/management cost and is probably less reliable/supportable – I did it “just because I could”; your mileage may vary :)

About these ads

5 responses to “Running a VM from a RAM Disk

  1. hypervizor January 26, 2010 at 9:16 pm

    500Mb/s is not so fast for RAM chip don’t you think ?

    • vinf January 27, 2010 at 10:17 am

      I haven’t gotten into the tweaking and more detailed performance analysis yet; but I would assume there is a fairly big overhead from the OSStarwind DriverNTFSvirtual diskvmfsiSCSIEthernet conversion.

      should be able to do faster with some tweaking and better networking – coming soon :)

  2. Vladan January 27, 2010 at 9:58 am

    Great read Simon,

    I think that we will certainly assist this year in some kind of hybrid storage move first. The prices will start falling on SSD’s, but they’ll not match the prices of Classical HD immediately.

    That’s what’s already started happening. The consumer users already buying SSD’s for boot/system disk and keeps a SATA drive for storage.

    Vladan

  3. Pingback: VMware vSphere - виртуализация ЦОД » Запуск виртуальной машины VMware vSphere с RAM Disk.

  4. Dmitri July 26, 2011 at 11:14 pm

    An equally interesting question – for me, at least – is whether we shall one day get the capability of running RAM-specific OS builds such as Windows PE with all the trappings of a ‘conventional’ Windows OS, i.e., with working .Net and whatnot. The reason I’m curious is that, given a server board with 96Gb of RAM, I can easily see myself requiring NO disk storage whatsoever.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 1,880 other followers

%d bloggers like this: