Originally posted by lowflyer
View Post
Announcement
Collapse
No announcement yet.
ByteDance Working To Make It Faster Kexec Booting The Linux Kernel
Collapse
X
-
Last edited by RejectModernity; 25 July 2022, 12:20 PM.
- Likes 17
-
To me, this doesn't add up.
Not that I would trust the intentions of any Chinese company. But optimizing the boot time of a server is wasted effort (I have been told so by many "experts" even here in this forum). coder points out the same thing in post number 5. They must have a use case where they want to reboot many times per hour. Kernel upgrade does not fit that. This is hardly a server environment.
Unless you operate something along the lines of this:
image.png
Did I already say that I don't trust the intentions of any Chinese company?Last edited by lowflyer; 27 July 2022, 05:40 AM. Reason: post number was expanded to something meaninglesss. fixed.
- Likes 5
Leave a comment:
-
Originally posted by coder View PostThis strikes me as a slightly weird thing for a cloud service to prioritize. If you go a day between reboots then the savings is only 0.00058% more runtime per server. So, that suggests they're rebooting even more frequently - like a couple times/hour. Any idea why?
For others, it makes more sense. Like if you're selling an appliance that's supposed to have 99.999% uptime, then shaving time of reboots makes sense, as that allows only about 5.5 minutes of downtime per year. A handful of reboots could quickly gobble that up.
- Batch processes, tho the cold boot time should be negligible compared to the work itself;
- Serverless, but then they probably wouldn't be handling the boot themselves;
- Spot instances for usage spikes (this is probably the most interesting one for optimizing boot speed);
- VM migration between instances.
- Likes 3
Leave a comment:
-
Originally posted by S.Pam View PostNo, kexec is a reboot without BIOS POST/reboot. It simply loads a new Linux kernel and kills the old one.
On servers, a full reboot cab be several minutes. I should really use kexec more myself
Leave a comment:
-
This strikes me as a slightly weird thing for a cloud service to prioritize. If you go a day between reboots then the savings is only 0.00058% more runtime per server. So, that suggests they're rebooting even more frequently - like a couple times/hour. Any idea why?
For others, it makes more sense. Like if you're selling an appliance that's supposed to have 99.999% uptime, then shaving time of reboots makes sense, as that allows only about 5.5 minutes of downtime per year. A handful of reboots could quickly gobble that up.
- Likes 3
Leave a comment:
-
Originally posted by sinepgib View Post
Wait, reboot also requires POST? Is there no way to skip it? I get it for cold boots, but I find it strange for reboots.
On servers, a full reboot cab be several minutes. I should really use kexec more myself
- Likes 10
Leave a comment:
-
By using Kexec they avoid the more significant downtime of their servers POST'ing and other tasks.
- Likes 2
Leave a comment:
-
ByteDance Working To Make It Faster Kexec Booting The Linux Kernel
Phoronix: ByteDance Working To Make It Faster Kexec Booting The Linux Kernel
ByteDance as the Chinese company behind TikTok has been working on a number of Linux kernel optimizations the past few years and their most recent work is for faster Kexec rebooting of the kernel. With their massive fleet of servers powering TikTok and other apps, they will do whatever they can to shave milliseconds off the boot/reboot time of their servers and that is what most of their Linux optimizations have been about -- including this newest patch series for faster Kexec reboots...
https://www.phoronix.com/news/Byteda...r-Kexec-RebootTags: None
- Likes 1
Leave a comment: