Sluggish performance within Windows 7/10 VDI session (Non network related!)

I’ve come across this now with multiple customers. Most of the time it’s showing up when people are moving to windows 10, after experiencing poor performance with W7 desktop VMs and as part of the migration process, they buy all new tin.

They experience sluggish responses when opening various apps and for example with IE, it’s painfully obvious that something is wrong. It will spike the CPU to a high percentage, take quite a while to open, then the CPU will drop and it’ll be OK for browsing until more tabs are opened and similar behaviour will occur.

When this occurs, I always ask if there’s any resource pools set, any QoS or similar on the storage and so on, but generally, I know there isn’t. vSphere monitoring will show that everything is OK, so will anywhere you look within Horizon and vROPs. I’ll ask if the physical hardware has power management/saving on within the BIOS and I usually get the following answers:

“Oh, I’m sure it’s been turned off, but I didn’t build the servers”

“Yep, no power management, vSphere says so.”

“I don’t know. How do you even do that?”

“I’ve asked and they say it has been.”

Every time. Every. Time. 

It can be difficult to definitely show that this is the source of the problem when everything you have access to says it all should be OK, plus people also have many different levels of experience with these things. I came across it about 7 years ago when the company I worked for had a mix of Dell and HP servers and being a PC gaming enthusiast, I was always trying to eke out as much performance of a PC as I could, so I tried to do the same with servers – no overclocking though! So power saving settings would be the first thing to get turned off!

So if you’re experience similar problems, with apps spiking the CPU, being sluggish, then the CPU dropping, check your physical hardware to make sure power management isn’t set to power saving, it’ll save you a whole load of heart ache! This also applies to Citrix as well.

If you need proof of this, or want to check it, there’s various tools, but I always check using Systrack – we have a tool as part of the suite called Resolve, which allows for in-depth analysis of specific machines (as well as the ability to compare to other machines/groups) and this will show straight away if a machine is being throttled, or has memory ballooning. Throttling can also show if a CPU is overheating and the BIOS throttles it back to avoid shutting down – many a place have thought they need new machines, or new CPUs, but no, they simply need to get those dusty fans cleaned out!

throttle

May show up a little bit too small for some screens, but what you’d see, is the CPU is throttled to 66%. The CPU usage is low, but due to the throttling, the Thread count and interrupt per seconds are high. The CPU should be 100% or even higher with some modern CPUs, but unless you’re really trying to save some power… You don’t want it lower than 100%

What’s also interesting, is when people go back to the older servers with Windows 7 on and realise that the poor performance throughout, was also due to the power management not being turned off… as a fair few manufacturers ship hardware with this as default…

VMware SDDC Certificate Tool Fling

I think most people have had issues with replacing/updating certificates on the various virtual appliances that will be floating around their infrastructure, thankfully (and finally someone has done it!), there’s a fling created to help with this! Much kudos to the creators!

Replacing SSL certificates across VMware products is a manual and time-consuming process. The SDDC Certificate Tool automates this workflow and makes it easy to keep certificates across your SDDC up to date. It will replace all certificates in the supported products and reestablish trust between the components.

Supported Products

  • VMware Platform Services Controller (PSC)
  • VMware vCenter Server (VC)
  • VMware NSX for vSphere (NSX)
  • vRealize Log Insight (vRLI)
  • vRealize Operations Manager (vROps)
  • vRealize Automation (vRA)
  • vRealize Business for Cloud (vRB)

 

SDDC Certificate Tool

Visual ESXiTop

Not everyone likes digging into the VI/Command line, or it’s not always easy to get access, or the right person to do it…Then it’s even more awkward to get that information out to somebody…

 

Not anymore – thanks to the magic and hard work put into Flings!

https://labs.vmware.com/flings/visualesxtop

VisualEsxtop is an enhanced version of resxtop and esxtop. VisualEsxtop can connect to VMware vCenter Server or ESX hosts, and display ESX server stats with a better user interface and more advanced features.

Features

  1. Live connection to ESX host or vCenter Server
  2. Flexible way of batch output
  3. Load batch output and replay them
  4. Multiple windows to display different data at the same time
  5. Line chart for selected performance counters
  6. Flexible counter selection and filtering
  7. Embedded tooltip for counter description
  8. Color coding for important counters

Flings of the day!

OK, if you aren’t au fait with Vmware Flings, go here:

VMware Flings

They’re basically community built apps/tools developed and provided for free to enhance many of the features within vmware products.

Some of them you’ll never use and some of them will become invaluable.

Today, I’d like to share with you, a few of my favourites.

ESX Embedded host client

This is something that is really, really handy. I’ve been in situations where networking has been spotty and even physical connections via KVM haven’t been feasible, either due to being at the forefront of standing up new hardware, stood in a freezing cold DC in the middle of the night, secretly taking a bite out of a protein bar and a swig from the tesco finest diet energy drink before one of the engineers sees the Food/Drink alarm going off and comes to tackle you to the ground… Or just because everything has gone wappy and you can’t connect.

This installs something akin to the web based vSphere client, directly on the host, meaning no reliance on vcentre, or when the vSphere client is having issues, or your laptop doesn’t let you change the VLAN on your NIC etc – I just found it was another backup in case of emergency (and we all need those!)

My other favourite for Horizon View is…

Horizon Tool Box

It does Auditing…It does Power Policy…But most importantly…REMOTE SUPPORT AND CONSOLE ACCESS! In all fairness, the ability to power on machines at certain times etc is really useful… The remote access leverages MS remote support as well as allowing console access to shadow.

I’ve been involved with many View deployments where one of the first concerns of IT staff is “How do we remote on to users desktops?” – and this answers that question. It’s quick and easy. Just remember to actually read the instructions (I know, I know, that can be a difficult to motivate yourself to do!). One of the main problems comes when people don’t enable RDP on the desktops – just an FYI there 😉

View Client Resizer

I use a 2k monitor with a 4k laptop screen and as you can imagine, apart from the usual resolution/display scaling issues, it can be a right pain when working on multiple view sessions – especially when I forget the set the res to not full screen across my monitors, leading to a black screen and a broken connection – this little exe means you can manage all the sessions you have open and is a handy little tool!

 

Add multiple ESXi Hosts to vCenter (PowerCLI)

So if you’ve read some of my previous posts, you probably figured out that I’ve built a fair few environments from scratch and hate having to rinse and repeat manually. For my last infrastructure project I have some various scripts and tools to sort that out!

The following link lets you add ESXi Hosts to vCenter via PowerCLI, by Hostname range, IP Range, or text file/CSV. I used textfile and name using this method and it worked perfectly.

This ties in with DNS entry creation as well as it means you can quickly and easily add all your hosts and create the DNS entries for them as well.

Add Add multiple ESXi Hosts to vCenter with PowerCLI

DNS Bulk records creation