VMware Horizon Community
whynotq
Commander
Commander

View 5 PCoIP performance issues

Having deployed a couple of users I am being shown browser related issues where there is notable "Lag" when scrolling, dragging or re-sizing windows in a PCoIP session.

I've tried the various PCoIP.adm tunings for image quality, fps, bandwidth, build to lossless....had a go with the PCoIP config tool on http://mindfluxinc.net/?p=338. all with no joy.

We have had the network thoroughly tuned today to remove various misconfigurations on the physical LAN that have cleared up a few minor points but my PCoIP is still a pain point. What we have looked at following the network work is the CPU and Memory, as a starting point the VM is a win7 64bit with 1 CPU and 1G Ram, we saw the CPU hit 100% when any drag operation takes place! so increasing the CPU count to 2 clears this and slightly improves the issue but clearly not a fix.

So from a fat a client (all testing done on both Fat and Zero clients) I connect using RDP and run the same tests. I see no lag, no choppyness and cpu around 40%. I have a call open with Teradici and have tried a different release of the PCoIP server but to no avail.

One thing we are looking at is the thread count for wsnm and pcoip and the files msvcrt.dll  and msvcp90.dll both of which have multiple threads and both multiple versions on the host being both x86 and AMD. Any one have any thoughts around these queries?

cheers in advance

Paul

0 Kudos
10 Replies
TomHowarth
Leadership
Leadership

Paul,  what is your core count commitment rate on this deployment?  also have you tuned the Virtual Guest?  What resolution are you driving PCoIP at?  the protocol is quite memory intensive, consider tweeking the graphics memony in the guest

Tom Howarth VCP / VCAP / vExpert
VMware Communities User Moderator
Blog: http://www.planetvm.net
Contributing author on VMware vSphere and Virtual Infrastructure Security: Securing ESX and the Virtual Environment
Contributing author on VCP VMware Certified Professional on VSphere 4 Study Guide: Exam VCP-410
0 Kudos
whynotq
Commander
Commander

Hi Tom,

core commit rate will be around 6-8 but currently only 10 users deployed across 4 hosts.  The guest has been tuned initially using the Quest Desktop Optimizer but am looking at anything we may have missed. PCoIP is autodetecting at the native rate of the screen connected to the zero client, memory seems ok when configured with 1G it runs steady at around 800MB when up to 2 GB it still sits in the mid 800s.

I'm back on site tomorrow so will be able to dig a bit deeper.

regards

Paul

0 Kudos
cshells
Enthusiast
Enthusiast

Paul,

I know this isn't much help in regards to an exact solution for your problem, but have you checked out the PCoIP log view tool?

http://mindfluxinc.net/?p=195

I started using this, and it gave me a good idea to what the PCoIP protocol was doing throughout the users session. Our logs were everywhere on the graph, which gave us a starting point that PCoIP was the problem with our users poor performance.

Our problem was related to traffic being routed through our security server and to an entire different site within our datacenter. We changed configurations and re-ran the log viewer which looked much better.

Cory

0 Kudos
whynotq
Commander
Commander

Thanks Cory, I'll take a look and see what it gives me, this seems to be internal to the guest as when Perfmon hits 100% VI client is only hitting ~ 75% CPU Usage.

Trying various tunings and CPU settings to see if i get any improvements, will keep this thread updated.

regards

Paul

0 Kudos
royberk
Enthusiast
Enthusiast

Look at your Zero client (Teradici) and see what the firmware version is. This may be an issue with the video that we experienced as well. We downgraded to the previous firmware version and this resolved a lot of the PCOIP through the Teradici harware issues

0 Kudos
whynotq
Commander
Commander

which version are you using as i have upgraded mine from 3.5.0 to 3.5.1 but happy to go back if it may fix this.

Ah forgot to mention, the problem exists with software client too so probably not the Teradici FW.

Paul

0 Kudos
RENEVANO
Contributor
Contributor

Paul,

Do you have a solutions for this problem, we are having te same problemen.

Grtz,

Rene

0 Kudos
btenney
Contributor
Contributor

Have you seen this or have this configured? I am fairly new to view but this is the first thing I had to do after getting things running. It was night and day with scrolling and dragging windows around.

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=201035...

0 Kudos
RENEVANO
Contributor
Contributor

I have already configured this. Today i have done soms testing and i found oud that when internet explorer 9 is install on the system. Browning was slow when i use internet explorer 8 and Firefox browning fast.

I think there is something in ie9 that is the problem.

0 Kudos
joshuatownsend
Enthusiast
Enthusiast

If you're looking to automate the fix for lag when dragging windows between monitors, I've written a powershell script - see here for more:

http://vmtoday.com/2012/07/lag-when-dragging-a-window-between-monitors-in-vmware-view/

Josh

If you found this or other information useful, please consider awarding points for "Correct" or "Helpful". Please visit http://vmtoday.com for News, Views and Virtualization How-To's Follow me on Twitter - @joshuatownsend
0 Kudos