Apr 21 – 23, 2023
Europe/Prague timezone

Snap performance optimization - The Firefox case study

Apr 22, 2023, 2:15 PM
Presentation (40 min) Main Track


The battle between security and convenience has been fought across the digital plains since the early of days of computing. Usually, one comes at the expense of the other. But does it have to be that way?

The introduction of the Firefox snap in Ubuntu 21.10, and subsequently, the 22.04 LTS release generated a great deal of buzz in the Linux ecosystem, focused on the tradeoff between startup speed and the benefits of the security sandboxing. We saw the engagement, for better or worse, as a great opportunity to hone down the Firefox snap performance, and create a top-notch experience for the end user. This session is a deep dive into all of the fine technical elements that went into making the Firefox snap snappy [sic], including Squashfs compression optimization, content snaps, pre-caching, Raspberry Pi improvements, native messaging, kernel compilation parameters, security confinement tweaks, GPU rendering, and then some.

If you like Linux, data and a good Sherlock Holmes mystery, you will love this!

Author(s) Bio

Igor Ljubuncic is a physicist by vocation and a Linux geek by profession. He works as a developer advocate at Canonical, and comes with many years of experience in the industry, including medical, high-performance computing, data center, cloud, and hosting fields. To date, Igor’s portfolio includes 20 books, 15 patents, several open-source projects, numerous articles published in leading journals and magazines, and presentations at prestigious international conferences. In his free time, Igor drives fast cars, writes car reviews, fantasy novels and manages his award-winning blog.

Level of Difficulty Technical
Pronouns Igor

Primary author

Igor Ljubuncic (Canonical)

Presentation materials

There are no materials yet.