Home
%3CLINGO-SUB%20id%3D%22lingo-sub-723952%22%20slang%3D%22en-US%22%3EThe%20Case%20of%20the%20Slow%20Project%20File%20Opens%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-723952%22%20slang%3D%22en-US%22%3E%0A%20%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CSTRONG%3E%20First%20published%20on%20TechNet%20on%20Dec%2006%2C%202010%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%3CP%3EIf%20you%E2%80%99ve%20seen%20one%20of%20my%20Case%20of%20the%20Unexplained%20presentations%20(like%20the%20one%20I%20delivered%20at%20TechEd%20Europe%20last%20month%20that%E2%80%99s%20posted%20for%20%3CA%20href%3D%22http%3A%2F%2Fwww.msteched.com%2F2010%2FEurope%2FWCL301%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20on-demand%20viewing%20%3C%2FA%3E%20)%2C%20you%20know%20that%20I%20emphasize%20how%20thread%20stacks%20are%20a%20powerful%20troubleshooting%20tool%20for%20diagnosing%20the%20root%20cause%20of%20performance%20problems%2C%20buggy%20behavior%2C%20crashes%20and%20hangs%20(I%20provide%20a%20brief%20explanation%20of%20what%20a%20stack%20is%20in%20the%20TechEd%20presentation).%20That%E2%80%99s%20because%20often%20times%20the%20explanation%20for%20a%20process%E2%80%99s%20behavior%20lies%20in%20the%20code%20it%20loads%2C%20either%20explicitly%20like%20in%20the%20case%20of%20DLLs%20it%20depends%20on%2C%20or%20implicitly%20like%20for%20processes%20that%20host%20extensions.%20This%20case%20is%20another%20demonstration%20of%20successful%20stack%20troubleshooting.%20It%20also%20shows%20how%20a%20little%20time%20troubleshooting%20to%20get%20a%20couple%20of%20clues%20can%20quickly%20lead%20to%20a%20solution.%3C%2FP%3E%0A%20%20%3CP%3EThe%20case%20opened%20when%20the%20customer%2C%20a%20network%20administrator%2C%20contacted%20Microsoft%20support%20because%20a%20user%20reported%20that%20Microsoft%20Project%20files%20located%20on%20a%20network%20share%20were%20taking%20up%20to%20a%20minute%20to%20open%20and%20about%201%20in%2010%20times%20the%20open%20resulted%20in%20an%20error%3A%3C%2FP%3E%0A%20%20%3CP%3E%3CIMG%20alt%3D%22image%22%20border%3D%220%22%20height%3D%22147%22%20original-url%3D%22http%3A%2F%2Fblogs.technet.com%2Fcfs-file.ashx%2F__key%2FCommunityServer-Blogs-Components-WeblogFiles%2F00-00-00-52-36-metablogapi%2F3704.image_5F00_thumb_5F00_0D203821.png%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F121250iE90D8AEE193B3ED1%22%20style%3D%22background-image%3A%20none%3B%20border-right-width%3A%200px%3B%20margin%3A%20%3B%20padding-left%3A%200px%3B%20padding-right%3A%200px%3B%20display%3A%20inline%3B%20border-top-width%3A%200px%3B%20border-bottom-width%3A%200px%3B%20border-left-width%3A%200px%3B%20padding-top%3A%200px%22%20title%3D%22image%22%20width%3D%22384%22%20%2F%3E%3C%2FP%3E%0A%20%20%3CP%3EThe%20administrator%20verified%20the%20issue%2C%20checked%20networking%20settings%20and%20latency%20to%20the%20file%20server%2C%20but%20could%20not%20find%20anything%20that%20would%20explain%20the%20problem.%20The%20Microsoft%20support%20engineer%20assigned%20to%20the%20case%20asked%20the%20administrator%20to%20capture%20a%20%3CA%20href%3D%22http%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Fsysinternals%2Fbb896645.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20Process%20Monitor%20%3C%2FA%3E%20and%20Network%20Monitor%20traces%20of%20a%20slow%20file%20open.%20After%20receiving%20the%20log%20a%20short%20time%20later%2C%20he%20opened%20the%20log%20and%20set%20a%20filter%20to%20include%20only%20operations%20issued%20by%20the%20Project%20process%20and%20then%20another%20filter%20to%20include%20paths%20that%20referenced%20the%20target%20file%20share%2C%20%5C%5CDBG.ADS.COM%5CLON-USERS-U.%20The%20File%20Summary%20dialog%2C%20which%20he%20opened%20from%20Process%20Monitor%E2%80%99s%20Tools%20menu%2C%20showed%20significant%20time%20spent%20in%20file%20operations%20accessing%20files%20on%20the%20share%2C%20shown%20in%20the%20File%20Time%20column%3A%3C%2FP%3E%0A%20%20%3CP%3E%3CIMG%20alt%3D%22image%22%20border%3D%220%22%20height%3D%22174%22%20original-url%3D%22http%3A%2F%2Fblogs.technet.com%2Fcfs-file.ashx%2F__key%2FCommunityServer-Blogs-Components-WeblogFiles%2F00-00-00-52-36-metablogapi%2F2337.image_5F00_thumb_5F00_005354D4.png%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F121251i2CA98503F43227FA%22%20style%3D%22background-image%3A%20none%3B%20border-right-width%3A%200px%3B%20margin%3A%20%3B%20padding-left%3A%200px%3B%20padding-right%3A%200px%3B%20display%3A%20inline%3B%20border-top-width%3A%200px%3B%20border-bottom-width%3A%200px%3B%20border-left-width%3A%200px%3B%20padding-top%3A%200px%22%20title%3D%22image%22%20width%3D%22554%22%20%2F%3E%3C%2FP%3E%0A%20%20%3CP%3EThe%20paths%20in%20the%20trace%20revealed%20that%20the%20user%20profiles%20were%20stored%20on%20the%20file%20server%20and%20that%20the%20launch%20of%20Project%20caused%20heavy%20access%20of%20the%20profile%E2%80%99s%20AppData%20subdirectory.%20If%20many%20users%20had%20their%20profiles%20stored%20on%20the%20same%20server%20via%20folder%20redirection%20and%20were%20running%20similar%20applications%20that%20used%20stored%20data%20in%20AppData%2C%20that%20would%20surely%20account%20for%20at%20least%20some%20of%20the%20delays%20the%20user%20was%20experiencing.%20It%E2%80%99s%20well%20known%20that%20redirecting%20the%20AppData%20directory%20can%20result%20in%20performance%20problems%2C%20so%20based%20on%20this%2C%20the%20support%20engineer%20arrived%20at%20his%20first%20recommendation%3A%20for%20the%20company%20to%20configure%20their%20roaming%20user%20profiles%20to%20not%20redirect%20AppData%20and%20to%20sync%20the%20AppData%20directory%20only%20at%20logon%20and%20logoff%20as%20per%20the%20guidance%20found%20in%20this%20Microsoft%20%3CA%20href%3D%22http%3A%2F%2Fblogs.msdn.com%2Fb%2Frds%2Farchive%2F2009%2F06%2F02%2Fuser-profiles-on-windows-server-2008-r2-remote-desktop-services.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20blog%20post%20%3C%2FA%3E%20%3A%3C%2FP%3E%0A%20%20%3CBLOCKQUOTE%3E%0A%20%20%20%3CP%3E%3CEM%3E%20Special%20considerations%20for%20AppData%5CRoaming%20folder%3A%20%3CBR%20%2F%3E%20If%20the%20AppData%20folder%20is%20redirected%2C%20some%20applications%20may%20experience%20performance%20issues%20because%20they%20will%20be%20accessing%20this%20folder%20over%20the%20network.%20If%20that%20is%20the%20case%2C%20it%20is%20recommended%20that%20you%20configure%20the%20following%20Group%20Policy%20setting%20to%20sync%20the%20AppData%5CRoaming%20folder%20only%20at%20logon%20and%20logoff%20and%20use%20the%20local%20cache%20while%20the%20user%20is%20logged%20on.%20While%20this%20may%20have%20an%20impact%20on%20logon%2Flogoff%20speeds%2C%20the%20user%20experience%20may%20be%20better%20since%20applications%20will%20not%20freeze%20due%20to%20network%20latency.%20%3C%2FEM%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CEM%3E%20User%20configuration%26gt%3BAdministrative%20Templates%26gt%3BSystem%26gt%3BUser%20Profiles%26gt%3BNetwork%20directories%20to%20sync%20at%20Logon%2FLogoff.%20%3C%2FEM%3E%3C%2FP%3E%0A%20%20%20%3CP%3E%3CEM%3E%20If%20applications%20continue%20to%20experience%20issues%2C%20you%20should%20consider%20excluding%20AppData%20from%20Folder%20Redirection%20%E2%80%93%20the%20downside%20of%20doing%20so%20is%20that%20it%20may%20increase%20your%20logon%2Flogoff%20time.%20%3C%2FEM%3E%3C%2FP%3E%0A%20%20%3C%2FBLOCKQUOTE%3E%0A%20%20%3CP%3ENext%2C%20the%20engineer%20examined%20the%20trace%20to%20see%20if%20Project%20was%20responsible%20for%20all%20the%20traffic%20to%20files%20like%20Global.MPT%2C%20or%20if%20an%20add-in%20was%20responsible.%20This%20is%20where%20the%20stack%20trace%20was%20indispensible.%20After%20setting%20a%20filter%20to%20show%20just%20accesses%20to%20Global.MPT%2C%20the%20file%20that%20accounted%20for%20most%20of%20the%20I%2FO%20time%20as%20shown%20by%20the%20summary%20dialog%2C%20he%20noticed%20that%20it%20was%20opened%20and%20read%20multiple%20times.%20First%2C%20he%20saw%205%20or%206%20long%20runs%20of%20small%20random%20reads%3A%3C%2FP%3E%0A%20%20%3CP%3E%3CIMG%20alt%3D%22image%22%20border%3D%220%22%20height%3D%22334%22%20original-url%3D%22http%3A%2F%2Fblogs.technet.com%2Fcfs-file.ashx%2F__key%2FCommunityServer-Blogs-Components-WeblogFiles%2F00-00-00-52-36-metablogapi%2F7450.image_5F00_thumb_5F00_7A26B405.png%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F121252i05C92BAC8D77078B%22%20style%3D%22background-image%3A%20none%3B%20border-right-width%3A%200px%3B%20margin%3A%20%3B%20padding-left%3A%200px%3B%20padding-right%3A%200px%3B%20display%3A%20inline%3B%20border-top-width%3A%200px%3B%20border-bottom-width%3A%200px%3B%20border-left-width%3A%200px%3B%20padding-top%3A%200px%22%20title%3D%22image%22%20width%3D%22484%22%20%2F%3E%3C%2FP%3E%0A%20%20%3CP%3EThe%20stacks%20for%20these%20operations%20showed%20that%20Project%20itself%20was%20responsible%2C%20however%3A%3C%2FP%3E%0A%20%20%3CP%3E%3CIMG%20alt%3D%22image%22%20border%3D%220%22%20height%3D%22414%22%20original-url%3D%22http%3A%2F%2Fblogs.technet.com%2Fcfs-file.ashx%2F__key%2FCommunityServer-Blogs-Components-WeblogFiles%2F00-00-00-52-36-metablogapi%2F3617.image_5F00_thumb_5F00_37F89C33.png%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F121253i17182087A10E39CC%22%20style%3D%22background-image%3A%20none%3B%20border-right-width%3A%200px%3B%20margin%3A%20%3B%20padding-left%3A%200px%3B%20padding-right%3A%200px%3B%20display%3A%20inline%3B%20border-top-width%3A%200px%3B%20border-bottom-width%3A%200px%3B%20border-left-width%3A%200px%3B%20padding-top%3A%200px%22%20title%3D%22image%22%20width%3D%22334%22%20%2F%3E%3C%2FP%3E%0A%20%20%3CP%3EHe%20also%20saw%20sequences%20of%20large%2C%20non-cached%20reads.%20The%20small%20reads%20he%20looked%20at%20first%20were%20cached%2C%20so%20there%20would%20be%20no%20network%20access%20after%20the%20first%20read%20caused%20the%20data%20to%20cache%20locally%2C%20but%20non-cached%20reads%20would%20go%20to%20the%20server%20every%20time%2C%20making%20them%20much%20more%20likely%20to%20impact%20performance%3A%3C%2FP%3E%0A%20%20%3CP%3E%3CIMG%20alt%3D%22image%22%20border%3D%220%22%20height%3D%22286%22%20original-url%3D%22http%3A%2F%2Fblogs.technet.com%2Fcfs-file.ashx%2F__key%2FCommunityServer-Blogs-Components-WeblogFiles%2F00-00-00-52-36-metablogapi%2F4810.image_5F00_thumb_5F00_785BB271.png%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F121254i20AC430DC1A110FC%22%20style%3D%22background-image%3A%20none%3B%20border-right-width%3A%200px%3B%20margin%3A%20%3B%20padding-left%3A%200px%3B%20padding-right%3A%200px%3B%20display%3A%20inline%3B%20border-top-width%3A%200px%3B%20border-bottom-width%3A%200px%3B%20border-left-width%3A%200px%3B%20padding-top%3A%200px%22%20title%3D%22image%22%20width%3D%22554%22%20%2F%3E%3C%2FP%3E%0A%20%20%3CP%3ETo%20make%20matters%20worse%2C%20he%20saw%20this%20sequence%20six%20times%20in%20the%20trace%2C%20which%20you%20can%20see%20with%20a%20filter%20set%20to%20just%20show%20the%20initial%20read%20of%20each%20sequence%3A%3C%2FP%3E%0A%20%20%3CP%3E%3CIMG%20alt%3D%22image%22%20border%3D%220%22%20height%3D%2291%22%20original-url%3D%22http%3A%2F%2Fblogs.technet.com%2Fcfs-file.ashx%2F__key%2FCommunityServer-Blogs-Components-WeblogFiles%2F00-00-00-52-36-metablogapi%2F7140.image_5F00_thumb_5F00_05C1C578.png%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F121255i5A9975C7A174535D%22%20style%3D%22background-image%3A%20none%3B%20border-right-width%3A%200px%3B%20margin%3A%20%3B%20padding-left%3A%200px%3B%20padding-right%3A%200px%3B%20display%3A%20inline%3B%20border-top-width%3A%200px%3B%20border-bottom-width%3A%200px%3B%20border-left-width%3A%200px%3B%20padding-top%3A%200px%22%20title%3D%22image%22%20width%3D%22554%22%20%2F%3E%3C%2FP%3E%0A%20%20%3CP%3EThe%20stacks%20for%20these%20reads%20revealed%20them%20to%20be%20the%20result%20of%20a%20third-party%20driver%2C%20which%20was%20visible%20by%20the%20fact%20that%20the%20stack%20trace%20dialog%2C%20which%20he%E2%80%99d%20configured%20to%20obtain%20symbols%20from%20Microsoft%E2%80%99s%20public%20symbol%20servers%2C%20showed%20no%20symbol%20information%3A%3C%2FP%3E%0A%20%20%3CP%3E%3CIMG%20alt%3D%22image%22%20border%3D%220%22%20height%3D%22342%22%20original-url%3D%22http%3A%2F%2Fblogs.technet.com%2Fcfs-file.ashx%2F__key%2FCommunityServer-Blogs-Components-WeblogFiles%2F00-00-00-52-36-metablogapi%2F7433.image_5F00_thumb_5F00_57A775FB.png%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F121256iEAC3EB7774CEBAD4%22%20style%3D%22background-image%3A%20none%3B%20border-right-width%3A%200px%3B%20margin%3A%20%3B%20padding-left%3A%200px%3B%20padding-right%3A%200px%3B%20display%3A%20inline%3B%20border-top-width%3A%200px%3B%20border-bottom-width%3A%200px%3B%20border-left-width%3A%200px%3B%20padding-top%3A%200px%22%20title%3D%22image%22%20width%3D%22454%22%20%2F%3E%3C%2FP%3E%0A%20%20%3CP%3EFurther%2C%20the%20stack%20frames%20higher%20up%20the%20same%20stack%20showed%20that%20the%20sequence%20of%20reads%20were%20being%20performed%20within%20the%20context%20of%20Project%20opening%20the%20file%2C%20which%20is%20a%20behavior%20common%20to%20on-access%20virus%20scanners%3A%3C%2FP%3E%0A%20%20%3CP%3E%3CIMG%20alt%3D%22image%22%20border%3D%220%22%20height%3D%22284%22%20original-url%3D%22http%3A%2F%2Fblogs.technet.com%2Fcfs-file.ashx%2F__key%2FCommunityServer-Blogs-Components-WeblogFiles%2F00-00-00-52-36-metablogapi%2F6431.image_5F00_thumb_5F00_3E3F72C1.png%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F121257i73C723A7AE9BA5BA%22%20style%3D%22background-image%3A%20none%3B%20border-right-width%3A%200px%3B%20margin%3A%20%3B%20padding-left%3A%200px%3B%20padding-right%3A%200px%3B%20display%3A%20inline%3B%20border-top-width%3A%200px%3B%20border-bottom-width%3A%200px%3B%20border-left-width%3A%200px%3B%20padding-top%3A%200px%22%20title%3D%22image%22%20width%3D%22454%22%20%2F%3E%3C%2FP%3E%0A%20%20%3CP%3ESure%20enough%2C%20double-clicking%20on%20one%20of%20the%20SRTSP64.SYS%20lines%20in%20the%20stack%20dialog%20confirmed%20that%20it%20was%20Symantec%20AutoProtect%20that%20was%20repeatedly%20performing%20on-access%20virus%20detection%20each%20time%20Project%20opened%20the%20file%20with%20certain%20parameters%3A%3C%2FP%3E%0A%20%20%3CP%3E%3CIMG%20alt%3D%22image%22%20border%3D%220%22%20height%3D%22206%22%20original-url%3D%22http%3A%2F%2Fblogs.technet.com%2Fcfs-file.ashx%2F__key%2FCommunityServer-Blogs-Components-WeblogFiles%2F00-00-00-52-36-metablogapi%2F5618.image_5F00_thumb_5F00_302C5431.png%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F121258iAEA746D3921E4BF9%22%20style%3D%22background-image%3A%20none%3B%20border-right-width%3A%200px%3B%20margin%3A%20%3B%20padding-left%3A%200px%3B%20padding-right%3A%200px%3B%20display%3A%20inline%3B%20border-top-width%3A%200px%3B%20border-bottom-width%3A%200px%3B%20border-left-width%3A%200px%3B%20padding-top%3A%200px%22%20title%3D%22image%22%20width%3D%22356%22%20%2F%3E%3C%2FP%3E%0A%20%20%3CP%3ETypically%2C%20administrators%20configure%20antivirus%20on%20file%20servers%2C%20so%20there%E2%80%99s%20no%20need%20for%20clients%20to%20scan%20files%20they%20reference%20on%20servers%20since%20client-side%20scanning%20simply%20results%20in%20duplicative%20scans.%20This%20lead%20to%20the%20support%20engineer%E2%80%99s%20second%20recommendation%2C%20which%20was%20for%20the%20administrator%20to%20set%20an%20exclusion%20filter%20on%20their%20client%20antivirus%20deployment%20for%20the%20file%20share%20hosting%20user%20profiles.%3C%2FP%3E%0A%20%20%3CP%3EIn%20less%20than%20fifteen%20minutes%20the%20engineer%20had%20written%20up%20his%20analysis%20and%20recommendations%20and%20sent%20them%20back%20to%20the%20customer.%20The%20network%20monitor%20trace%20merely%20served%20as%20confirmation%20of%20what%20he%20observed%20in%20the%20Process%20Monitor%20trace.%20The%20administrator%20proceeded%20to%20implement%20the%20suggestions%20and%20a%20few%20days%20later%20confirmed%20that%20the%20user%20was%20no%20longer%20experiencing%20long%20file%20loads%20or%20the%20errors%20they%20had%20reported.%20Another%20case%20closed%20with%20Process%20Monitor%20and%20thread%20stacks.%3C%2FP%3E%0A%20%0A%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-723952%22%20slang%3D%22en-US%22%3EFirst%20published%20on%20TechNet%20on%20Dec%2006%2C%202010%20If%20you%E2%80%99ve%20seen%20one%20of%20my%20Case%20of%20the%20Unexplained%20presentations%20(like%20the%20one%20I%20delivered%20at%20TechEd%20Europe%20last%20month%20that%E2%80%99s%20posted%20for%20on-demand%20viewing)%2C%20you%20know%20that%20I%20emphasize%20how%20thread%20stacks%20are%20a%20powerful%20troubleshooting%20tool%20for%20diagnosing%20the%20root%20cause%20of%20performance%20problems%2C%20buggy%20behavior%2C%20crashes%20and%20hangs%20(I%20provide%20a%20brief%20explanation%20of%20what%20a%20stack%20is%20in%20the%20TechEd%20presentation).%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-723952%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMark%20Russinovich%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft
First published on TechNet on Dec 06, 2010

