by gkbrk · 3y ago · 0 comments
I'd consider this less "haha dum code is slow" and more "you are booting the kernel way too much, even a 1.97 millisecond delay is noticable".
Shaving ms off the boot of that VM is a performance boost of that lambda (or whatever the cloud vendor calls it).
Er, didn't NetBSD accomplish that... like a decade ago, now? Or is FreeBSD looking into supporting rump kernels?
Of course, calling anything that takes place in less than a blink of an eye "slow" is overstating things... lol :-)
If only I could get my desktop environment to come up in less than 28ms :-)
BUT
that we use solutions across multiple problems instead providing solution specifically for that problem. if you have KNOWN vm, on KNOWN hardware then why you need all kinds of hardware and other bull.. initializations, checks.... ? just provide list of things it has to have then after list is run over without problem, continue. also why would amazon/gcp/azure care ? they are making money from you running inefficient solutions....
It would be great if that changed though...
My tv boots a kernel, Alexa's, laptops, cars etc.
And this might be not specifically critical but it's a sign of people just doing something less optimal
If someone did not optimize this this might indicate other optimizations
But yes, I also hate when home router takes forever to reboot and reconnect
Why do we even need to waste any consciousness-seconds on watching electric circuits initialize? Computers should just start working
I assume it's not just once when I first turn on my laptop from fully off. Is it once every time I restart a Docker container? (Assuming FreeBSD images.)
Is it something that runs a couple times a day, a dozen times a day, a thousand times a day? Fifty times every time I open an Electron app?
I suspect this doesn't matter and is more a curiosity, but I wouldn't be shocked to learn otherwise.