• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Yellow Bricks

by Duncan Epping

  • Home
  • Unexplored Territory Podcast
  • HA Deepdive
  • ESXTOP
  • Stickers/Shirts
  • Privacy Policy
  • About
  • Show Search
Hide Search

Archives for August 2011

#VMworld is going to be E P I C!

Duncan Epping · Aug 22, 2011 ·

If anyone is overly excited about VMworld it is me. Although my schedule is completely overbooked and I expect to be running around like crazy every single day, I cannot wait for VMworld to start! Here are 10 things why I am excited about VMworld, in no particular order:

  • Networking
    No I am not talking about Distributed Switches here… I am talking about meeting various types of people and organizations. I suggest you try sitting down at a table with people you don’t know and start a conversation. I bet you will have a lot of things in common and in some scenarios can benefit from their expertise or the problems that they might have faced and solved. I’ve always enjoyed this and believe this is the most valuable part of the show.
  • The Killers
    Yes I know that some of you have never heard of this band before, but this is truly an amazing band. I’ve seen them live multiple times and it has always been well worth it, great performance and great music. It is probably the first time that I actually am looking forward to the VMworld band! If any of the VMworld folks are reading this, VMworld EMEA: Editors or Arctic Monkeys would be nice 🙂
  • Experts One on One!
    This is one of those great opportunities to meet up with some of the top knowledge experts within VMware. I am humbled to be part of a session (Experts-08 Wednesday at 11:00 – 12:00) and am joining people like Chris Colotti (vCloud), David Overbeek (vCenter Config Manager) and Venky Deshpande (vSphere Networking). Other sessions feature people like Kit Colbert, Lee Dilworth, Mike DiPetrillo, Massimo Re Ferre and many more. Check these sessions out, great opportunity to ask these guys the questions you always wanted to ask!
  • Keynotes
    I don’t know if others enjoy it as much as I do, but I love watching the keynotes. Paul Maritz’s talking about VMware’s strategic direction and his vision on IT/Cloud/Virtualization in the upcoming years are priceless! Last year Steve Herrod’s session was amazing, especially when Steve Herrod and Eddie Dinel were racing across the stage on their scooters. I expect nothing less this year!
  • VSP3205 – Technology Overview: vStorage APIs for VM and Application Granular Data Management
    This is one of the reasons I love attending events like VMworld. Satyam Vaghani hosts this session and happens to be one of the key engineers with regards to our low level storage initiatives. He was one of the people who developed VMFS and I can ensure you that a session hosted by Satyam will knock you out of your socks. I know they have a demo planned for this one and I know what you can expect… don’t miss out!
  • Solutions Exchange
    I always spent several hours just wandering around at the solutions exchange randomly stopping at booths and just checking out new technology. Every single year I find some new cool tool, new storage device, new hardware platform or just new relationships which were well worth spending the hours walking around. This year I plan on at least meeting up with the Tintri and Nutanix folks, but I definitely plan on stopping at others booths as well. If your kids love flashy / shiny / blinking things, I bet they will love you when you get back home.
  • VSP1956 – The VMware ESXi Quiz Show
    Do I need to say more? Will Chad Sakac beat Vaughn Stewart? Is Scott Herold able to slaughter Eric Siebert? Will the VDI Warrior Tom Howarth be able to exterminate Jason vTerminator Boche? We will see what happens, we will see who will take on VMware’s own vRaminators team! Death to Powerpoint, Hail the Quizmaster! Sign up, witness it! (**don’t take this too serious, we’re all friends, it it about having fun**)
  • VMUnderground Party
    I love these types of community events. I know the tickets sold out in literally seconds and people are still looking for tickets, if your not planning on attending give them to someone else. Before you give them away, I heavily recommend attending! These are always fun and there’s a high community presence. I know Frank Denneman and I will be there for sure, stop by and say hi! (Yes I know it collides with vOdgeball and that’s a shame indeed)
  • VMworld Fun Run / Bike Ride
    I started this tradition in 2009 and we had roughly 200 participants, since then the VMworld team took on the responsibilities of this event and it has returned in 2010 and of course in 2011. I am glad that they also kept it close to the original idea, just a fun event but with a serious touch… donating registration fees to a local charity foundation, this year it is Friends of Red Rock Canyon. Unique Event, be there!
  • VMworld Labs
    Most of you read my coverage of the VMworld Labs last year. I’ve not been as closely involved as last year but I know these will be well worth your time. The Labs team have worked really hard to get all Labs ready in time and to get the environment up and running in the vCloud! Last year we had people taking every single lab out there, queues outside at 07:15 well before the labs opened up… be there!

