Jump to content
RESET Forums (homeservershow.com)
  • Written By: Timekills

    Does SSD caching, as enabled by the Intel Z68 chipset, speed up operations in a Hyper-V (virtualized) client on a Server 2008R2 host?

     

    The argument against using an SSD as a cache when using a motherboard with Intel’s new Z68 chipset is difficult to rebut. If you are using the system as a workstation, why not just install the OS to the SSD and reap the full speed benefits of the drive all the time? You can choose what additional programs you want on the SSD as well - certainly you know what programs you use most often, whether it be Photoshop or a game - and you’d want them to stay on that SSD so you can use the speed you shelled out the big bucks for, right? Intel will tell you that is why they set the minimum cache at only 20GB so you can use a cheap, small SSD. Well, one, they don’t really exist at this time. Two, the smaller the cache the less likely what you want cached is going to be actually, well, cached. And three, the Intel example 20GB SSDs are hardly inexpensive. So when would this be a benefit?

     

    How about if you could use that single SSD for speed across multiple OS’s/systems? Instead of getting SSD speed benefits on one system, if you could share that cache across four, five, or more PCs? The speed benefit shared by them all. Sure, none of them would have full SSD speed, but all of them could have the significant improvements claimed by Intel when caching is used. Magic? No. The way to this computing nirvana is using the cache on a drive that holds multiple virtual hard drives on a Z68 chipset enabled host. In this case, Windows Server 2008R2 with Hyper-V enabled.

     

    Environment:

     

    Motherboard: Gigabyte GA-Z68A-D3H-B3

     

    CPU: Intel 2500K

     

    RAM: 16GB G.SKILL Ripjaws F3-12800CL9D

     

    OS drive: 2x Seagate Momentus 7200.4 ST9160412AS 160GB 7200 RPM 16MB Cache 2.5" SATA 3.0Gb/s in a RAID1 config (enclosed in IcyDock 2-in-1 RAID enclosure)

     

    Data drive(s): 5x 2TB Samsung EcoGreen F4 HD2040UI in RAID 5 attached to HighPoint RocketRaid 2720 (6Gb/sec PCI-E 2.0 x8)

     

    VHD drive: 600GB WD6000BLHX 10K RPM 2.5” Velociraptor

     

    SSD: 60GB OCZ Vertex 2

     

    OS: (Host): Windows Server 2008R2 with Hyper-V enabled

     

    (Guests): -Windows Home Server 2011 (4GB RAM allocated static)

     

    -Windows 7 Ultimate x 3 (one for HTPC/TV recording, one for Minecraft server, one for editing)

     

    A little background on the Z68 caching as implemented currently. You have the option of using one SSD of 20GB or more (up to 64GB max for cache, although you can use any size SSD) as a cache for any onboard Intel SATA port. As I am using a 60GB SSD, I had the option of the caching program partitioning it into a 20 GB cache leaving 40GB usable as an additional hard drive, but I chose to use the entire SSD for caching.

     

    An obvious limitation is that the SSD cache can be used to cache the drive attached to one SATA port only. In a workstation environment typically this would be used with a large drive as the boot and storage drive and the SSD caching that drive. The question then is why not just install the OS on the SSD? In theory, if a smaller SSD is used, it could allow for better use than just the OS. But how would this be used in a server environment - especially a virtual host?

     

    I originally thought to cache the host OS drive, thinking the Hyper-V manager would see increased speeds, as well as the OS itself of course. Below I have some Crystal Disk Mark speed tests that show the results of caching the server OS drive (only using 20GB cache during these tests): The blue (first test) is no caching; the green is with caching:

     

    clip_image002clip_image004

     

    The laptop drives are a few years old, but they are 7200 RPM and no slouch, however the speed increases are quite impressive - not full GEN2 SSD speeds certainly but very fast. Especially interesting are the exponential increases in 4K read and write speeds.

     

    But what good is this really? The whole reason I used the laptop drives in RAID 1 as the host OS is because drive access for the host shouldn’t impact the virtual OS use; really the host OS is rarely used except for host maintenance which should be very rare. Is the speed increase cool - yes. Does it help? I did some empirical and subjective testing for virtual OS boot up and access times and found that it did indeed speed up access to the Hyper-V Manager, even when remotely managed from a separate workstation, but had little measurable and no noticeable impact on actual OS use or speeds.

     

    The second round of tests were where I hoped, and found, the results to be substantial and worthwhile for virtual OS use. This was accomplished by caching the virtual OS host drive, in this case the Velociraptor, with the hope/intent that the SSD would then be effectively caching all the virtual OS’s. This is also the reason I went with the full 60GB on the SSD (along with some concerns about TRIM, which I will address later.)

     

    Of course, the Velociraptor is a speedy little drive in its own right. If I had to do it over again, I’d not spend the money on the Velociraptor as it’s speed is wasted when used with caching. It is much more cost effective to use a standard SATA drive and the SSD caching as shown by the benchmarks. Again the blue is no caching and the green is with caching.

     

    clip_image006clip_image008

     

    The write speeds really threw me off. Certainly the read speeds are impressively fast, even given the Velociraptors impressive showing by itself, but why are the write speeds so low? In multiple tests I saw the write speeds as high as 145MB/sec in Sequential and around 90 MB/sec in 512K. On average the speeds were higher, but even so, only the speeds you’d get natively from the Velociraptor. However the 4K speeds are still much better, and lets remember this is completely random data - not exactly the point of caching. So how else to measure improvements, if any?

     

    There are many different benchmarking suites; none are universally accepted. More challenging is all the full suite Windows OS benchmarks require video capabilities that a virtual machine/OS just doesn’t have. So how does one test empirically the advantage of a cache? A common test is boot up time. What defines the complete boot process is debatable, but for my test I chose the Minecraft server. It automatically starts the Minecraft server Java program upon logon (auto-logon). I also wait for all system tray icons to complete: Splashtop Streamer, MS Security Essentials, and network connectivity. Times are as follows:

     

    No Cache: 39.50 sec 38.41sec 38.45sec average: 38.77 seconds

     

    Cache: 31.96sec 29.90sec 28.83sec average: 30.23 seconds

     

    May not seem significant, but that is a 22% decrease in boot time.

     

    Another example is file transfer time - this is a real world example of why the Crystal Disk Mark synthetic speeds aren’t indicative of how much faster the systems are with the caching enabled.. While moving a WHS V1 ISO (a PP3 plus updated version I have) that was about 2.2GB from my RAID drive to the V (cache enabled) drive to use as an install for a new virtual machine, I averaged 320 MB/sec speeds! Obviously it was writing from the RAID directly to the cache, but it was instantly usable.

     

    TRIM. The bane of SSDs is the garbage that collects on them slowing them down over time. Bad enough on a dedicated OS drive where there is relatively little change, but a cache? Isn’t that exactly the type of use that will quickly kill a non-TRIM enabled SSD? And the SATA port has to be RAID enabled to use it, which has been a no-go for TRIM. Fear not. Server 2008R2 reports DisableDeleteNotify=0 which means TRIM is enabled, even though the SATA ports must be set to a RAID state. OCZ’s Toolbox after all the testing showed just over 520GB of data written to and over 480GB of data read from the SSD with 100% life remaining. I saw no decrease in speeds during the testing. Admittedly I haven’t had the system in use long enough to say for sure it is working, but I have every reason to believe it is. Time will tell. However as I am using the full 60GB for cache it is only a matter of disabling the acceleration using the IRST software in the host OS and running an SSD cleaning tool to bring it back to new. We’re talking less than 10 minutes of time. I don’t believe that will be necessary.

     

    Ultimately it still comes down to whether you want to spend the money on an SSD to use it for caching. The argument still stands that if you are buying it for a workstation, you’d be better off just installing the OS on the SSD and getting the full speed benefits of the drive. However, I think a virtual environment such as the one tested is the perfect use. Rather than getting great speed on one OS and normal speed on the others, now multiple OS’s can benefit and see speed improvements from one relatively low-cost SSD. Worth it? Yes.

     Share


    User Feedback

    Recommended Comments

    The SSD is on a 3Gb controller, while the Raptor is on on of the 6Gb controllers.. I wanted to see if it would work across different controllers as long as they were all Intel.
    Link to comment
    Share on other sites

    Nice write up. Just one question. My understanding is the SSD can accelerate a port or a volume on the Z68. So if you have a RAID volume on the Z68, you can use the SSD to accelarate that volume. From what I have read, you must let the raid volume complete its initialisation process first. Once that is done, the option to accelarate the volume is activated.
    Link to comment
    Share on other sites



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

  • Our picks

    • I throw this out every once in a while.  Is anyone interested in writing up "semi-formal" reviews here on the forums?  I say semi-formal because they don't have to be pro level, just a good attempt at telling the story about the gear.  Something you have purchased lately.  You don't have to go buy stuff, just incorporate what you have already have purchased.  Hit me up with any questions.  You never know where it will lead!
        • Like
      • 3 replies
    • D-Link has dropped a couple of new products and additions to their lineup of smart home gear.  Hold on because there is a lot of gear!
      Let's start with cameras.  D-Link has new Wi-Fi cameras, the Full HD Pan and Tilt Pro Wi-Fi Camera (DCS-8302LH) and Full HD Indoor and Outdoor Pro Wi-Fi Camera (DCS-8526LH).  These are not just new, and good looking cams, they can now perform people detection and glass break detection.  The new cameras also feature expanded ways for customers to save video, including ONVIF Profile S, which enables custom storage and streaming options to personal NAS devices, built-in storage microSD capacity up to 256 GB, as well as free and paid cloud storage options. 
       

       
      This year's camera models include both an indoor and an outdoor model. The outdoor model features a spotlight and siren that can be triggered when motion is detected, deterring potential intruders. The indoor model pans around to give a full 360-degree view of any room and tracks motion. Both include two-way audio. 
      Full HD Pan and Tilt Pro Wi-Fi Camera is the model (DCS-8302LH), available in Q2, 2020, and retail pricing will be $99.99.
      Full HD Indoor and Outdoor Pro Wi-Fi Camera is the model (DCS-8526LH), available in Q3, 2020, and retail pricing will be $119.99.
      One of my favorite products is Wi-Fi.  D-Link has a whole lot of new products coming including Wi-Fi 6, Mesh, Alexa and Google Assistant integration, IFTTT, Parental Controls, and more!
       

       
      There are so many new SKU's that I can't make heads or tails of them!  I'm going to be speaking with D-Link more this week and will sort all of these out. I do want you to see all they are offering and what the release date and projected retail pricing will be.

      AC1900 Scalable Mesh Wi-Fi Router (COVR-1900-US), Q1 2020, $119.99
      AC1750 Mesh Wi-Fi Router (DIR-1750-US), Q1 2020, $99.99
      AC1900 Mesh Wi-Fi Router (DIR-1950-US), Q1 2020, $119.99
      AC1750 Mesh Wi-Fi Range Extender (DAP-1755-US), Q1 2020, $99.99
      AC1950 Mesh Wi-Fi Range Extender (DAP-1955-US), Q1 2020, $109.99
      Smart AX1500 Mesh Wi-Fi 6 Router (DIR-X1560-US), Q1 2020, $119.99
      Smart AX1800 Mesh Wi-Fi 6 Router (DIR-X1870-US), Q2 2020, $139.99
      Smart AX2400 Mesh Wi-Fi 6 Router (DIR-X2460-US), Q3 2020, $159.99
      Smart AX5400 Mesh Wi-Fi 6 Router (DIR-X5460-US), Q1 2020, $279.99
      AX1800 Mesh Wi-Fi 6 Range Extender (DAP-X1870-US), Q2 2020, $129.99
      AX1800 Whole Home Mesh System (COVR-X1872-US), QX22020, $269.99
        • Like
      • 0 replies
    • RESET Merch Shop
      Get ya Merch here!  I've created a T-Shirt shop with the famous RESET paperclip. I've pasted that clip on just about everything so you can wear it around town!  Cable bags, Coffee Mugs, T-Shirts, and more. 
       
      https://reset.threadless.com/
       
      or you can get it it via
       
      https://reset.fm/store
       
      Here is the main design.
       

       
      Below is a part of the order that I put in!  
       
       

       
      The Heather Grey above is the Extra Soft version and it is awesome.  I highly recommend the softness!    The "Chili Red" is the Tri-Blend and probably my favorite feel and color.

       
      This is the Zip-Up Hoody, Heather Indigo, Sponge Fleece, Men's, Large.  In my podcast I couldn't remember what style it was but it is Sponge Fleece. It's REALLY soft on the inside. Soft outside as well. The only problem is with the zip up hoody the logo is on the back. Regular hoody, it will be on the front.
       
      https://reset.threadless.com/
       
      or you can get it it via
       
      https://reset.fm/store
       
      Thank you for supporting this community. Everything you purchase will help keep the lights on the hard drives spinning.
       
      • 0 replies
    • OneDrive Personal Vault and expandable storage
      Microsoft's OneDrive has a few new features and options worth pointing out.  Personal Vault and Expandable Storage.
       
      Personal Vault is a protected area in OneDrive that can only be accessed with a strong authentication method or a second step of identity verification, such as your fingerprint, face, PIN, or a code sent to you via email or SMS. 
       
      Personal Vault gives you an added layer of protection for your most important files, photos, and videos—for example, copies of documents such as your passport, driver’s license, or insurance information—should someone gain access to your account or device.
      Plus, this added security won’t slow you down. You can quickly access your important documents, photos, and files with confidence wherever you are, on your PC, OneDrive.com, or your mobile device.

       
      Beyond a second layer of identity verification, Personal Vault also includes the following security measures:
       
      Scan and shoot—Using the OneDrive app, you can scan documents or shoot photos directly into your Personal Vault, keeping them off less secure areas of your device, like your camera roll.
      Automatic locking—No need to worry about whether you left your Personal Vault or your files open—both will close and lock automatically after a period of inactivity.
      BitLocker encryption—On Windows 10 PCs, OneDrive automatically syncs your Personal Vault files to a BitLocker-encrypted area of your local hard drive.
      Restricted sharing—To prevent accidental sharing, files in Personal Vault and shared items moved into Personal Vault cannot be shared.
       
      Taken together, these security measures help ensure that Personal Vault files are not stored unprotected on your PC, and your files have additional protection, even if your Windows 10 PC or mobile device is lost, stolen, or someone gains access to it or to your account.
       
      Expandable Storage
       
      If you are and Office 365 Subscriber you get 1 TB of OneDrive storage space with all the other Office goodies like Word, Excel, etc.  I know personally that I have gone over the 1TB limit and have always wanted to be able to add additional storage to my account.  Now you can!

       
      Pick and option and keep on hoarding, errr, I mean saving! Cancel anytime, upgrade at any moment.
      • 1 reply
    • Ubiquiti adds new items to the Unifi Line including UAP Flex HD and the Unifi Dream machine
      Ubiquiti has been busy.  There area ton of new items to recently released and I'm going to share two of my favorites.
       
      The UAP Flex HD and the Unifi Dream machine. The Flex HD is a mouthful of descriptors like most of UI gear is.  It's a 2Ghz 2x2 MIMO, 5GHz 4x4 MU-MIMO, POE, Indoor/Outdoor, multi mount, mesh point that is no bigger than a can of Coke.

       
      You will still need the Unifi controller although you can configure it with basic functionality with the Unifi App.  I've always found it's best to configure with your controller and then use the app as an add-on.  There are several mounting options that include sitting it on a shelf! That is something that Unifi has not had before unless you count the ceiling AP I have awkwardly mounted placed on top of a few books.  It can be found on the Unifi store for $179.
       
      https://store.ui.com/collections/wireless/products/unifi-flexhd
       
      The Dream Machine is an altogether different beast that I hope lives up to its naming.  This is the gateway drug, for lack of a better term, to the Unifi world.  The starter kit.  It is an Access Point, Gigabit Switch, Security Gateway, and the Cloud Key all in one package.  The latter being the most significant as this is something that has deterred new users from getting started with Unifi.  Requiring new users to purchase a $100 item just to run the AP's has been somewhat of a roadblock in the past.  Granted, that is improving every year with the ability to run it in the cloud, on a NAS, a Pi, Docker, MacOS, and of course Windows, it is still a barricade to getting up and running when manufacturers such as Eero offer simplicity in an app.
       

       
      The switch includes 4 LAN Ports and 1 WAN port.  All of which are Gigabit and security services such as IPS are rated at Gigabit speed. It's $299 in the Unifi store but I'm unsure how nicely it will play with other Unifi gear.  This may be a nice "first AP" with its built in Cloud Key if you can add additional units or other Unifi access points.
       
      https://store.ui.com/collections/routing-switching/products/unifi-dream-machine
      • 4 replies
×
×
  • Create New...