October 15th, 2024

FreeBSD/EC2 boot performance over time

The article evaluates FreeBSD boot performance on Amazon EC2, measuring the time from "pending" to "running" state and the opening of TCP port 22 on amd64 and arm64 instances.

Read original articleLink Icon
AppreciationCuriosityConfusion
FreeBSD/EC2 boot performance over time

The article discusses the boot performance of FreeBSD on Amazon EC2 instances over time, specifically measuring the duration from when an EC2 instance transitions from the "pending" state to the "running" state. The performance is evaluated until the TCP port 22 becomes open, indicated by a SYN packet receiving a SYN/ACK response. The measurements are conducted on two types of instances: amd64 using c5.xlarge and arm64 using c6g.xlarge.

- Boot performance is measured from "pending" to "running" state.

- The focus is on the time taken for TCP port 22 to open.

- Measurements are taken on amd64 (c5.xlarge) and arm64 (c6g.xlarge) instances.

AI: What people are saying
The comments on the article about FreeBSD boot performance on Amazon EC2 reveal several key points and themes.
  • Many commenters express appreciation for the improvements in boot speed, noting a significant reduction in time.
  • There are inquiries about the technical details behind the performance gains, including potential architectural changes and comparisons to Linux.
  • Some users discuss the implications of these improvements for their own deployments and the feasibility of using FreeBSD instead of Linux.
  • Questions arise regarding the clarity of the data presented, particularly concerning the y-axis units and graph scales.
  • Several commenters highlight the importance of community contributions and express gratitude for the work done on FreeBSD in AWS environments.
Link Icon 10 comments
By @nijave - about 11 hours
Presumably seconds since I'm not sure what else would make sense here. It'd also be helpful if the y axis had consistent scale between each graph and horizontal lines are set y axis intervals

Seems zfs is quite a bit faster than ufs

By @bas - about 9 hours
Your FreeBSD on AWS work is appreciated, @cperciva.
By @defrost - about 12 hours
That's an impressive drop from 30 minutes in 2019 to under 10 minutes today.

No, wait .. maybe that's seconds? milliseconds?

By @alexellisuk - about 4 hours
Nice improvements in boot speed. Perhaps a little blurb / intro / summary would be helpful to the post to help with understanding the achievements made.

Did the patches ever make it into Firecracker for booting FreeBSD as a guest? I looked back at the paper trail and it seemed like it may have stalled.

Does anyone know?

By @Temporary_31337 - about 4 hours
That suits our deployments where for HA we simply terminate and replace unresponsive EC2 nodes with new ones. I’ll have to talk to other developers to see how much work would it be to compile to freebsd instead of Linux
By @AdieuToLogic - about 11 hours
Is there an architectural change and/or approach to which the boot performance increase(s) can be attributed?

If not, which is understandable, is there something specific to stable/14 for interested parties to familiarize themselves with?

By @silisili - about 11 hours
Would be nice to see how this compares to Linux, I think, for perspective.
By @nostrebored - about 11 hours
Fixing instance types was probably wrong.

You’re getting progressively legacy (and more likely to be degraded) hardware. This impacts how tightly packed the instance type as a whole is, which impacts launch instance performance

By @wadefletch - about 12 hours
What are the y-axis units?
By @pluto_modadic - about 11 hours
wow they make it impressively hard to contact them.