* ubifs: missing FAQ item regarding default compression options?
@ 2011-07-23 23:02 Daniel Drake
2011-07-24 7:28 ` Artem Bityutskiy
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Drake @ 2011-07-23 23:02 UTC (permalink / raw)
To: linux-mtd
Hi,
OLPC is looking more seriously at making the switch from jffs2 to
ubifs. We did this for a few months but we found that ubifs has
significantly higher (10-15%) disk space requirements for the same
data, compared with jffs2. We switched back to jffs2 because of this,
promising to look at ubifs again later (i.e. now).
What I didn't realise clearly at the time is that mkfs.jffs2 defaults
to zlib compression, and mkfs.ubifs defaults to LZO compression. So,
this was not a fair test. If I switch ubifs to zlib compression, it
produces results very similar to jffs.
For example, for one OS image, mkfs.jffs2 + sumtool produced a 664mb
file. mkfs.ubifs (with zlib selected) + ubinize created a 668mb image
of the same data - very comparable.
Should this be a FAQ entry? Others who aren't aware of this difference
in default compression options may run into the same non-issue.
Thanks,
Daniel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ubifs: missing FAQ item regarding default compression options?
2011-07-23 23:02 ubifs: missing FAQ item regarding default compression options? Daniel Drake
@ 2011-07-24 7:28 ` Artem Bityutskiy
0 siblings, 0 replies; 2+ messages in thread
From: Artem Bityutskiy @ 2011-07-24 7:28 UTC (permalink / raw)
To: Daniel Drake; +Cc: linux-mtd
On Sun, 2011-07-24 at 00:02 +0100, Daniel Drake wrote:
> Hi,
>
> OLPC is looking more seriously at making the switch from jffs2 to
> ubifs. We did this for a few months but we found that ubifs has
> significantly higher (10-15%) disk space requirements for the same
> data, compared with jffs2. We switched back to jffs2 because of this,
> promising to look at ubifs again later (i.e. now).
>
> What I didn't realise clearly at the time is that mkfs.jffs2 defaults
> to zlib compression, and mkfs.ubifs defaults to LZO compression. So,
> this was not a fair test. If I switch ubifs to zlib compression, it
> produces results very similar to jffs.
>
> For example, for one OS image, mkfs.jffs2 + sumtool produced a 664mb
> file. mkfs.ubifs (with zlib selected) + ubinize created a 668mb image
> of the same data - very comparable.
>
> Should this be a FAQ entry? Others who aren't aware of this difference
> in default compression options may run into the same non-issue.
Hi Daniel,
sure, send a patch against the mtd-www repo:
git://git.infradead.org/mtd-www.git
and add this piece of information. The web site is very simple and
you'll find out how to edit it easily. Then type "make" to build it.
--
Best Regards,
Artem Bityutskiy (Битюцкий Артём)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-24 7:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-23 23:02 ubifs: missing FAQ item regarding default compression options? Daniel Drake
2011-07-24 7:28 ` Artem Bityutskiy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox