Intel Optane Memory: Pass-through to VM with full performance

0
Intel Optane Memory Box
Intel Optane Memory Box

We recently showed that you can use the consumer Intel Optane Memory m.2 devices in a server, and as ZFS cache and log devices. That was an important step because Intel’s product page specifically cites 7th gen Core CPUs and platforms as a requirement for the devices. By showing that we could take a standard server platform and use the m.2 device we open up Intel Optane Memory and 3D Xpoint to a lower price point.

Intel Optane Memory Requirements 2017 04 29
Intel Optane Memory Requirements 2017 04 29

The Intel DC P4800X is a much better, much faster device, but it costs upwards of $1500 in its smallest 375GB form. The m.2 drives are meant for client caching are significantly smaller (16GB and 32GB) but also both cost well under $100 making the technology more accessible.

Using VT-d PCIe Pass-through on Intel Optane Memory

For those unaccustomed to pass-through, it is an advanced virtualization feature. Essentially it allows a PCIe device to be utilized solely by a guest VM in order to improve performance. I/o devices such as network interface cards, GPUs, and storage devices/ controllers are common VT-d virtualization targets. For the Intel Optane Memory used case we are showing here, this is a great way to get low latency storage into a web hosting virtual machine.

Here is a small illustration regarding what we are setting up:

Intel Optane Memory Pass Through Illustration
Intel Optane Memory Pass Through Illustration

The basic idea here is that we are going to use a Debian Stretch-based (Proxmox VE 5.0) Linux KVM hypervisor. We installed a Windows Server 2012 R2 64-bit guest OS. We are going to use VT-d pass-through to hand the Intel Optane Memory m.2 card from the host Linux OS directly to Windows. Here is a video to see how well this worked.

Intel specs for the 16GB drive are 145MB/s write and 900MB/s read. We essentially hit these numbers using a best case sequential benchmark (ATTO) in the Windows VM so we know that PCIe pass-through is working as intended.

Final Words

We are still likely to recommend getting a bigger/ faster NVMe drive or more RAM over these small devices. These days, m.2 slots are in short supply on most server platforms so it may be difficult even mirroring these devices in a server. If you look at 16GB and 32GB pricing v. performance, you will likely conclude that you want the 32GB model. The 32GB model will leave an Intel DC S3700 100GB drive in the dust in terms of performance (more on this later.)

What we do like about this setup is the ability to get the benefits of PCIe pass-through disks at an extremely low cost. If you just want to learn NVMe pass-through, this may be the least expensive way to do so.

SHARE
Previous articleNew Intel DC P4600 and P4500 NVMe SSDs Launched: Moving to U.2
Next articleOpenIndiana 2017.04 Hipster Released

Patrick has been running STH since 2009 and covers a wide variety of SME, SMB, and SOHO IT topics. Patrick is a consultant in the technology industry and has worked with numerous large hardware and storage vendors in the Silicon Valley. The goal of STH is simply to help users find some information about server, storage and networking, building blocks. If you have any helpful information please feel free to post on the forums.

LEAVE A REPLY

Please enter your comment!
Please enter your name here