If you’ve seen one of my Case of the Unexplained presentations (like the one I delivered at TechEd Europe last month that’s posted for on-demand viewing ), you know that I emphasize how thread stacks are a powerful troubleshooting tool for diagnosing the root cause of performance problems, buggy behavior, crashes and hangs (I provide a brief explanation of what a stack is in the TechEd presentation). That’s because often times the explanation for a process’s behavior lies in the code it loads, either explicitly like in the case of DLLs it depends on, or implicitly like for processes that host extensions. This case is another demonstration of successful stack troubleshooting. It also shows how a little time troubleshooting to get a couple of clues can quickly lead to a solution.

The case opened when the customer, a network administrator, contacted Microsoft support because a user reported that Microsoft Project files located on a network share were taking up to a minute to open and about 1 in 10 times the open resulted in an error:

image

The administrator verified the issue, checked networking settings and latency to the file server, but could not find anything that would explain the problem. The Microsoft support engineer assigned to the case asked the administrator to capture a Process Monitor and Network Monitor traces of a slow file open. After receiving the log a short time later, he opened the log and set a filter to include only operations issued by the Project process and then another filter to include paths that referenced the target file share, \\DBG.ADS.COM\LON-USERS-U. The File Summary dialog, which he opened from Process Monitor’s Tools menu, showed significant time spent in file operations accessing files on the share, shown in the File Time column:

