Hi guys.
Has anyone else had major performance problems with the Get-ScsiLun cmdlet? It may be somehow Windows Server 2016 related but post upgrading to Windows server 2016 and PowerCLI 10, I have found that the cmdlet performs probably 10 times slower (probably more) then it did in the past.
Thank you very much!
I agree that the Get-ScsiLun cmdlet is not fastest one, but I haven't noticed 10 x slower with PowerCLI 10.
Do you still have 2 PowerCLI versions installed?
If yes, can you do some comparative runs?
And is that only when you run it on W2K16?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Hey Luc, thanks for the reply!
I still have the bits for "VMware PowerCLI 6.5.1 build 5377412" which I re-installed on both W2k12R2 and W2k16. It definitely seems to be something in PowerCLI 10 cause on both OS versions the cmdlet performs notably faster in 6.5.1.
If the difference is quantifiable, I mean when you can show the difference in execution time with for example a Measure-Command, then I suggest you open a SR.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Hey man.
Ok.
So if I recall correctly, PowerCLI requires some form of special support (I think it was called SDK product support or something of that sort) if you want VMWare to look at it. (Support that I don't have).
I wanted to log an SR with VMware for integrated authentication not working with my vCenter Server 6.5 deployments and pretty much got 0 back because I didn't have the special support required...
No, PowerCLI support, as long as you can show it is an issue with a cmdlet and not your script, doesn't require a special support contract.
See also PowerCLI Support Breakdown
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Excellent Luc, I never knew about that. I'll do so and post back any feedback on that.
Thank you very much!
Further to the above. FYI...
6.5.1 :
PS C:\> Measure-Command {Get-VMHost esxjhbprw108 | Get-ScsiLun}
Days : 0
Hours : 0
Minutes : 0
Seconds : 0
Milliseconds : 657
Ticks : 6576562
TotalDays : 7,61176157407407E-06
TotalHours : 0,000182682277777778
TotalMinutes : 0,0109609366666667
TotalSeconds : 0,6576562
TotalMilliseconds : 657,6562
10:
PS C:\> Measure-Command {Get-VMHost esxjhbprw108 | Get-ScsiLun}
Days : 0
Hours : 0
Minutes : 0
Seconds : 15
Milliseconds : 261
Ticks : 152610132
TotalDays : 0,000176632097222222
TotalHours : 0,00423917033333333
TotalMinutes : 0,25435022
TotalSeconds : 15,2610132
TotalMilliseconds : 15261,0132
That is indeed a big difference :smileygrin:
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
