VM Performance between servers

Paging VM-Ware experts…

I know without knowing specifics about a setup it’s hard to determine an issue, but this is more about me learning what’s going on, which will propel me in the direction of finding a correct answer.

We have a 2012R2 Server running WSUS and a new Server 2019 that we are migrating WSUS to, both VM’s are on the same physical box. As the 2019 server is syncing as a downstream from the 2012R2 primary, it’s taking bloody forever. I started the sync around 10:30am and it’s done all of 17% and it’s not 2:15pm.

In my mind, 2 VM’s should be able to communicate and transfer data like it’s nothing. It’s all running in memory for the most part. Why is this acting like it’s trying to accomplish this task via dial-up?

I suspect that’s all Microsoft and has nothing to do with the physical hardware. What does VMware show as far as performance metrics on the VMs in question?

That’s a good question as the actual metrics aren’t enabled on any of the VM’s. Just the basic performance meters such as CPU usage, RAM usage, CPU Ready, etc.

Are any of those showing heavy usage?

No, not at all and that’s why I’m wondering about this. It’s just acting like it’s a 15yr old PC transferring via dial-up to a BBS or something. The network usage on the new 2019 VM is showing little to no data transfer, I mean like in the Kb/s, not what I would expect when synching an entire WSUS database across 2 VM’s.

Do you have any idle storage time (see resource monitor)?
How many pending io ops do you typically have, and what are the average read/write times?

On the 2019 server in Resource Monitor, Disk tab, under Storage, the drive the content is being installed to is fluctuating in Active Time from 0.00 to 0.05 maybe? It’s not doing much …

How well maintained is the original WSUS database? I don’t have the version I wrote anymore but a script to remove old updates and rebuild table indexes can make a night and day difference in terms of performance. Also, WID or SQL Server Express?

My guess is it’s not well maintained. I came in here in April 2021 and my supervisor about 2 yrs ago. His boss here, before he became the boss, was a fairly closed off admin and didn’t divulge much of anything about the network or how any of it was setup. So my current Admin here has had to figure out to a small degree how the systems work and has pretty much just worked at keeping it working, not optimized. Also, I think it’s using WID.

First disable any products you don’t actually need updates for, then clean up obsolete updates using the powershell cmdlet while using the parameters one at a time. I find the cleanup can timeout if you do it all at once. After cleaned, try using this query to rebuild the indexes. I think you will find it to be a lot faster. Also I suggest using SQL Express on the new server if you aren’t already, it will be faster than WID.

1 Like

Well, I started that process around 9am this morning. I did the CleanupObsoleteComputers and that took a whole 10 seconds. Then I started the CleanupObsoleteUpdates … it’s still going 6hrs later … this is gonna take forever.

And it’s still going? There’s no output from the Powershell window so I don’t know if it’s actually doing anything. It hasn’t reverted back to the PS command prompt, so I assume it’s still working? The SQL service is working at 50% CPU, so maybe?

Seems like it’s probably working then. I suppose you could have recreated the indexes first to help with fragmentation but water under the bridge I guess. Also I think this specific script is probably a more automated approach to maintenance. I referenced it when writing my own script. GitHub - awarre/Optimize-WsusServer: Comprehensive Windows Server Update Services (WSUS) cleanup, optimization, maintenance, and configuration PowerShell script.

And it’s still going … is there anyway to find out if it’s actually doing anything?