image

The paths in the trace revealed that the user profiles were stored on the file server and that the launch of Project caused heavy access of the profile’s AppData subdirectory. If many users had their profiles stored on the same server via folder redirection and were running similar applications that used stored data in AppData, that would surely account for at least some of the delays the user was experiencing. It’s well known that redirecting the AppData directory can result in performance problems, so based on this, the support engineer arrived at his first recommendation: for the company to configure their roaming user profiles to not redirect AppData and to sync the AppData directory only at logon and logoff as per the guidance found in this Microsoft blog post :

Special considerations for AppData\Roaming folder:
If the AppData folder is redirected, some applications may experience performance issues because they will be accessing this folder over the network. If that is the case, it is recommended that you configure the following Group Policy setting to sync the AppData\Roaming folder only at logon and logoff and use the local cache while the user is logged on. While this may have an impact on logon/logoff speeds, the user experience may be better since applications will not freeze due to network latency.

User configuration>Administrative Templates>System>User Profiles>Network directories to sync at Logon/Logoff.

If applications continue to experience issues, you should consider excluding AppData from Folder Redirection – the downside of doing so is that it may increase your logon/logoff time.

Next, the engineer examined the trace to see if Project was responsible for all the traffic to files like Global.MPT, or if an add-in was responsible. This is where the stack trace was indispensible. After setting a filter to show just accesses to Global.MPT, the file that accounted for most of the I/O time as shown by the summary dialog, he noticed that it was opened and read multiple times. First, he saw 5 or 6 long runs of small random reads:

