News for hackers. Stuff that matters.
Re:Making EC2 boot time 8x faster by matt-p on Thursday May 23, 2024 @11:41AM (#40456108)
What's size got to do with boot time? Serious question.
Re:Making EC2 boot time 8x faster by RationPhantoms on Thursday May 23, 2024 @11:45AM (#40456166)
More employed eyes on an issue or ability to compensate the best-in-class engineers to take a look.
Re:Making EC2 boot time 8x faster by matt-p on Thursday May 23, 2024 @07:47PM (#40461274)
Exactly, so a large provider should theoretically have faster boot times if anything, no? More chance of having a customer who cares deeply, more wasted CPU cycles (and therefore incentive to optimise) as it's multiplied by 10 million rather than 10 thousand instance starts. More likely to have larger quantities of engineers available, more monitoring/data/telematics.
Re:Making EC2 boot time 8x faster by develatio on Thursday May 23, 2024 @12:03PM (#40456419)
By "the size" I meant to say "the size of the infrastructure", meaning that AWS has to manage orders of magnitude more instances than Hetzner. This might as well contribute to "things" being slower.
Re:Making EC2 boot time 8x faster by londons_explore on Thursday May 23, 2024 @12:21PM (#40456631)
Arguably it can also make things faster. A small provider might need to migrate other instances around to make space for your new instance, whereas a big provider almost certainly can satisfy your request from existing free capacity, and it should therefore be a matter of milliseconds to identify the physical machine your new VM will run on.
Re:Making EC2 boot time 8x faster by matt-p on Thursday May 23, 2024 @07:52PM (#40461310)
I understand that, apologies for not making that clear.

I guess I'm just struggling to see how having more VMs means it takes longer to provision one? A database query to find the space and get an allocation should be milliseconds in either case.

Re:Making EC2 boot time 8x faster by playingalong on Thursday May 23, 2024 @12:08PM (#40456492)
Likely they mean that following Conway's law in AWS there are more abstraction layers involved.
Re:Making EC2 boot time 8x faster by matt-p on Thursday May 23, 2024 @07:55PM (#40461333)
Most likely true, but things are going deeply wrong if fresh Debian VM boot times are a function of the organisational structure of your hosting provider.
Re:Making EC2 boot time 8x faster by CaptainOfCoit on Thursday May 23, 2024 @11:52AM (#40456268)
Smaller companies are faster and more nimble than larger corporations.
Re:Making EC2 boot time 8x faster by matt-p on Thursday May 23, 2024 @07:50PM (#40461295)
Yes, but why specifically does that mean boot times of a VM are faster? One has to be 'nimble' to improve that?
Re:Making EC2 boot time 8x faster by ldoughty on Friday May 24, 2024 @06:57AM (#40464861)
The article mentions hydration (a process to reduce the penalty of first access of a data block). This is done by essentially reading the entire EBS volume with the tool like fio or dd. The time it takes to complete this process is relative to the amount of dirty blocks. Therefore, it will take twice as long to hydrate 20 GB of data compared to 10 GB.