Why a quicker shutdown?

This is a discussion on Why a quicker shutdown? within the A Brief History of Cprogramming.com forums, part of the Community Boards category; When I do the typical shutdown from the start menu it takes forever before it finally goes. I'm assuming this ...

  1. #1
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    1,627

    Why a quicker shutdown?

    When I do the typical shutdown from the start menu it takes forever before it finally goes. I'm assuming this is because all gazzillion drivers and bg programs have to de-initilize. But, when I push the power button on top of the keyboard it goes all most instantly. I'm assuming this is because all it does is set some basic safe guards (like suspending all I/O opperations), and then just terminates the memory. Of course, this is just a theory so I wouldn't be surprised to find out otherwise. Do you know why the computer shuts down so much quicker by the button than it does by the start menu?
    A class that doesn't overload all operators just isn't finished yet. -- SmugCeePlusPlusWeenie
    A year spent in artificial intelligence is enough to make one believe in God. -- Alan J. Perlis

  2. #2
    Registered Abuser
    Join Date
    Jun 2006
    Location
    Toronto
    Posts
    591
    One suggestion I can think of off the top of my head that will greatly increase shutdown time is clearing your page file (though I'm not sure if this would explain any differences between button and soft shutdown times):
    Find the key "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management"
    and make sure the DWORD "ClearPageFileAtShutdown" is set to 0. Clearing the page file can slow down shutdown times and can be turned off safely (it should be off by default anyways though).

    Here's some misc info on start-up/shutdown times, mostly start-up times, but it might give you some insight into exactly what evilness XP is loading onto your system:
    Fast System Startup for PCs running Windows
    it a long... long read

  3. #3
    Registered User
    Join Date
    Sep 2001
    Posts
    752
    Probably, one is shutting down, the other is just suspending or hibernating (not a true shut down).
    Callou collei we'll code the way
    Of prime numbers and pings!

  4. #4
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    1,627
    The keyboard button says "Shut Down", and the computer does not resume when I turn it back on, it starts up like any start up.

    Actually, it's not the computer I'm on now, the one I'm talking about has 2000 not XP on it.
    Last edited by Yarin; 10-02-2007 at 04:48 PM.
    A class that doesn't overload all operators just isn't finished yet. -- SmugCeePlusPlusWeenie
    A year spent in artificial intelligence is enough to make one believe in God. -- Alan J. Perlis

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Shutdown Pc Timer
    By miranda in forum Windows Programming
    Replies: 10
    Last Post: 12-31-2005, 12:36 AM
  2. startup program deleting shutdown? Need help
    By Miestese in forum Linux Programming
    Replies: 2
    Last Post: 07-06-2005, 09:05 PM
  3. slackware 10 shutdown issue
    By iain in forum Linux Programming
    Replies: 1
    Last Post: 11-24-2004, 06:24 AM
  4. shutdown()
    By Hunter2 in forum Networking/Device Communication
    Replies: 6
    Last Post: 03-18-2004, 06:43 PM
  5. Shutdown (again)
    By ihsir in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 05-05-2002, 11:10 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21