1 2 Previous Next 27 Replies Latest reply on Oct 25, 2019 11:05 AM by ap_idb

    Interactive Session Logon time

    alsmk2 Enthusiast

      This is not really a question relating to UEM, more vrealize / View in general; however, I thought this seems to be the most obvious place to post as folk in here are far more obsessed with logon times and probably better placed to help.

       

      I've been tweaking some existing UEM & App Volume deployments to try and optimize logon times as best as possible with some good success. By tweaking some of the UEM configs, I'm able to get logon times from 90 seconds to around 30- 40 seconds. However, I'm struggling to reduce the interactive session logon time at all. Vrops is showing many users interactive times as being as high as an additional 150 seconds. What I can't figure out is what effects this part of the process.

       

      There's very little detail on what VMware define the Interactive Session Logon time metric as (as in zero reference). I've found the definition Citrix use, which is that is the time between a user seeing the VDI desktop and being able to use the mouse/kb to interact with it. Is this true in the Horizon world?

       

      More to the point, does anyone have any idea of what specifically happens during this period? Do App Stack attachments happen in this section, or anything else that I can start to look at?

        • 1. Re: Interactive Session Logon time
          SummaCollege Enthusiast

          Although i can't really help you out regarding the Interactive Session Logon time, i do want to ask you a question if you don't mind?

          You mention that you tweaked some of the UEM configs to get faster logon times. As we are also in the tweaking phase of our VDI project, is it possible for you to share some of the tweakes you did? Thanks in advance!

          • 2. Re: Interactive Session Logon time
            alsmk2 Enthusiast

            Sure - they were pretty basic tweaks based on the largest config files we were seeing, so may not apply to your environment:

             

            1. Chrome - implemented the config file I've mentioned in the comments here (Not the Chrome.zip available for d/l), and configured it for Direct Flex (Export at logoff):

             

            https://communities.vmware.com/docs/DOC-31428?et=watches.email.document_comment#comment-40480

             

            Anywhere from 30 seconds + off the logon times.

             

            2. Excel - exclude *.xlsb from the config (but specifically include PERSONAL.XLSB) - this may be specific to our builds, but for a long time we've noticed UEM hanging on to a lot of spurious autosave files.

             

            10 - 15 seconds

             

            3. Used UEM to add the following registry key:

             

            HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

             

            DWORD: DelayedDesktopSwitchTimeout

            Value=2

             

            I have also seen reference to adding this to HKLM, so you could try it in your gold image; however, under HKCU it still knocked off an average of 5-10 seconds per logon.

             

            With the above, I'm now at a point where logons are fairly quick, and we're stuck waiting for app volumes to catch up instead.

            • 3. Re: Interactive Session Logon time
              Ray_handels Master
              Community WarriorsvExpert

              Try going for Appvolumes 2.13, not quite sure if you already have that.

              There was a major fix in the way Appvolumes handles very large registry hyves using the reverse recplicate setting. We now see 30 second logon times with 5 to 6 appstacks attached an 1 writable. Of these 30 seconds appvolumes only runs for about 20 to 25 seconds. With 2.12 this used to be a lot longer and we even had to set the VolWaitTimeOut=10 setting.

              • 4. Re: Interactive Session Logon time
                alsmk2 Enthusiast

                2.13 is in the pipeline - unfortunately, it still needs to go through thorough testing, as we find even incremental updates to App Volumes seem to introduce new bugs as quickly as old ones are fixed.

                • 5. Re: Interactive Session Logon time
                  Ray_handels Master
                  vExpertCommunity Warriors
                  2.13 is in the pipeline - unfortunately, it still needs to go through thorough testing, as we find even incremental updates to App Volumes seem to introduce new bugs as quickly as old ones are fixed.

                   

                  Euhm well yeah I do feel your pain there.

                  We have seen quite the versions and quite the bugs as well. But I must say that version 2.13.1 is very stable and does what it needs to do. I am pretty happy with it.

                  • 6. Re: Interactive Session Logon time
                    alsmk2 Enthusiast

                    Finally moved to 2.13 and haven't noticed any difference when using user assignments. It has improved logon times, but that is because some of the app stacks are now done via computer assignment instead,

                     

                    In terms of interactive logon times, we are still seeing issues with this. Both vRealize and the view helpdesk show that these can be anywhere between 70 and 200 seconds in length. Still struggling to figure out what it is doing during this phase.

                     

                    We have also noticed an overall increase in logon times to just over a minute now - it appears that the new horizon helpdesk functionality launches a script at logon which accounts for about 10 - 15 seconds extra per logon. Not best please with that as it looks like there is no way to disable it. :/

                    • 7. Re: Interactive Session Logon time
                      Vkmr Expert

                      Hi,

                       

                      if you are on Horizon View 7.1 and up, you can get logon log's from logon monitor tool which is sub component of view agent, you can find that information under view agent logs, let me know if you are not able to find it.

                       

                      one more thing, is long log-on time is facing by everyone or few users or particular use case users?

                       

                      Thank you,

                      Vkmr.  

                      2 people found this helpful
                      • 8. Re: Interactive Session Logon time
                        SchwarzC Enthusiast

                        Just my 2 cents on this topic - do not fortget about your AntiVirus Solution.

                         

                        We where trying to push the login times to ~30 seconds and for us the biggest part was exclusions and setting in the AV rather than in the Windows part.

                         

                        BR

                        2 people found this helpful
                        • 9. Re: Interactive Session Logon time
                          alsmk2 Enthusiast

                          The average logon time is 73 seconds at the moment, though quite a few users go up to 100+.

                           

                          Pretty much everything in UEM that can use DF is now using it, which did help. For the users with higher logon times, we can see that they usually have more than one appstack applied as a user entitlement; however, vrealize is reporting an average appstack connection time of 6 - 10 seconds, which doesn't really tally up with what we've noticed.

                           

                          The helpdesk tool / agent logon logs do display similar stats to vrealize, though there is a variance of a few seconds. Neither tool really helps me clarify what is happening during the interactive logon phase.

                           

                          In regard to Anti-Virus, this has been checked in the past, but I've resent a list of necessary exclusions just to triple check that they are actually in place.

                          • 10. Re: Interactive Session Logon time
                            DEMdev Master
                            VMware Employees

                            Hi alsmk2,

                             

                            Out of interest, how much of those 73-100+ seconds is consumed by UEM at logon, i.e. how long do the path-based imports take?

                            • 11. Re: Interactive Session Logon time
                              alsmk2 Enthusiast

                              Where about would I see that statistic out of interest? Would that be mentioned in the UEM logs or somewhere else?

                              • 12. Re: Interactive Session Logon time
                                alsmk2 Enthusiast

                                The other thing I failed to mention is that since going to View 7.3, we've noticed that a script runs for V4V Helper (the helpdesk tool) at logon - this seems to take around 10 - 15 seconds to run, and appears to hold up the logon process.

                                 

                                I'm pretty sure if we hadn't upgraded View and had just done AV to 2.13.1, that logon times would have seen a bigger decrease because of the lack of the v4v script running. It appears there is no way to stop it running, and in all honesty, the helpdesk tool is too useful to try and stop it anyhow. Has anyone else noticed the same thing?

                                • 13. Re: Interactive Session Logon time
                                  ijdemes Expert
                                  vExpert

                                  You can find this in the FlexEngine.log file.

                                   

                                  Just check for "Done" and it mentions the amount om miliseconds it took for import.

                                   

                                  1 person found this helpful
                                  • 14. Re: Interactive Session Logon time
                                    DEMdev Master
                                    VMware Employees

                                    Hi alsmk2,

                                    Where about would I see that statistic out of interest? Would that be mentioned in the UEM logs or somewhere else?

                                    Indeed, that's logged in the FlexEngine log file, like 2018-01-03 18:40:59.879 [INFO ] Done (119 ms) [<<IFP#f80a71f8-2a01a]

                                     

                                    As for your question about Horizon's V4V Helper process: that's probably a question for the Horizon forum.

                                    2 people found this helpful
                                    1 2 Previous Next