1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking Benchmarking Platform
Phoromatic Test Orchestration

Transparent Decompression Support For EXT4

Mozilla

Published on 24 July 2013 07:26 PM EDT
Written by Michael Larabel in Mozilla
9 Comments

A Mozilla engineer has been developing transparent decompression support for the EXT4 file-system to benefit Firefox on Android, among other use-cases.

Firefox for Android right now has its libxul.so component compressed and loaded into memory via a custom linker. However, to avoid having to use a custom linker for this compressed library, Mozilla is wanting to bring transparent decompression support to Linux file-systems.

In order to do this, Dhaval Giani of Mozilla has brought a seekable zip format into the Linux kernel. His second kernel patch provides transparent decompression support into EXT4. The patch right now is "really ugly" and the decompression support hasn't been added to any other file-systems at the moment.

Some shortcomings with the current patch includes the decompression happening at a very late stage, no seek support, no mmap support, etc. To use the support, on a patched kernel the special szip user-space utility is needed to compress the fileand will then be transparently decompressed when reading the file by the kernel.

The current work on EXT4 transparent decompression can be found on the Linux kernel mailing list.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux News
  1. LLVM 3.7 Is Planned For A Late August Release
  2. The OpenGL ES 3.1 Foundation Is Being Laid In Mesa
  3. There Are 140k Benchmark Results So Far On LinuxBenchmarking.com
  4. LLVM 3.6.1 Brings R600 & MIPS Fixes
  5. Friction Building Around An Ubuntu Community Council Decision
  6. Bye Bye Mandriva, She's Being Liquidated
  7. Fedora 22 Is Now Available
  8. Red Hat Has Another Developer Now Working On Nouveau
  9. Scribus 1.5 Released, Ported To Qt 5 With Big UI Overhaul Coming
  10. Mesa May Soon Enable OpenGL ES 1.x/2.x By Default
Latest Articles & Reviews
  1. Opening The Gates To Our Daily Open-Source Linux Benchmark Results
  2. The Latest Features For Linux Performance Management + Benchmark Monitoring
  3. Noctua NH-U12DX i4 + NF-F12
  4. Btrfs RAID 0/1 Benchmarks On The Linux 4.1 Kernel
Most Viewed News This Week
  1. The Linux 4.0 EXT4 RAID Corruption Bug Has Been Uncovered
  2. NVIDIA's Proprietary Driver Is Moving Closer With Kernel Mode-Setting
  3. Systemd 220 Has Finally Been Released
  4. Microsoft Open-Sources The Windows Communication Foundation
  5. Zapcc Claims To Be A "Much Faster C++ Compiler"
  6. LibreOffice 5.0 Beta 1 Released
  7. Another HTTPS Vulnerability Rattles The Internet
  8. LibreOffice 5.0 Open-Source Office Suite Has Been Branched