From: David Mosberger <davidm@napali.hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: SHMLBA on linux-ia64
Date: Wed, 03 Sep 2003 02:00:31 +0000 [thread overview]
Message-ID: <marc-linux-ia64-106255454226473@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-106254921222388@msgid-missing>
>>>>> On Tue, 2 Sep 2003 17:33:15 -0700, Umut Aymakoglu <umuta@us.ibm.com> said:
Umut> Hi - The file /usr/include/sys/shm.h defines SHMLBA as
Umut> __getpagesize() which is 16K.
Must be an old libc. For example, with glibc v2.3.2, I see:
$ fgrep 'e SHMLBA' /usr/include/bits/shm.h
#define SHMLBA (1024 * 1024)
Umut> whereas in /usr/include/asm/shmparam.h thereis another define
Umut> of SHMLBA as (1024*1024) and a comment saying on IA-64
Umut> architecture due to some performance problems it is better to
Umut> use this alignment.
Not "performance problem" but "_potential_ performance degradation".
On existing ia64 processors, you won't see a performance degradation,
but it is nevertheless recommend to align shared mappings to a 1MB
boundary because the architecture reserves the right that some future
CPU might run slower when there is a virtual alias that is not
congruent modulo 1MB.
--david
prev parent reply other threads:[~2003-09-03 2:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-03 0:33 SHMLBA on linux-ia64 Umut Aymakoglu
2003-09-03 2:00 ` David Mosberger [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=marc-linux-ia64-106255454226473@msgid-missing \
--to=davidm@napali.hpl.hp.com \
--cc=linux-ia64@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