MSFN Forum: Trace Windows 7 boot/shutdown/hibernate/standby/resume issues

Jump to content






Icon Latest News Comments


Icon MSFN Statistics

  • Total Posts 804201
  • Total Members 102865
  • Newest Member pranester 
  • Online At Once Record 17869
  • Online Now: 3468



    Icon Recommended Sites

    AskVG.com Bink Filehorse FreewareFiles IT Magazine lunarsoft Where unprofessional journalism looks better OSNN TechLog The Windows Club WinBeta

Trace Windows 7 boot/shutdown/hibernate/standby/resume issues -----

Posted on Dec 08 2009 02:23 AM by MagicAndre1981  in Guides | Viewed 6981 Times


Open the XML and you see this:

Posted Image

It shows you the most relevant data.

<timing shutdownTime="23184" servicesShutdownDuration="1513">


The shutdownTime is in this example 23s. Stopping the services takes 1.5s which is fast.

Next you have an entry for all sessions. Starting with Vista, all services run in Session 0 (Session 0 Isolation) and each user gets his one Session (1,2,..,n).

sessionShutdown sessionID="1" duration="3321">


shows the time which it takes to stop all applications which the user is running. In this example it takes 3.3seconds.

UserSession Phase

Quote


What Happens in UserSession
During this phase, the Client/Server Runtime Server Subsystem (Csrss.exe) shuts down all applications that are running in the user session—that is, all applications that have session ID 1.

If after 5 seconds any application blocks shut down, Windows displays the dialog box in Figure 24 so that users can choose to force or cancel shutdown.

Posted Image

UserSession Performance Vulnerabilities

Because Windows serially shuts down applications, any delay in a process’s shutdown path contributes to the total shutdown duration. To ensure a speedy shutdown, every application must respond quickly to shutdown notification messages (WM_QUERYENDSESSION and WM_ENDSESSION).
Windows uses long time-outs so that applications have sufficient time to shut down and save user data. Therefore, applications can have a significant effect on shutdown performance.








0 Comments

Page 1 of 1

No comments have been made yet

You do not have permission to leave comments on this article
Page 1 of 1



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy