public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] munmap() slowness
@ 2003-03-05 23:30 Andy Isaacson
  2003-03-05 23:45 ` David Mosberger
  2003-03-06  0:24 ` Andy Isaacson
  0 siblings, 2 replies; 3+ messages in thread
From: Andy Isaacson @ 2003-03-05 23:30 UTC (permalink / raw)
  To: linux-ia64

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-03-06  0:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-05 23:30 [Linux-ia64] munmap() slowness Andy Isaacson
2003-03-05 23:45 ` David Mosberger
2003-03-06  0:24 ` Andy Isaacson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox