Should I buy ThinPrint? Real-world numbers

Those doing planning might well be interested in these stats from a real-world ThinPrint deployment in respect of how well it compresses jobs.

We started by testing a job typical of the users; a PDF consisting of scanned black and white pages. He we measured the data passed on the network for each of ThinPrint’s compression settings.

Setting Job size (%) Quality
None 100 Original
Optimal 90 Near perfect
Maximum 58 Good; useable
Extreme 19 Medium; readable
No images Not tested

Pretty decent, we thought, for a test document that is all A4 images. Now to try a pilot.

One all VDI office has 63 users. All of them use Wyse terminals, so using the ThinPrint compression built in to VMware View is not an option. We wanted to test whether or not ThinPrint was worth buying. Of the 63, 40 use only ThinPrint printers. For them, their print jobs go from VM to the .print Engine for VMware View in the datacentre, to the Windows print server in the office. The others print direct from their VDI desktop hosted in the datacenter to the Windows print server in the office.

There are four printers, three HP A4 monochrome lasers and one Xerox A3 colour printer (with the colour drums removed…). Each printer is accessible via ThinPrint and directly. ThinPrint is set to ‘Optimum’ compression.

I dragged out the stats on the amount of print data transferred for each of six consecutive business days:

Day ThinPrint data (b) Uncompressed data (b)
1 26340958 234708630
2 67133657 121979299
3 113838547 189902846
4 46067764 145088982
5 42741516 155059692
6 55769733 172241368

Not that interesting in and of itself, unless you know how many jobs were sent by each method, but it gave me an idea of the degree of variability. So then I chose to look into day 6 a bit further.

Type Data (Kb) Jobs Avg. size (Kb/job)
Original job as listed in event viewer 1556467 277 5619
Uncompressed print data over network 168204 186 904
Compressed print data over network 54462 277 196
  Total: 463  

So over that day over a whole range of print jobs, the average ThinPrint job was 21% of the size of the normal job. Pretty good – and much better than the 90% we experienced with the single test document. This shows if you want to test its performance, use a real world selection of documents.

The real question is, if I switch all the office to ThinPrint, or abandon it altogether, what is my predicted print data for a day?

Type Jobs Avg. size (Kb/job) Predicted data (Kbits) Flat rate (Kbps)
Uncompressed 500 904 3617300 125
Compressed 500 197 786464 27

Hmmm. The amount of data transferred over the line would be equivalent to a constant background rate of 125Kbps. I know my print traffic is peaky, but QoS settings on the link will smooth that out. That’s just 6% of a 2Mbps line for 60 people. Hardly a killer. In fact, since we can only get 30 RDP sessions on a 4Mbps line, I will need 8Mbps of capacity for my 60 users, making the print traffic just 3% of my line.

What about the other features of .print Engine for VMware View? We pretty quickly had to abandon driver-free printing to get features such as double-sided printing and A3 to work, and none of the other features have been of any practical use to me. You might find the ability to limit the print traffic to a certain rate useful if you don’t have that level of control over your line.

At €23 per user, and my SDSL line at €200 per month, it would take me 19 years to recoup my investment in ThinPrint. I think I’ll pass, thanks…

Ian

vSphere Security Hardening Guide script by @lamw

A couple of weeks ago I blogged about the vSphere Security Hardening Guide. Just a couple of days later William “the king of Perl” Lam already produced a script that checks the Hardening Guide best practices against your environment. It produces a great html based report.

Source

While going through the COS/HOST and VM documentation, I noticed there were quite a few checks that might benefit from having a script to validate the guidelines and that was the motivation for this script. Not all sections can be validated using the vSphere APIs and will require some manual validation and I’ve seperated the types of passes whether it’s a fail, pass or manual (which requires user intervention).

The script allows you to run the current existing guides as of (01/29/2010) against vCenter 4.0 hosting ESX(i) 4.0 hosts/virtual machines OR run it against an individual ESX(i) 4.0 host. The script allows you to run a subset of the checks and against different type of validation (ENTERPRISE,DMZ or SSLF). Upon completion, a report is generated including a grade for your environment.

A couple of details on the features:

  • Email report
  • Ability to execute subset of the checks (COS,HOST,VCENTER,VNETWORK,VM)
  • Ability execute specific test suite (ENTERPRISE,DMZ,SSLF)
  • Detail HTML summary report with letter grade

You can find an example report here. Great work again William, keep it up!

Storage Masking?

I received a bunch of questions around storage masking over the last couple of weeks. One of them was around VMware’s best practice to mask LUNs on a per cluster basis. The best practice has been around for years and basically is there to reduce conflicts. More hosts accessing the same LUNs means more overhead, just to give you an example every 5 minutes a rescan of both HBAs takes place automatically to check for dead storage paths. You can imagine that there’s a difference between 32+ hosts accessing your storage or limiting it to for instance 16 hosts.

The obvious next question is, won’t I lose a lot of flexibility? Well in a way you do as a simple VMotion to another cluster will not work anymore. But of course there’s always a way to move a host to a different cluster. In my design I usually propose a so called “Transfer Volume”. This Volume(NFS or VMFS) can be used to transfer VMs to a different cluster. Yes there’s a slight operational overhead here, but is also reduces overhead in terms of traffic to a LUN and decreases the chance of scsi reservation conflicts etc.

Here’s the process:

  1. Storage VMotion the VM from LUN on Array 1 to Transfer LUN
  2. VMotion VM from Cluster A to Cluster B
  3. Storage VMotion the VM from Transfer LUN to LUN on Array 2

Of course these don’t necessarily need to be two separate arrays, it could just as easily be a single array with a group of LUNs masked to a particular cluster. For the people who have a hard time visualizing it:

Close
transfer lun concept

Win an Apple iPad for you and your friends!

This is just a reminder. The ESXi scripting contest is still running.  Make sure you enter the competition. So far not many people have so chances of winning are pretty big!

VMware challenges you to build the best, most creative ESXi management scripts possible. The goal of the ScriptoMania contest is to help our wider community adopt ESXi by providing useful, fun and powerful scripts to manage the ESXi platform. The best part is that we give our winners bragging rights and we put some hard cold cash in your pockets. Are you up to the challenge?

Contest Overview:

E1000 and dropped rx packets

At a customer site we received several notifications of performance issues with a VMware VI3 environment. After having checked the configuration of the VMs and the Hosts we decided to dive into esxtop. At first sight we did not see any abnormalities. Low %RDY, which is usually the first thing I check, some swapping but not enough to cause any major delays. The weird thing about this one is that it seemed that only when IP was sent/received the VM felt sluggish. As we could not reproduce the issue we decided to start esxtop in batchmode and use esxplot and perfmon to get to the bottom of it. Soon we found what the issue was, receive packets were being dropped at the vSwitch level.

The following screenshot depicts the symptoms.

In other words, at times an enormous amount of received packets were dropped. After some research I found an article which actually describes this behavior. (http://kb.vmware.com/kb/1010071) We tried increasing the buffer size for the E1000 virtual network adapter this VM was configured with but it did not resolve the issue. As there were other drivers mentioned in the post we decided to “upgrade” the NIC to a “vmxnet” NIC and this actually resolved the issue. Although performance is not where we expected it would be yet we are not seeing any dropped packets anymore and can focus on the next possible cause.

RVTools 2.8

Rob de Veij just released a brand new version of RVTools. Download it while it is still hot! Please note that this application supports ESX(i) Server 3.5 and vCenter 2.5. vSphere 4 is in experimental support.

Latest Version: 2.8 | January 31, 2010
Download | Documentation

  • On vHost tab field “# VMs” now only powered on VMs are counted.
  • On vHost tab field “VMs per core” now only powered on VMs are counted.
  • On vHost tab field “vCPUs per core” now only powered on VMs are counted.
  • On vDatastore tab field “# VMs” now only calculated for VM’s which are powered on.
  • Health check “Number of running virtual CPUs per core” now only powered on VMs are counted.
  • Health check “Number of running VMs per datastore” now only powered on VMs are counted.
  • During Installation there will be an application event source created for RVTools. This to fix some security related problems.
  • Some users run into a timeout exception from the SDK Web server. The default web service timeout value is now changed to a higher value.
  • New fields on vHost tab: NTP Server(s), time zone information, Hyper Threading information (available and active), Boot time, DNS Servers, DHCP flag, Domain name and  DNS Search order
  • New Health Check: Inconsistent folder names.
  • Improved exception handling on vDisk, vSwitch and vPort tab pages.

VMware vCenter Lifecycle Manager (LCM) 1.1

VMware has just released LCM 1.1.

What’s new?

VMware vCenter Lifecycle Manager (LCM) 1.1 release enhances the performance, robustness, and scalability of LCM and resolves a number of known issues.

The LCM 1.1 release runs on VMware vCenter Orchestrator 4.0.1. To run LCM 1.1, you must install the version of Orchestrator (4.0.1 Build 4502) that accompanies the LCM 1.1 download. See the vCenter Lifecycle Manager 1.1 Installation and Configuration Guide for installation instructions.

Download now.

http://www.vmware.com/support/pubs/lcm_pubs.html

VMware vCenter Lifecycle Manager Release Notes
VMware vCenter Lifecycle Manager Installation and Configuration Guide
VMware vCenter Lifecycle Manager Administration Guide
VMware vCenter Lifecycle Manager User’s Guide

Subscribe to RSS Feed Follow me on Twitter!