From: David Woodhouse <dwmw2@infradead.org>
To: "Joakim Tjernlund" <Joakim.Tjernlund@lumentis.se>
Cc: linux-mtd@lists.infradead.org
Subject: Re: compr_zlib.c
Date: Wed, 20 Mar 2002 17:36:12 +0000 [thread overview]
Message-ID: <9417.1016645772@redhat.com> (raw)
In-Reply-To: <004c01c1cf77$9f28e5c0$0200a8c0@telia.com>
Joakim.Tjernlund@lumentis.se said:
> OK, a new compression type will be cleaner. What should be done with
> compression types not supported? Can't say that I understand the
> logic behind the unsupported nodes.
I think we should mount the filesystem read only. We're going to get I/O
errors on parts of files that we can't decompress.
> What do you think about STREAM_END_SPACE? Should it be changed to
> something bigger?
STREAM_END_SPACE is supposed to be the amount of space we need at the end
of the output buffer to sync up and complete the output. I suspect we
should just use a different limit for the minimum amount of data we'll
bother to compress.
> What is the maximum amount of data JFFS2 will try to compress in one
> go?
One page - normally 4KiB, sometimes 8KiB. I've been pondering changing that
to get better compression but that might break compatibility so it'd have
to be an obvious win.
> I am thinking of adjusting windowBits and memLevel, now they
> default to 128 KB each which seems a bit too much.
Sounds reasonable. Would that mean we can also reduce the amount of memory
preallocated for the deflate workspace, which is currently about 400KiB?
> Will you accept a patch against the stable branch?
> Also there has been a few performance improvements lately and I would
> like to see them in the stable branch as well. We are using them all
> and no problems so far. Any chance that will happen?
I would rather not change the stable branch. That sort of defeats the
object of having it in the first place. There are three types of changes in
the trunk since that branch was taken:
1. Cosmetic changes and code reshuffles for eCos portability.
These shouldn't affect functionality at all.
2. NAND support, which shouldn't affect NOR flash adversely.
3. The aforementioned performance enhancements.
If you want to use the performance enhancements, I'd rather you worked on,
and tested, the trunk code.
--
dwmw2
next prev parent reply other threads:[~2002-03-20 17:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-06 15:54 Lost DOC2000 after installation of Grub Chris Fowler
2002-03-06 19:18 ` Ilguiz Latypov
2002-03-19 18:55 ` compr_zlib.c Joakim Tjernlund
2002-03-20 17:36 ` David Woodhouse [this message]
2002-03-20 18:58 ` compr_zlib.c Joakim Tjernlund
-- strict thread matches above, loose matches on Subject: below --
2001-11-12 12:14 Cache mappings and invalidate Joakim Tjernlund
2001-12-17 13:08 ` Burst read and other improvements Joakim Tjernlund
2002-03-11 8:56 ` compr_zlib.c Joakim Tjernlund
2002-03-19 12:03 ` compr_zlib.c Joakim Tjernlund
2002-03-19 12:24 ` compr_zlib.c David Woodhouse
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9417.1016645772@redhat.com \
--to=dwmw2@infradead.org \
--cc=Joakim.Tjernlund@lumentis.se \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox