nijave 8 months ago

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

  • cperciva 8 months ago

    The different X axes are because I figured there's no point having a bunch of graphs which are 90% empty. For a long time we only had base/UFS images. (Even arm64 came a few years later than amd64.)

    • mkesper 8 months ago

      But you aren't able to compare them then.

bas 8 months ago

Your FreeBSD on AWS work is appreciated, @cperciva.

defrost 8 months ago

That's an impressive drop from 30 minutes in 2019 to under 10 minutes today.

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

  • cperciva 8 months ago

    Seconds, yes. Sorry I figured that was obvious, I'll add it to the graphs I generate next week.

    • amiga386 8 months ago

      If you're taking requests, then can the Y axis start at zero, please?

      https://handsondataviz.org/images/14-detect/gdp-baseline-mer...

      And what is going on with that Y axis? There is no consistent spacing between the marks!

      https://imgur.com/HaJmTSU

      • cperciva 8 months ago

        It's a bit hard for a log axis to start at zero.

        • amiga386 8 months ago

          Well start it at 0.00001 then. There's no need for a log axis, as all the values are within 2 orders of magnitude of each other - between 1 and 100. They will fit better, and will no longer be distorted, on a linear Y axis starting from zero.

    • defrost 8 months ago

      Good to hear.

      Seconds was my best guess .. but that doesn't make it certain for the viewer.

      No real drama, but FWiW I've looked at a lot of data across engineering, math, geophysics, mining, energy, etc and unlabeled data and graphs are a major annoyance.

    • pushupentry1219 8 months ago

      Thank you! Was about to ask for axis labels as well. I assumed seconds but I had some doubts because there were no labels!

    • wright08 8 months ago

      I wouldn't bother. It is super obvious.

alexellisuk 8 months ago

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?

  • cperciva 8 months ago

    Things stalled; there were a couple outstanding bugs (one I know has now been fixed, not sure about the other) and I had to take over FreeBSD release engineering and didn't have time to follow up on the Firecracker bits.

    I understand that NetBSD can boot in Firecracker using the same patches so I'm hoping they can resolve any remaining issues and prod the Firecracker developers into merging things.

nostrebored 8 months ago

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

  • cperciva 8 months ago

    Fixing instance types was probably wrong.

    Depends what you're trying to measure, I think? My goal as a FreeBSD developer is to look at FreeBSD performance -- this is both to show the improvements which have been made over the years and to alert me to any performance regressions (I generate these graphs automatically when I build the weekly snapshots).

    If you want to compare EC2 to other clouds you would definitely want to use the latest instance generation, of course.

silisili 8 months ago

Would be nice to see how this compares to Linux, I think, for perspective.

  • cperciva 8 months ago

    I did that comparison a few years ago: https://www.daemonology.net/blog/2021-08-12-EC2-boot-time-be...

    Re-running the comparison with Linux AMIs from 2024 is on my to-do list.

    • andai 8 months ago

      Dang, Clear Linux boots in one second? How is it ten times faster?

      • transpute 8 months ago

        Optimized for automotive use case (max 2s to enable rear camera), https://www.phoronix.com/news/Clear-Linux-Kernel-3s-to-300ms

        > They started out with around a three second kernel boot time but cut it down to just 300 ms. Among the optimizations carried out to really speed-up their boot time were ensuring more asynchronous driver probing, only initializing a small amount of RAM at start and then after booted hot-plug the rest of it in parallel via systemd, optimized root file-system mounting, disabling unnecessary kernel modules, and similar approaches. Moving forward they are still looking at optimizations for the boot process around in-kernel deferred memory initialization, SMP initialization changes, ACPI tweaking, and user-space/systemd optimizations.

AdieuToLogic 8 months ago

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?

wadefletch 8 months ago

What are the y-axis units?

  • NekkoDroid 8 months ago

    I would guess hamburgers eaten :)

    On a more serious note, the only thing that really makes sense would be seconds.

pluto_modadic 8 months ago

wow they make it impressively hard to contact them.

  • cperciva 8 months ago

    me @FreeBSD.org. I figured most people reading this would know who I am.

    • tpxl 8 months ago

      I have no idea who you are, nor do I check who submits what (the merit of the argument, not who said it and all that), nor do I have a reason to know (I have no reason to follow FreeBSD at this point).

      I understand you do important work, but some people, me included, do other stuff. And there's a lot of people here.