I am confident that VMworld will be epic and I hope all of you are as excited as I am. Once again, if you see me walking around don’t be shy and say hi!

See you at VMworld!

Swap to host cache aka swap to SSD?

Duncan Epping · Aug 18, 2011 ·

Before we dive in to it, lets spell out the actual name of the feature “Swap to host cache”. Remember that, swap to host cache!

I’ve seen multiple people mentioning this feature and saw William posting a hack on how to fool vSphere (feature is part of vSphere 5 to be clear) into thinking it has access to SSD disks while this might not be the case. One thing I noticed is that there seems to be a misunderstanding of what this swap to host cache actually is / does and that is probably due to the fact that some tend to call it swap to SSD. Yes it is true, ultimately your VM would be swapping to SSD but it is not just a swap file on SSD or better said it is NOT a regular virtual machine swap file on SSD.

When I logged in to my environment first thing I noticed was that my SSD backed datastore was not tagged as SSD. First thing I wanted to do was tag it as SSD, as mentioned William already described this in his article and it is well documented in our own documentation as well so I followed it. This is what I did to get it working:

  • Check the NAA ID in the vSphere UI
  • Opened up an SSH session to my ESXi host
  • Validate which SATP claimed the device:
    esxcli storage nmp device list
    In my case: VMW_SATP_ALUA_CX
  • Verify it is currently not recognized as SSD by typing the following command:
    esxcli storage core device list -d naa.60060160916128003edc4c4e4654e011
    should say: “Is SSD : False”
  • Set “Is SSD” to true:
    esxcli storage nmp satp rule add -s VMW_SATP_ALUA_CX  –device naa.60060160916128003edc4c4e4654e011  –option=enable_ssd
  • I reloaded claim rules and ran them using the following commands:
    esxcli storage core claimrule load
    esxcli storage core claimrule run
  • Validate it is set to true:
    esxcli storage core device list -d naa.60060160916128003edc4c4e4654e011
  • Now the device should be listed as SSD

Next would be to enable the feature… When you go to your host and click on the “Configuration Tab” there should be a section called “Host Cache Configuration” on the left. When you’ve correctly tagged your SSD it should look like this:

Please note that I already had a VM running on the device and hence the reason it is showing some of the space as being in use on this device, normally I would recommend using a drive dedicated for swap. Next step would be enabling the feature and you can do that by opening the pop-up window (right click your datastore and select “Properties”). This is what I did:

  • Tick “Allocate space for host cache”
  • Select “Custom size”
  • Set the size to 25GB
  • Click “OK”

Now there is no science to this value as I just wanted to enable it and test the feature. What happened when we enabled it? We allocated space on this LUN so something must have been done with it? I opened up the datastore browser and I noticed a new folder was created on this particular VMFS volume:

Not only did it create a folder structure but it also created 25 x 1GB .vswp files. Now before we go any further, please note that this is a per host setting. Each host will need to have its own Host Cache assigned so it probably makes more sense to use a local SSD drive instead of a SAN volume. Some of you might say but what about resiliency? Well if your host fails the VMs will need to restart anyway so that data is no longer relevant, in terms of disk resiliency you should definitely consider a RAID-1 configuration. Generally speaking SAN volumes are much more expensive than local volumes and using local volumes also removes the latency caused by the storage network. Compared to the latency of a SSD (less than 100 μs), network latency can be significant. So lets recap that in a nice design principal:

Basic design principle
Using “Swap to host cache” will severely reduce the performance impact of VMkernel swapping. It is recommended to use a local SSD drive to elimate any network latency and to optimize for performance.

How does it work? Well fairly straight forward actually. When there is severe memory pressure and the hypervisor needs to swap memory pages to disk it will swap to the .vswp files on the SSD drive instead. Each of these, in my case, 25 files are shared amongst the VMs running on this host. Now you will probably wonder how you know if the host is using this Host Cache or not, that can of course simply be validated by looking at the performance statistics within vCenter. It contains a couple of new metrics of which “Swap in from host cache” and “Swap out to host cache” (and the “rate”…) metrics are most important to monitor. (Yes, esxtop has metrics as well to monitor it namely LLSWR/s  and LLSWW/s)

