VMware Cloud Community
TheVMEvolution
Contributor
Contributor
Jump to solution

SSD Cache

Does VMWare ESXi support SSD caching to improve Disk I/O?

0 Kudos
1 Solution

Accepted Solutions
mcowger
Immortal
Immortal
Jump to solution

Its limited to 2GB, and View use only.

--Matt VCDX #52 blog.cowger.us

View solution in original post

0 Kudos
18 Replies
TheVMEvolution
Contributor
Contributor
Jump to solution

I know Citrix Xen supports something like this, I believe its called IntelliCache but I could be wrong

0 Kudos
eeg3
Commander
Commander
Jump to solution

A new feature of View 5.1 is the "View Storage Accelerator" aka "Content Based Read Cache". Not sure this can be used outside of the VDI environment, though. This puts storage into memory instead of SSD.

Blog: http://blog.eeg3.net
TheVMEvolution
Contributor
Contributor
Jump to solution

I'm basically using 4x local drives in hardware RAID10 now, and want to achieve better Disk I/O in my containers in VMWare. Intellicache for Citrix Xen does this and you can put something like a 60GB SSD for Intellicache, then it improves read operations (not write, but by offloading reads to an SSD cache it will improve write speeds).

So that is what I'm trying to accomplish, does VMWare ESXi offer something like that?

0 Kudos
mcowger
Immortal
Immortal
Jump to solution

Not today, no.

--Matt VCDX #52 blog.cowger.us
0 Kudos
mcowger
Immortal
Immortal
Jump to solution

Its limited to 2GB, and View use only.

--Matt VCDX #52 blog.cowger.us
0 Kudos
TheVMEvolution
Contributor
Contributor
Jump to solution

Thanks for the information. What are the chances in your opinion that VMWare will support something like Intellicache in the future?

I appreciate your responses.

0 Kudos
mcowger
Immortal
Immortal
Jump to solution

Personally?  I would consider it doubtful - they wouldn't want to alienate their vendor partners too much, most/many of whom already provide similar functionality within the array (where its more effective than in-host).

--Matt VCDX #52 blog.cowger.us
0 Kudos
TheVMEvolution
Contributor
Contributor
Jump to solution

I understand. Will the "View" with 2GB cache help what I'm trying to accomplish at all?

0 Kudos
mcowger
Immortal
Immortal
Jump to solution

No - it only work if you are using VMware View.

--Matt VCDX #52 blog.cowger.us
0 Kudos
rickardnobel
Champion
Champion
Jump to solution

TheVMEvolution wrote:

I'm basically using 4x local drives in hardware RAID10 now, and want to achieve better Disk I/O in my containers in VMWare.

In ESXi 5 there is the feature of "SSD Swap Cache" which could use local SSD as a first-hit instance before going to mechanical disk. However, as the name implies, it is only for VMkernel swapping and not for general disk access.

My VMware blog: www.rickardnobel.se
0 Kudos
Zhuominchen
Contributor
Contributor
Jump to solution

I just found this feature, which allowing guests to use SSD as swap device DIRECTLY.

on Vsphere client

1) Highligh Hosting Node

2) Click  Configuration

3) Click on "Virtual Machine Swapfile Location"

4) change from your OS drive to SSD

On Guest setting, use  Swapfile Location "Default"  , which is

same location as hosting server swapfile location (SSD), assuming

that you already setup "Host cache" to SSD.

Now you can do memory-overcommit without worrying bringing down other guests.

Jimmy

0 Kudos
realdreams
Enthusiast
Enthusiast
Jump to solution

Is that even ESXi related? OP is asking vSphere ESXi 5

0 Kudos
Zhuominchen
Contributor
Contributor
Jump to solution

Does VMWare ESXi support SSD caching to improve Disk I/O?

Yes at two levels

1) Host cache on SSD  :  This is used when you give more memory to guests than physical memory

2) Guest's Swap Space  on SSD (vs on same directory as vmdk)

  :  This is when Guest applications use more memory than each guest is configured to consume.

FYI: Whatever you do with vsphere-client actually happens on ESXI server side.  

0 Kudos
mcowger
Immortal
Immortal
Jump to solution

1) There is no such Host Cache on SSD option.

--Matt VCDX #52 blog.cowger.us
0 Kudos
Zhuominchen
Contributor
Contributor
Jump to solution

Vsphere Client

Highlight left top nod.

Configuration.(under software).Host Cache Configuration 

You can only use SSD for this.  Default Host Swap Cache is at

OS disk partition.

Jimmy

0 Kudos
mcowger
Immortal
Immortal
Jump to solution

Thats for SWAP only - not general storage access, which is what the OP is referring to.

--Matt VCDX #52 blog.cowger.us
0 Kudos
Linjo
Leadership
Leadership
Jump to solution

Host cache does not directly improve disk performance, its for the ESX to swap out from memory in case of oversubscribtion.

Indirect this can have an effect since you normally would swap this to spinning disk in a slower rate and this IO is now gone.

// Linjo

Best regards, Linjo Please follow me on twitter: @viewgeek If you find this information useful, please award points for "correct" or "helpful".
0 Kudos
Zhuominchen
Contributor
Contributor
Jump to solution

Sorry I misunderstood original post.  

You guys are correct.  Vmware SSD cache is LAST hit-device, thus does nothing to improve I/O.

I jumped on it because I thought it was like zfs L2ARC (first hit-device). What disappointment. 

Jimmy

0 Kudos