EROFS Adds Sub-Page Compressed Data Support To Help Out Android & ARM64 Servers

Written by Michael Larabel in Linux Storage on 12 January 2024 at 06:31 AM EST. Add A Comment
LINUX STORAGE
The read-only EROFS open-source file-system continues to prove quite popular for Android mobile devices as well as containerized environments. With the in-development Linux 6.8 kernel EROFS adds initial support for sub-page compressed data support.

EROFS in Linux 6.8 has some bug fixes and other minor work but its main feature addition this kernel cycle is basic support for sub-page compressed data support. This feature is about allowing compressed data for block sizes smaller than the system's configured page size.

Motivating this sub-page compressed data support for EROFS is Google moving to a 16k page size for their AArch64 devices moving forward. With the Android ecosystem transitioning from 4k to 16k page sizes, 4k-block image compatibility is necessary.

Ampere AArch64 server


In addition to the 16k page size transition for Android, more AArch64 cloud servers are beginning to use a 64k page size for various purposes and there is a desire to continue to support 4k-block EROFS container images.

For this initial support in Linux 6.8, there isn't in-place/cache decompression but otherwise is enough to get sub-page compressed block support started. More details for those interested via this pull request.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week