image

The stacks for these operations showed that Project itself was responsible, however:

image

He also saw sequences of large, non-cached reads. The small reads he looked at first were cached, so there would be no network access after the first read caused the data to cache locally, but non-cached reads would go to the server every time, making them much more likely to impact performance:

image

To make matters worse, he saw this sequence six times in the trace, which you can see with a filter set to just show the initial read of each sequence:

image

The stacks for these reads revealed them to be the result of a third-party driver, which was visible by the fact that the stack trace dialog, which he’d configured to obtain symbols from Microsoft’s public symbol servers, showed no symbol information:

image

Further, the stack frames higher up the same stack showed that the sequence of reads were being performed within the context of Project opening the file, which is a behavior common to on-access virus scanners:

image

Sure enough, double-clicking on one of the SRTSP64.SYS lines in the stack dialog confirmed that it was Symantec AutoProtect that was repeatedly performing on-access virus detection each time Project opened the file with certain parameters:

image

Typically, administrators configure antivirus on file servers, so there’s no need for clients to scan files they reference on servers since client-side scanning simply results in duplicative scans. This lead to the support engineer’s second recommendation, which was for the administrator to set an exclusion filter on their client antivirus deployment for the file share hosting user profiles.

In less than fifteen minutes the engineer had written up his analysis and recommendations and sent them back to the customer. The network monitor trace merely served as confirmation of what he observed in the Process Monitor trace. The administrator proceeded to implement the suggestions and a few days later confirmed that the user was no longer experiencing long file loads or the errors they had reported. Another case closed with Process Monitor and thread stacks.