From: "David S. Miller" <davem@davemloft.net>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: kuznet@ms2.inr.ac.ru, jmorris@redhat.com, netdev@oss.sgi.com
Subject: Re: [IPCOMP] Use per-cpu buffers
Date: Thu, 9 Sep 2004 09:16:52 -0700 [thread overview]
Message-ID: <20040909091652.490c7833.davem@davemloft.net> (raw)
In-Reply-To: <20040909122202.GA3170@gondor.apana.org.au>
On Thu, 9 Sep 2004 22:22:02 +1000
Herbert Xu <herbert@gondor.apana.org.au> wrote:
> With per-cpu buffers this goes down to 300K per CPU.
That amount of space just for decompression state is
rediculious.
I seem to recall that the last time I looked at this
the reason the tables are so huge is that the zlib
we use in the kernel isn't configurable. The table
configuration is compile time decided.
Yes, it's because of linux/zlib.h's cpp settings.
I guess it would be a lot of surgery to make this dynamic.
A second thought is that we may not be the only part
of the kernel interested in a per-cpu zlib scratch
buffer, no?
next prev parent reply other threads:[~2004-09-09 16:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-09 12:22 [IPCOMP] Use per-cpu buffers Herbert Xu
2004-09-09 16:16 ` David S. Miller [this message]
2004-09-10 11:10 ` Herbert Xu
2004-09-10 15:42 ` James Morris
2004-09-10 21:55 ` David S. Miller
2004-09-10 22:33 ` Herbert Xu
2004-09-13 11:18 ` single process pppd for all PPP sessions? [Was [IPCOMP] Use per-cpu buffers] J Chapman
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=20040909091652.490c7833.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=jmorris@redhat.com \
--cc=kuznet@ms2.inr.ac.ru \
--cc=netdev@oss.sgi.com \
/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;
as well as URLs for NNTP newsgroup(s).