archive mirror
 help / color / mirror / Atom feed
From: William Lee Irwin III <>
To: Per Buer <>
Subject: Re: 2.4: mylex and > 2GB RAM
Date: Mon, 8 Dec 2003 08:22:14 -0800	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Mon, 2003-12-08 at 16:36, William Lee Irwin III wrote:
>> Could you send out a dmesg and a config file?

On Mon, Dec 08, 2003 at 04:54:31PM +0100, Per Buer wrote:
> Sure.
> We have tried two kernels on this server. A plain 2.4.18 (no patches)
> and 2.4.22 with the RMAP VM (we thought this might be related to the VM)
> and the brk()-fixes. No such luck. :(

The most common issue of this kind is where the device has addressibility
constraints that are automatically satisfied due to limited memory, but
once that's exceeded, the kernel resorts to overly-strict allocation
constraints because it has no other way of representing the constraint.

Specifically, the areas to which allocations may be constrained are:

ZONE_HIGHMEM:	no constraint

If your memory ended at 2GB and the driver had 31-bit DMA, it may have
decided to use unconstrained allocations. Then, when you added more RAM,
it was forced to ask for <= 896MB, which made it copy to buffers that are
actually below 896MB most of the time.

However, what I can see in the driver is very inconsistent with this
theory: it rather suggests it has 32-bit PCI and is otherwise not

So it's more likely that you have an unfriendly dma mask inherited from
upper levels (e.g. default bounce_pfn values in scsi template bits) or
bus' constraints (pci_set_dma_mask() etc. bits) than anything per-driver.

-- wli

  reply	other threads:[~2003-12-08 16:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-08 15:24 2.4: mylex and > 2GB RAM Per Buer
2003-12-08 15:36 ` William Lee Irwin III
2003-12-08 15:54   ` Per Buer
2003-12-08 16:22     ` William Lee Irwin III [this message]
2003-12-08 20:15       ` Per Andreas Buer
2003-12-08 20:22         ` William Lee Irwin III
2003-12-08 21:01           ` Per Andreas Buer
2003-12-08 21:02             ` William Lee Irwin III
2003-12-08 21:25               ` Per Andreas Buer
2003-12-08 21:36                 ` William Lee Irwin III
2003-12-09 10:31             ` Marcelo Tosatti
2003-12-10 13:21               ` Per Buer
2003-12-08 20:40         ` Zwane Mwaikambo
2003-12-08 15:58 Hank Leininger

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* 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).