Why is a cold boot much faster than a restart with USB plugged in?

Page 1 of 2 12 LastLast

  1. Posts : 30
    Windows 10 Home
       #1

    Why is a cold boot much faster than a restart with USB plugged in?


    I am running Windows version 22H2 with all current updates. My bios settings have an internal M.2 PCIe drive selected as 1st boot drive. I have only one external USB drive attached to a M.2 USB 3.2 Gen 2x2 Vantek PCIe Host card using a USB 3.2 Gen 2 M.2 NVME enclosure. with a 2T SSD.

    My cold boot time with and without USB plugged in is 13 seconds. My restart time with USB plugged in is 60 seconds while only 20 seconds with USB not plugged in. Waking from sleep mode with and without USB is the same at 19 seconds.

    My question is why is a cold boot significantly faster that a restart? It's no big deal but just curiosity asking the question. I would think the restart time would be shorter than a cold boot.
      My Computer


  2. Posts : 9,797
    Mac OS Catalina
       #2

    Booting off of a USB is always going to be slower.
      My Computer


  3. Posts : 30
    Windows 10 Home
    Thread Starter
       #3

    I am not booting from a USB drive. I am booting from an internal M.2 PCIe SSD drive.
      My Computer


  4. NTN
    Posts : 969
    W10 19045.2546
       #4

    More or less thoroughly explained here.
    How to Make Windows Ignore an External HDD and Boot Faster

    But DO NOT fiddle around with this without being absolutely sure about what you are doing!
    Last edited by NTN; 11 Feb 2023 at 14:47.
      My Computers


  5. Posts : 30
    Windows 10 Home
    Thread Starter
       #5

    My question is why is my cold boot time much faster than a restart? The external USB is attached for both.
      My Computer


  6. Posts : 14,334
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #6

    My thought is that a restart/reboot already knows about the drives and is checking the contents while a cold start is just checking what drives or other devices are available and won't check contents until called for after the OS has loaded, makes the cold start faster.
      My Computers


  7. Posts : 15,660
    Windows10
       #7

    Charlie210 said:
    I am running Windows version 22H2 with all current updates. My bios settings have an internal M.2 PCIe drive selected as 1st boot drive. I have only one external USB drive attached to a M.2 USB 3.2 Gen 2x2 Vantek PCIe Host card using a USB 3.2 Gen 2 M.2 NVME enclosure. with a 2T SSD.

    My cold boot time with and without USB plugged in is 13 seconds. My restart time with USB plugged in is 60 seconds while only 20 seconds with USB not plugged in. Waking from sleep mode with and without USB is the same at 19 seconds.

    My question is why is a cold boot significantly faster that a restart? It's no big deal but just curiosity asking the question. I would think the restart time would be shorter than a cold boot.
    Several reasons:

    A restart has to close down the existing instance and then restart.

    A cold start only starts a new instance.

    To make a fair comparison, you have to add the time to shutdown to the restart time for a cold boot, so you can compare it with the restart case.

    Also a warm start has to manage the temporary files like pagefile, hiberfil etc. These are largely irrelevant in a cold restart.

    However, if you have fast start enabled, the pc basically uses a sort of cutdown hibernation to speed startup and that only works on cold boot not restarts, so pc is quicker at starting. The trade off is you have to write the hibernation file as part of the shutdown.

    Fast startup can cause unexpected issues, particularly on dual boot pcs.
    With modern ssd/nvme drives, I prefer to disable fast start up, then just shutdown and do a cold reboot as it is always faster.
      My Computer


  8. Posts : 30
    Windows 10 Home
    Thread Starter
       #8

    Very interesting. Thanks for the reply.

    I didn't count the shutdown time in the restart. I only started timing when the motherboard started the boot operation. I thought that would be a fair comparison between a cold boot and a restart. Also, I don't use the Fast Startup option.

    Your other explanations regarding temporary files like pagefile, hiberfil etc make a lot of sense.

    It is obvious the restart procedure is performing a significant amount of processing specifically related to the external USB drive since the restart times or so different between having the drive connected or disconnected. The USB drive has no active partitions.

    Restart with USB - 60 seconds.
    Restart without USB - 20 seconds.

    Cold boot times are the same (19 seconds) with USB attached or not.

    Again no big deal, just curious.
      My Computer


  9. Posts : 44,036
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #9

    My cold boot time with and without USB plugged in is 13 seconds. My restart time with USB plugged in is 60 seconds while only 20 seconds with USB not plugged in. Waking from sleep mode with and without USB is the same at 19 seconds.
    Why does restart take 40s longer with a USB drive plugged in, when a cold boot is unaffected by its presence?

    That's a question none of the above tries to answer.

    I don't know, but if the time you're quoting is the time to lock screen, 13s is quite long... this 8-9 year-old laptop with a SSD boots to lock screen in about 9s.
      My Computers


  10. NTN
    Posts : 969
    W10 19045.2546
       #10

    I've disabled fast boot, and the time for boot is pretty much the same for restart and if I have turned the PC off...

    So...maybe there is a difference if you have fast boot enabled?

    And if (as mentioned in the article that you didn't bother to read) there is more than one active partition the PC may will use extra time to sort that out too. Also the boot order, especially if it is wrong, could contribute.

    It could also be some hidden system error, or what ever..
    I was struggling with long boot time when restarting in 2021, couple of minutes, but a repair-upgrade with ISO fixed it. (but I've still not sorted out what was wrong..)
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 00:39.
Find Us




Windows 10 Forums