linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Reto Baettig <baettig@scs.ch>
To: mingo@elte.hu
Cc: MM Linux <linux-mm@kvack.org>,
	Kernel Linux <linux-kernel@vger.kernel.org>,
	Martin Frey <frey@scs.ch>
Subject: Re: RFC: vmalloc improvements
Date: Mon, 26 Feb 2001 16:50:47 -0800	[thread overview]
Message-ID: <3A9AF9E7.D0924A4C@scs.ch> (raw)
In-Reply-To: <Pine.LNX.4.30.0102240129200.5327-100000@elte.hu>

Ingo Molnar wrote:
> question: what is this application, and why does it need so much virtual
> memory? vmalloc()-able memory is maximized to 128 MB right now, and
> increasing it conflicts with directly mapping RAM, so generally it's a
> good idea to avoid vmalloc() as much as possible.

We implemented a RPC mechanism over a fast network in the kernel. The
end application is a distributed filesystem. The RPC server needs lots
of 2MB receive buffers which are allocated using vmalloc because the NIC
has its own pagetables.
The buffers then get handed to the consumer (lots of threads) which
eventually frees them. This way, we have a performance on the RPC layer
of 200MBytes/s.

The 128MB limit is probably an Intel limitation since we don't see it on
our Alpha Machines (Linux 2.2.18 Alpha SMP)

Reto

  reply	other threads:[~2001-02-27  0:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-24  0:26 RFC: vmalloc improvements Reto Baettig
2001-02-24  0:32 ` Ingo Molnar
2001-02-27  0:50   ` Reto Baettig [this message]
2001-02-27  0:56   ` David S. Miller
2001-02-24  1:01 ` Linus Torvalds
2001-02-24  1:09 ` Alan Cox

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=3A9AF9E7.D0924A4C@scs.ch \
    --to=baettig@scs.ch \
    --cc=frey@scs.ch \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mingo@elte.hu \
    /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).