RTEMS | cpukit,spec: Swap JFFS2 to zlib CRC32 (!848)

Kinsey Moore (@opticron) gitlab at rtems.org
Mon Nov 24 21:50:25 UTC 2025



Kinsey Moore created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/848

Project:Branches: opticron/rtems:br6-swap-jffs2-crc to rtems/rtos/rtems:6
Author:   Kinsey Moore
Assignee: Kinsey Moore



## Summary

cpukit,spec: Swap JFFS2 to zlib CRC32

Move JFFS2 from the Cygwin implementation of CRC32 to the zlib
implementation which can take advantage of hardware acceleration and
reduces code duplication. Synthetic benchmarks on AArch64 hardware show
approximately a 17x improvement in CRC32 calculation speed and
real-world testing with JFFS2 shows a 1% improvement in mount times, a
5% improvement in data write times, and a 9% improvement in garbage
collection times.

A test was written to compare hash generation between the two algorithms
and a partition was created with one and then remounted with the other
with no errors.

Closes #5396


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/848
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20251124/12a54315/attachment.htm>


More information about the bugs mailing list