Horrendous Boot Times for Windows 10 IoT


4 posts
by JinShil » Fri May 12, 2017 11:36 am
Hello,

I'm seeing about a 1 minute boot time on the Raspberry Pi 2 and 3 when using Windows 10 IoT core. By comparison, the Linux Raspian default distribution boots in less than 30 seconds on the same hardware. If I boot to a console in Raspian Linux, it's even less.

I asked a similar question a while ago here (https://social.msdn.microsoft.com/Forum ... WindowsIoT) but couldn't elicit any meaningful help.

Does anyone have any insight into why Windows 10 IoT is so slow to boot? Any suggestions to get it down to 30 seconds or less? I already tried a faster SD Card, but it didn't seem to make any difference whatsoever.

Also, who maintains the Windows 10 IoT port for the Raspberry Pi? Is it the Raspberry Pi Foundation, Broadcom, Microsoft, or someone else?

Thanks,
Mike
Posts: 14
Joined: Wed Mar 15, 2017 11:35 am
by fruitoftheloom » Fri May 12, 2017 11:47 am
JinShil wrote:Hello,

I'm seeing about a 1 minute boot time on the Raspberry Pi 2 and 3 when using Windows 10 IoT core. By comparison, the Linux Raspian default distribution boots in less than 30 seconds on the same hardware. If I boot to a console in Raspian Linux, it's even less.

I asked a similar question a while ago here (https://social.msdn.microsoft.com/Forum ... WindowsIoT) but couldn't elicit any meaningful help.

Does anyone have any insight into why Windows 10 IoT is so slow to boot? Any suggestions to get it down to 30 seconds or less? I already tried a faster SD Card, but it didn't seem to make any difference whatsoever.

Also, who maintains the Windows 10 IoT port for the Raspberry Pi? Is it the Raspberry Pi Foundation, Broadcom, Microsoft, or someone else?

Thanks,
Mike


Windows 10 IoT Core is a Microsoft Operating System and they are solely responsible for its continueing existance.

The boot time is slower than Linux because it use a "EUFILayer" to boot W10 IoT Core (which uses a NT Kernel):

https://github.com/ms-iot/RPi-UEFI/blob ... /README.md

https://github.com/ms-iot




In your post on the MSDN you mention CE, that has a completely different code base and has no BSP for the SoC used in the Raspberry Pi 2 & 3 models:

https://en.wikipedia.org/wiki/Windows_Embedded_Compact
.
Ex Computer Repair & Service Technician.
RPi 3B, HP Envy 4500 Wireless Printer, Google Chromecast, Android Smart Phone, HD 1080p TV and 3/4G Mobile Internet make ideal companions.
Posts: 14152
Joined: Tue Mar 25, 2014 12:40 pm
Location: Bognor Regis UK
by pauldy » Sat May 13, 2017 1:47 pm
I have several of these now and only had boot issues with a handful of patriot sd cards so I don't use them much any more. Just as a test I started up and was on the app load screen in ~30 seconds and my app was fully loaded in 35 seconds. So it may be that booting for win iot is more io bound than your linux images so it suffers more from low quality SD cards than your linux images do.
Posts: 54
Joined: Tue Jun 12, 2012 3:34 pm
by JinShil » Thu May 18, 2017 11:09 am
pauldy wrote:I have several of these now and only had boot issues with a handful of patriot sd cards so I don't use them much any more. Just as a test I started up and was on the app load screen in ~30 seconds and my app was fully loaded in 35 seconds. So it may be that booting for win iot is more io bound than your linux images so it suffers more from low quality SD cards than your linux images do.


I used a Samsung Pro+ 32GB (https://www.amazon.com/Samsung-Plus-Mic ... ro%2B+32GB) which is the fastest SD card I could find, and it made almost no difference (only about a 2s improvement) when compared to my much slower cards. So whatever is going on its not I/O bound.
Posts: 14
Joined: Wed Mar 15, 2017 11:35 am