Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

Was looking to boot to Qt under a couple of seconds for a camera use case a few months back, and came across similar demos. Can work well for very specific applications/products.

Here's a video of a talk by the author of this particular pdf

https://www.youtube.com/watch?v=KTRA1PRJWH8

Will be interesting to see what impact Intel's 3D Xpoint will have on boot times too.



sort by: page size:

It could probably be faster if people cared to optimize it, e.g. some experiments to boot an embedded linux system to the console prompt in less than 1 second (https://fossforce.com/2017/01/linux-zero-boot-second/), or to the Qt Camera Preview app in 3 seconds (https://www.e-consystems.com/Articles/Product-Design/Linux-B...) or to a Debian desktop in "5 seconds" (https://wiki.debian.org/BootProcessSpeedup#Tests_results_of_...).

What people really want is sub-second booting, especially in embedded.

Just checked this out...pretty. I am very interested in the boot up video... from 0 to desktop was under 4 seconds... impressed.

Very nice. Is there any chance of a follow up on your comment in the previous thread:

"I'll write a post describing what I did to take boot time from 2.5 minutes to 10 seconds."

My interests:

- how did you find what to optimise? - what approach did you use?


That’s super impressive! I have spent many hours optimizing embedded boot times, but it’s amazing how much faster it can be when the hardware is virtualized!

Congrats jeremy, looks fantastic! That video showing the miniscule boot time brings me hope that it is possible to write software that takes advantage of the crazy-fast computers we have these days.

This is pretty cool.

What's the time spent on bootup? Hardware POST? I remember seeing some Linux can boot in under a second. It would be cool to see the business card come to life instantly.


Here is a presentation from 2019 showing how they reduced Kernel boot time from 3s to 300ms: https://www.linuxplumbersconf.org/event/4/contributions/281/...

Very cool. How many seconds of the faster boot time fit into one regular second?

I'd be interested in seeing Librem booting that quickly. Any videos? :)

If you make your own buildroot image, you can get VERY quick boot times - here's a random vid I found [1] with 3.5 seconds on a pi zero w (which is considerably less powerful than a Pi3.

I've worked with similarly underpowered boards (licheepi zero, only has 64mb ram and uses the cpu from a dashcam!) and those will still boot and start an SDL app in under five seconds.

If you can identify the bare minimum that you need for your EQ solution, you can probably get similar boot times.

[1]: https://www.youtube.com/watch?v=ZehLyumyMvE


Linux/LXQT boots to a ready desktop in about 10 seconds. Not everything is slow.

I used to achieve 1-2 second boot times by just reconfiguring my kernel to only load drivers for hardware I actually had installed. It's more like 4-5 seconds now that ASLR is a thing, but I'm not complaining.

I couldn't get to the site, but assuming this is running Linux I wrote a paper about how fast you could boot a Linux minimal userspace on QEMU a couple of years ago[1]. In short if you're willing to heavily customize the kernel, qemu and userspace then you can get it down to 100-150ms on i7-type hardware, but probably not much lower. Using a distro kernel, distro qemu and so on, you're stuck with 400-600ms (which is fine for certain uses, eg better security for containers like Kata Containers is doing).

Also worth noting I wrote a bunch of benchmarking tools to help optimize this case[2].

[1] http://oirase.annexia.org/tmp/paper.pdf

[2] https://github.com/libguestfs/libguestfs/tree/master/utils


Actually, I meant booting!

Had to look for it in the HN history, look at this guy's implementation:

https://www.youtube.com/watch?v=6SxLvz6pcGs ~30ms here, the post indicates some kind of intel NUC (so not exactly the fastest thing)

The syscalls themselves are probably sub-millisecond


Cool, didn't know that. Is the boot time fairly slow compared to booting a normal PC?

A few seconds isn’t bad to boot an OS, no? ;-)

If you watch the video, the bootup time of the distro involved is significantly less than one minute - more like 10 seconds in fact.

I did this on my i5 4300U laptop and whilst I didnt formally benchmark it, the boot time halved, and it feels a LOT faster to use. So much snappier.
next

Legal | privacy