public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Volker Armin Hemmann <volkerarmin@googlemail.com>
To: linux-kernel@vger.kernel.org
Subject: about mtrr
Date: Tue, 26 May 2009 22:01:04 +0200	[thread overview]
Message-ID: <200905262201.04252.volkerarmin@googlemail.com> (raw)

[-- Attachment #1: Type: Text/Plain, Size: 1718 bytes --]

Hello,
this is an amd64 system. AMD X2 CPU, Am2+ motherboard with A770 chipset and SB 
700 southbridge -A770Crossfire from Asrock. Latest bios

my /proc/mtrr always roughly looking like that:
reg00: base=0x000000000 (    0MB), size= 2048MB, count=1: write-back
reg01: base=0x080000000 ( 2048MB), size= 1024MB, count=1: write-back
reg02: base=0x0c0000000 ( 3072MB), size=  128MB, count=1: write-back
reg03: base=0x0c8000000 ( 3200MB), size=   64MB, count=1: write-back
reg04: base=0x0cc000000 ( 3264MB), size=   32MB, count=1: write-back
reg05: base=0x0ce000000 ( 3296MB), size=   16MB, count=1: write-back

now it looks like that (with ati driver loaded, without, just the last line is 
missing):

cat /proc/mtrr
reg00: base=0x000000000 (    0MB), size= 2048MB, count=1: write-back
reg01: base=0x080000000 ( 2048MB), size= 1024MB, count=1: write-back
reg02: base=0x0c0000000 ( 3072MB), size=  128MB, count=1: write-back
reg03: base=0x0c8000000 ( 3200MB), size=   64MB, count=1: write-back
reg04: base=0x0cc000000 ( 3264MB), size=   32MB, count=1: write-back
reg05: base=0x0ce000000 ( 3296MB), size=   16MB, count=1: write-back
reg06: base=0x0d0000000 ( 3328MB), size=  256MB, count=1: write-combining

which was ok as long as I had 4gb of ram.

But I have a 6gb now - and with the additional 2gb performance took a hit.

I would like to know why roughly 2.5gb are not covered by mtrr's and is there 
a way to force the kernel to cover the whole range without doing it manually?
I played with mtrr_spare_reg_nr= and MTRR cleanup support  without any changes 
at all. 
2.6.27, 2.6.28, 2.6.29 - all three versions show the same mtrr.
Attached are dmesg and config.

Glück Auf,
Volker

[-- Attachment #2: config.gz --]
[-- Type: application/x-gzip, Size: 12726 bytes --]

[-- Attachment #3: dmesg.log.gz --]
[-- Type: application/x-gzip, Size: 12033 bytes --]

                 reply	other threads:[~2009-05-26 20:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200905262201.04252.volkerarmin@googlemail.com \
    --to=volkerarmin@googlemail.com \
    --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