public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrea Arcangeli <andrea@suse.de>
To: William Lee Irwin III <wli@holomorphy.com>, linux-kernel@vger.kernel.org
Subject: Re: 64GB NUMA-Q after pgcl
Date: Mon, 31 Mar 2003 01:19:45 +0200	[thread overview]
Message-ID: <20030330231945.GH2318@x30.local> (raw)
In-Reply-To: <20030328040038.GO1350@holomorphy.com>

Didn't you break the linux x86 ABI in mmap? the file offset must be a
multiple of the softpagesize and binary apps can break with -EINVAL with
pgcl. The workaround is to allocate it in anon mem but it's not coherent
if somebody does a change to the binary with MAP_SHARED, so still broken
semantics. In theory we could also have aliasing in the cache, but it
doesn't seem a good idea.

Since you have access to such a machine, can you please try to boot
2.4.21pre5aa2 on such a machine? That must boot just fine too according
to my math, however, there will be little normal zone left, compared to
your kernel with pgcl. But 700M of normal zone are still nothing versus
the 64G of ram, what I mean is that even pgcl isn't guaranteeing general
purpose usability of the box (despite making it much more usable).

Note that 2.5 mem_map is bigger due rmap, my 2.4 w/o the rmap slowdown
should boot just fine w/o pgct that breaks the linux x86 ABI and in turn
binary apps at runtime.

I believe pgcl is very interesting for x86 long term, and for all archs
not providing a flexible hard-page-size. The larger softpagesize can
increase performance, 4k page size is too small these days, especially
on a 64bit arch, infact this softpagesize feature would be most
interesting for x86-64 even in the long term (for a totally different
reason of why you find it most interesting today on the 32bit x86 64G
boxes ;). so it sounds like a good thing to have for mainline >=2.5
regardless. All it matters is that you don't try to make the page
allocator returning anything smaller than the softpagesize to avoid
losing reliability of allocations for core data structures.

Andrea

  parent reply	other threads:[~2003-03-30 23:08 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-28  4:00 64GB NUMA-Q after pgcl William Lee Irwin III
2003-03-28  7:45 ` Zwane Mwaikambo
2003-03-28  7:57   ` William Lee Irwin III
2003-03-28  8:05     ` Zwane Mwaikambo
2003-03-28 10:14       ` William Lee Irwin III
2003-03-28 17:38         ` John Levon
2003-03-30 23:19 ` Andrea Arcangeli [this message]
2003-03-31  4:27   ` William Lee Irwin III
2003-03-31  5:22     ` William Lee Irwin III
2003-03-31 21:02       ` Ingo Oeser
2003-03-31 22:27         ` William Lee Irwin III
2003-04-01  1:25           ` Andrea Arcangeli
2003-03-31 18:35     ` Andrea Arcangeli
2003-03-31 18:41       ` Christoph Hellwig
2003-03-31 19:08         ` William Lee Irwin III
2003-04-01  0:47           ` Andrea Arcangeli
2003-04-01  0:44         ` Andrea Arcangeli
2003-03-31 18:55       ` William Lee Irwin III

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=20030330231945.GH2318@x30.local \
    --to=andrea@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wli@holomorphy.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox