Hacker News new | ask | show | jobs
by dpwm 1027 days ago
> When the FreeBSD kernel boots in Firecracker (1 CPU, 128 MB RAM), it now spends 7% of its time running a bubblesort on its SYSINITs.

It’s a 100x speed increase on 7% of the boot time, so it should be approximately a 7% decrease in boot time.

1 comments

EDIT: I misread—please disregard the below comment.

3.5% decrease.

A 100% increase in speed is a 50% reduction in time.

E.g., traveling 60km at 30km/h takes two hours, but at 60km/h takes one hour.

A 100x increase is a 9900% increase, not a 100% increase.
Thank you, that's what I was interested in. Not sure why I got downvoted, it was a legitimate question as I didn't know what parts were adversely affected.
You're misreading 100x as 100%. 100x is 10,000%.
100x not 100%. 3,000 km/h takes 1.2 minutes to go 60km.