From: Andy Isaacson <adi@hexapodia.org>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] munmap() slowness
Date: Wed, 05 Mar 2003 23:30:01 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590709805979@msgid-missing> (raw)
munmap on a 15TB anonymous area is extremely slow on our Itanium 2 box.
#include <sys/mman.h>
int main(void) {
size_t s = 1024*1024*1024*1024L * 15;
munmap(mmap(0, s, PROT_READ|PROT_WRITE,
MAP_NORESERVE|MAP_PRIVATE|MAP_ANONYMOUS, -1, 0),
s);
return 0;
}
./a.out 0.00s user 1.51s system 100% cpu 1.515 total
The kernel is 2.4.19 plus linux-2.4.19-ia64-020821.diff.gz (plus some
local changes that shouldn't be relevant).
Of course this isn't a real app, but I thought this was an interesting
result.
Please CC me on any replies, as I am not subscribed to the list.
-andy
next reply other threads:[~2003-03-05 23:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-05 23:30 Andy Isaacson [this message]
2003-03-05 23:45 ` [Linux-ia64] munmap() slowness David Mosberger
2003-03-06 0:24 ` Andy Isaacson
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-105590709805979@msgid-missing \
--to=adi@hexapodia.org \
--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 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.