What if you want to resize your Host Cache and it is already in use? Well simply said the Host Cache is optimized to allow for this scenario. If the Host Cache is completely filled memory pages will need to be copied to the regular .vswp file. This could mean that the process takes longer than expected and of course it is not a recommended practice as it will decrease performance for your VMs as these pages more than likely at some point will need to be swapped in. Resizing however can be done on the fly, no need to vMotion away your VMs. Just adjust the slider and wait for the process to complete. If you decide to complete remove all host cache for what ever reason than all relevant data will be migrated to the regular .vswp.

What if the Host Cache is full? Normally it shouldn’t even reach that state, but when you run out of space in the host cache pages will be migrated from your host cache to your regular vswap file and it is first in first out in this case, which should be the right policy for most workloads. Now chances of course of having memory pressure to the extend where you fill up a local SSD are small, but it is good to realize what the impact is. If you are going down the path of local SSD drives with Host Cache enabled and will be overcommitting it might be good to do the math and ensure that you have enough cache available to keep these pages in cache rather than on rotating media. I prefer to keep it simple though and would probably recommend to equal the size of your hosts memory. In the case of a host with 128GB RAM that would be a 128GB SSD. Yes this might be overkill, but the price difference between 64GB and 128GB is probably neglect-able.

Basic design principle
Monitor swap usage. Although “Swap to host cache” will reduce the impact of VMkernel swapping it will not eliminate it. Take your expected consolidation ratio into account including your HA (N-X) strategy and size accordingly. Or keep it simple and just use the same size as physical memory.

One interesting use case could be to place all regular swap files on very cheap shared storage (RAID5 of SATA drives) or even local SATA storage using the “VM swapfile location” (aka. Host local swap) feature. Then install a host cache for any host these VMs can be migrated to. This should give you the performance of a SSD while maintaining most of the cost saving of the cheap storage. Please note that the host cache is a per-host feature. Hence in the time of a vMotion all data from the cache will need to be transferred to the destination host. This will impact the time a vMotion takes. Unless your vMotions are time critical, this should not be an issue though. I have been told that VMware will publish a KB article with advise how to buy the right SSDs for this feature.

Summarizing, Swap to SSD is what people have been calling this feature and that is not what it is. This is a mechanism that caches memory pages to SSD and should be referred to as “Swap to host cache”. Depending on how you do the math all memory pages can be swapped to and from SSD. If there is insufficient space available memory pages will move over to the regular .vswp file. Use local SSD drives to avoid any latency associated with your storage network and to minimize costs.

Tintri follow up

Duncan Epping · Aug 18, 2011 ·

Back in March I wrote about this new and interesting storage vendor called Tintri which had just released a new NAS appliance called VMstore. I wrote about their level of integration and the fact that their NAS appliance is virtual machine aware and allows you to define performance policies per virtual machine. I am not going to rehash the complete post so for more details read it before you continue reading this article. During the briefing for that article we discussed some of the caveats with regards to their design and some possible enhancements. Tintri apparently is the type of company who listens to community input and can act quick. Yesterday I had a briefing of some of the new features Tintri will announce next week. I’ve been told that none of this is under embargo so I will go ahead and share with you what I feel is very exciting. Before I do though I want to mention that Tintri now also has teams in APAC and EMEA, as some of you know they started out only in North-America but now have expanded to the rest of the world.

First of all, and this is probably the most heard complaint, is that the upcoming Tintri VMstore devices will be available in a dual controller configuration which makes it more interesting to many of you probably. Especially the more up-time sensitive environments will appreciate this, and who isn’t sensitive about up-time these days? Especially in a virtualized environment where many workloads share a single device this improvement is more than welcome! The second thing which I really liked is how they enhanced their dashboard. Now this seems like a minor thing but I can ensure you that it will make your life a lot easier. Let me dump a screenshot first and then discuss what you are looking at.

The screenshot shows the per VM latency statistics… Now what is exciting about that? Well if you look at the bottom you will see the different colors and each of those represent a specific type of latency. Lets assume your VM experiences 40ms of latency and your customer starts complaining. The main thing to figure out is what causes this slow down. (Or in many cases, who can I blame?) Is your network saturated? Is the host swamped? Is it your storage device? In order to identify these types of problems you would need a monitor tool and most likely multiple tools to pinpoint the issue. Tintri decided to hook in to vCenter and just pull down the various metrics and use this to create the nice graph that you see in the screenshot. This allows you to quickly pinpoint the issue from a single pane of glass. And yes you can also expect this as a new tab within vCenter.

