public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pauline Middelink <middelink@polyware.nl>
To: linux-kernel@vger.kernel.org
Subject: Re: bigphysarea support in 2.2.19 and 2.4.0 kernels
Date: Fri, 22 Dec 2000 20:51:03 +0100	[thread overview]
Message-ID: <20001222205103.A9441@polyware.nl> (raw)
In-Reply-To: <20001221144247.A10273@vger.timpanogas.org> <E149DKS-0003cX-00@the-village.bc.nu> <20001221154446.A10579@vger.timpanogas.org> <20001221155339.A10676@vger.timpanogas.org> <20001222093928.A30636@polyware.nl> <20001222111105.B14232@vger.timpanogas.org> <20001222113530.A14479@vger.timpanogas.org> <20001222202137.A27844@gruyere.muc.suse.de> <20001222132541.A1555@vger.timpanogas.org>
In-Reply-To: <20001222132541.A1555@vger.timpanogas.org>; from jmerkey@vger.timpanogas.org on Fri, Dec 22, 2000 at 01:25:41PM -0700

On Fri, 22 Dec 2000 around 13:25:41 -0700, Jeff V. Merkey wrote:
> On Fri, Dec 22, 2000 at 08:21:37PM +0100, Andi Kleen wrote:
> > On Fri, Dec 22, 2000 at 11:35:30AM -0700, Jeff V. Merkey wrote:
> > > The real question is how to guarantee that these pages will be contiguous
> > > in memory.  The slab allocator may also work, but I think there are size
> > > constraints on how much I can get in one pass.
> > 
> > You cannot guarantee it after the system has left bootup stage. That's the
> > whole reason why bigphysarea exists.
> > 
> > -Andi
> 
> I am wondering why the drivers need such a big contiguous chunk of memory.
> For message passing operatings, they should not.  Some of 
> the user space libraries appear to need this support.  I am going through 
> this code today attempting to determine if there's a way to reduce this 
> requirement or map the memory differently.   I am not using these cards
> for a ccNUMA implementation, although they have versions of these 
> adapters that can provide this capability, but for message passing with 
> small windows of coherence between machines with push/pull DMA-style
> behavior for high speed data transfers.  99.9% of the clustering 
> stuff on Linux uses this model, so this requirement perhaps can be
> restructured to be a better fit for Linux.

Well, to be frank, I'm only aware of my zoran driver (and the buz?)
needing it. The only reason is that the ZR36120 framegrabber wants
to load a complete field from a single DMA-base address. Needless
to say TV frames are large in RGB24 mode, and going fast at that.
So its just a deficiancy of the chip which made me use bigphys.

And yes, I tried a version (which is in the kernel) which must be compiled
in, so it can find a large enough area to work with. The only problem is
when the driver has a problem, one can not easily reload the module
(but who am i telling, right? :) )

> Just having the patch in the kernel for bigphysarea support would solve
> this issue if it could be structured into a form Alan finds acceptable.
> Absent this, we need a workaround that's more tailored for the 
> requirments for Linux apps.

Is there a solution than? As long as the hardware which needs it is
not common good, Linus will oppose it (at least that's what I figured
from his messages back in the old days.) Oh well, maybe his opinion
has changed, one may hope :)

    Met vriendelijke groet,
        Pauline Middelink
-- 
GPG Key fingerprint = 2D5B 87A7 DDA6 0378 5DEA  BD3B 9A50 B416 E2D0 C3C2
For more details look at my website http://www.polyware.nl/~middelink
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2000-12-22 20:21 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-21 21:42 bigphysarea support in 2.2.19 and 2.4.0 kernels Jeff V. Merkey
2000-12-21 21:32 ` Alan Cox
2000-12-21 22:44   ` Jeff V. Merkey
2000-12-21 22:53     ` Jeff V. Merkey
2000-12-22  8:39       ` Pauline Middelink
2000-12-22  8:58         ` Alan Cox
2000-12-22 23:11           ` Albert D. Cahalan
2000-12-23  8:40             ` Eric W. Biederman
2000-12-24  8:59               ` Albert D. Cahalan
2000-12-23 20:11             ` Jes Sorensen
2000-12-24  8:15               ` Albert D. Cahalan
2000-12-22 18:11         ` Jeff V. Merkey
2000-12-22 18:35           ` Jeff V. Merkey
2000-12-22 19:21             ` Andi Kleen
2000-12-22 20:25               ` Jeff V. Merkey
2000-12-22 19:51                 ` Pauline Middelink [this message]
2000-12-22 21:54                   ` Jeff V. Merkey
2000-12-22 21:39                     ` Erik Mouw
2000-12-22 23:56                       ` Jeff V. Merkey
2000-12-22 19:37           ` NUMA and SCI [was Re: bigphysarea support in 2.2.19 and 2.4.0 kernels] Tim Wright
2000-12-22 20:39             ` Jeff V. Merkey
2000-12-22 20:30               ` Alan Cox
2000-12-22 21:40                 ` Jeff V. Merkey
2000-12-22 21:52                   ` Jeff V. Merkey

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=20001222205103.A9441@polyware.nl \
    --to=middelink@polyware.nl \
    --cc=linux-kernel@vger.kernel.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