Skip to contentSkip to conversation

CRAMFS or SQUASHFS

DISCUSSION Robin Gilks 3 participants 3 messages Jun 3, 2003 – Jun 4, 2003

lore
Share & tools
lore
#0 lore raw

Greetings

I've been trying to determine the best Flash based *_read-only_* compressed filesystem for an embedded system.

I can find nothing about CRAMFS - not even what it stands for - is it CRAM as in squeeze it all in or Compressed RAM meaning it uses loads of RAM to expand into. Just a hint in the right direction here would help!!

For SQUASHFS, I'm unsure as to how mature it is and what its memory overhead is since its using zlib - would the discussions about sharing zlib workspace be relevant here as well?

Does anyone have a horror story particular to either of these technologies?

Many thanks...

--
Robin Gilks
Senior Design Engineer Phone: (+64)(3) 357 1569
Tait Electronics Fax : (+64)(3) 359 4632
PO Box 1645 Christchurch Email : [email protected]
New Zealand

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw

We ended up with squashfs since it gave better compression, better runtime performance, and -- most importantly for us -- the 'mksquashfs' suite is easy to compile up on non-Linux unixes, and it handles endiannes issues.

Quoted 17 lines

Greetings

I've been trying to determine the best Flash based *_read-only_* compressed filesystem for an embedded system.

I can find nothing about CRAMFS - not even what it stands for - is it CRAM as in squeeze it all in or Compressed RAM meaning it uses loads of RAM to expand into. Just a hint in the right direction here would help!!

For SQUASHFS, I'm unsure as to how mature it is and what its memory overhead is since its using zlib - would the discussions about sharing zlib workspace be relevant here as well?

Does anyone have a horror story particular to either of these technologies?

Quoted 11 lines

Many thanks...

--
Robin Gilks
Senior Design Engineer Phone: (+64)(3) 357 1569
Tait Electronics Fax : (+64)(3) 359 4632
PO Box 1645 Christchurch Email : [email protected]
New Zealand

--
Dave Updegraff, Cray Inc. / [email protected] / 218-525-1154

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#2 lore raw
In reply to Robin Gilks
Quoted 8 lines · Robin Gilks

I've been trying to determine the best Flash based *_read-only_* compressed filesystem for an embedded system.

I can find nothing about CRAMFS - not even what it stands for - is it CRAM as in
squeeze it all in or Compressed RAM meaning it uses loads of RAM to expand into.
Just a hint in the right direction here would help!!

Did you read Documentation/filesystems/cramfs ??????

We use cramfs in one of our embedded products along with read-only MTD block device.
No problems so far :)

BTW, patch exists that solves endianess problems in mkcramfs.

Eugene.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/