News for hackers. Stuff that matters.
Re:Zerg: Boot a VM instance per request, all in under 250 ms by MBCook on Wednesday December 27, 2017 @11:22PM (#16020289)
It seems I managed to get through right before it went down. Sort of a neat idea. But is it really worth starting up a new VM for each request? That seems to be the majority (380 ms?) of the time spent.

Slightly off-topic: the page lists be time for an android phone to boot as 50 seconds. Is that correct? I remember iPhones used to take forever but I recently realized that they sing to boot extremely fast. I have no idea when that change happened.

Re:Zerg: Boot a VM instance per request, all in under 250 ms by joombaga on Wednesday December 27, 2017 @11:36PM (#16020331)
Just tested my Pixel 1. It takes 24 seconds from button press to lock screen, and another 18 seconds for me to type my password and display everything on the home screen, but I'm a slow mobile typer and my password is 16 characters.
Re:Zerg: Boot a VM instance per request, all in under 250 ms by modeless on Thursday December 28, 2017 @12:11AM (#16020447)
Just tested a Pixel 2 XL. 12 seconds to lock screen and 4 more to the home screen including my pattern entry. I think this is the fastest booting phone I've ever had.

Actually I had to do it twice because the first time it installed a system update, but even then it only took 26 seconds to install, finish booting, and show the lock screen. System updates have been seriously optimized in the last few Android releases. They used to take like 5 minutes.

Re:Zerg: Boot a VM instance per request, all in under 250 ms by amaranth on Thursday December 28, 2017 @10:27AM (#16022450)
> System updates have been seriously optimized in the last few Android releases. They used to take like 5 minutes.

On the Pixel phones Google uses two system partitions. One is the one you're currently running and the other one gets the update applied to it in the background without you having to stop using your phone. When you reboot it just has to flip which system partition it boots from and maybe do some first boot actions. If the phone starts up successfully it'll then apply the update to the original partition to keep them in sync.

Re:Zerg: Boot a VM instance per request, all in under 250 ms by rplnt on Thursday December 28, 2017 @08:36AM (#16021902)
Is this from off -> on or a reboot? I think I've noticed huge difference between the two on my Samsung in the past.
Re:Zerg: Boot a VM instance per request, all in under 250 ms by modeless on Thursday December 28, 2017 @12:47PM (#16023525)
From off.
Re:Zerg: Boot a VM instance per request, all in under 250 ms by MBCook on Wednesday December 27, 2017 @11:56PM (#16020402)
Thanks. I wonder if that’s for some random $50 low end phone.

My iPhone 8 was 20s to login screen. It basically instant once I login but that may be because my password takes a while to type and it’s loading the rest while I type.

Re:Zerg: Boot a VM instance per request, all in under 250 ms by CalChris on Wednesday December 27, 2017 @11:47PM (#16020368)
I timed my iPhone SE when I read that. 25 seconds.

So I tried rebooting with all of my apps exited. 25 seconds.

Re:Zerg: Boot a VM instance per request, all in under 250 ms by MBCook on Wednesday December 27, 2017 @11:54PM (#16020396)
I just tested my iPhone 8, it’s 20s to login screen.

Actually slower than I thought. I found an old blog post that says an iPhone 5 took about 35s, the slowest of the models they tested.

2x is nice but maybe it didn’t improve as much as I had thought.

https://www.ifixyouri.com/blog/iphone-6s-bootup-time-compari...

Re:Zerg: Boot a VM instance per request, all in under 250 ms by nautilus12 on Wednesday December 27, 2017 @11:34PM (#16020326)
I think they did it this way deliberately as a kind of proof of concept.
Re:Zerg: Boot a VM instance per request, all in under 250 ms by MBCook on Wednesday December 27, 2017 @11:49PM (#16020378)
That makes sense, but even if everything else takes three seconds (that’s overwhelming the small VM book time) I’m not sure what the real benefit of this is.

I’m sure it’s technically more secure than a sandboxed application running in its own VM in its own process but by how much?

Re:Zerg: Boot a VM instance per request, all in under 250 ms by jesperlang on Thursday December 28, 2017 @04:15AM (#16021091)
for the fun of it, tested the boot time of a Nokia 130 (classic style feature phone), just under 10s if you cancel early at the greeting screen :)