All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: Nico <segfault2@hotmail.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: AGP Aperture question
Date: Mon, 08 Nov 2010 13:12:21 +0100	[thread overview]
Message-ID: <4CD7E925.6020608@ladisch.de> (raw)
In-Reply-To: <SNT127-W65587F1714D03CB57D611DE64D0@phx.gbl>

Nico wrote:
> Your BIOS doesn't leave a aperture memory hole
> Please enable the IOMMU option in the BIOS setup
> This costs you 64 MB of RAM

This message is a little bit too optimistic.  I don't know of any
motherboard not specifically designed for Linux that has such an option
or that just silently reserves address space for the IOMMU.

> So, is the above something to be concerned about? Does it have any
> negative impact on the system?

There are three options for using the GART as an IOMMU:
1) Put the GART into some free address space below 4 GB.
2) Put the GART over some memory below 4 GB.
3) Don't use the GART.

The first one would be optimal, but requires that there is some free
address space below 4 GB.  The third one makes the computer slower
because any DMA from/to memory above the 4 GB limit requires copying
buffers to/from low memory.

Option 2) wastes 64 MB of memory, compared to 1), but is very much
superior to 3).

(AFAIK Windows uses 3), and this is why no BIOS bothers to set this.)


Regards,
Clemens

      reply	other threads:[~2010-11-08 12:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-06 19:28 AGP Aperture question Nico
2010-11-08 12:12 ` Clemens Ladisch [this message]

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=4CD7E925.6020608@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=segfault2@hotmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.