Another great feature which Tintri offers is the ability to realign your VMDKs. Tintri does this, unlike most solutions out there, from the “inside”. With that meaning that their solution is incorporated into their appliance and not a separate tool which needs to run against each and every VM. Smart solution which can and will safe you a lot of time.

It’s all great and amazing isn’t it? Or are there any caveats? One thing I still feel needs to be addressed is replication. With this next release it is not available yet but is that a problem now that SRM offers vSphere Replication? I guess that relieves some of the immediate pressure but I would still like to see a native Tintri’s solution providing a-sync and sync replication. Yes it will take time but I would expect though that Tintri is working on this. I tried to persuade them to make a statement yesterday they unfortunately couldn’t say anything with regards to a timeline / roadmap.

Definitely a booth I will be checking out at VMworld.

Nutanix Complete Cluster

Duncan Epping · Aug 18, 2011 ·

I was just reading up and noticed an article about Nutanix. Nutanix is a “new” company which just came out of stealth mode and offers a datacenter in a box type of solution. With that meaning that they have a solution which provides shared storage and compute resources in a single 2u chassis. This 2u chassis can hold up to 4 compute nodes and each of these nodes can have 2 CPUs, up to 192GB of memory, 320 GB of PCIe SSD, 300 GB SATA SSD and 5 TB of SATA HDDs. Now the cool thing about it is that each of the nodes “local” storage can be served up as shared storage to all of the nodes enabling you to use HA/DRS etc. I guess you could indeed describe Nutanix’s solution as the “Complete Cluster” solution and as Nutanix says it is unique and many analysts and bloggers have been really enthusiastic about this… but is it really that special?

What Nutanix actually uses for their building block is an HPC form factor case like the one I discussed in May of this year. I wouldn’t call that revolutionary as Dell, Super Micro, HP (and others) sell these as well but market it differently (in my opinion a missed opportunity). What does make Nutanix somewhat unique is that they package it as a complete solution including a Virtual Storage Appliance they’ve created. It is not just a VSA but it appears to be a smart device which is capable of taking advantage of the SSD drives available and uses that as a shared cache distributed amongst each of the hosts and it uses multiple tiers of storage; SSD and SATA. It kind of reminds me of what Tintri does only this is a virtual appliance that is capable of leveraging multiple nodes. (I guess HP could offer something similar in a heartbeat if they bundle their VSA with the DL170e) Still I strongly believe that this is a promising concept and hope these guys are at VMworld so I can take a peak and discuss the technology behind this a bit more in-depth as I have a few questions from a design perspective…

  • No 10Gbe redundancy? (according to the datasheet just a single port)
  • Only 2 nics for VM traffic, vMotion, Management? (Why not just 2 10Gbe nic ports?)
  • What about when the VMware cluster boundaries are reached? (Currently 32 nodes)
  • Out band management ports? (could be useful to have console access)
  • How about campus cluster scenarios, any constraints?
  • …..

Lets see if I can get these answered over the next couple of days or at VMworld.

vSphere 5 Clustering Deepdive available at VMworld

Duncan Epping · Aug 17, 2011 ·

When self-publishing you face a couple of challenges and one of those is to get your books available in bookstores and at events. Frank managed to get our book available at VMworld and it will be sold at the VMworld Bookstore. If you haven’t picked up your copy yet this will be your chance to do so and you might even be able to get it signed at the show! (We are considering a book signing session if people are interested, reply here if you are!) Be warned, as far as we know it will be the only vSphere 5.0 book available at VMworld so we are expecting that it will sell out fairly quick.

  • « Go to Previous Page
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • Page 5
  • Page 6
  • Go to Next Page »

Primary Sidebar

About the Author

Duncan Epping is a Chief Technologist and Distinguished Engineering Architect at Broadcom. Besides writing on Yellow-Bricks, Duncan is the co-author of the vSAN Deep Dive and the vSphere Clustering Deep Dive book series. Duncan is also the host of the Unexplored Territory Podcast.

Follow Us

  • X
  • Spotify
  • RSS Feed
  • LinkedIn

Recommended Book(s)

Also visit!

For the Dutch-speaking audience, make sure to visit RunNerd.nl to follow my running adventure, read shoe/gear/race reviews, and more!

Do you like Hardcore-Punk music? Follow my Spotify Playlist!

Do you like 80s music? I got you covered!

Copyright Yellow-Bricks.com © 2026 · Log in