Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Randolph Chung <randolph@tausq.org>
To: Carlos O'Donell <carlos@baldric.uwo.ca>
Cc: parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] Improving performance of munmap
Date: Thu, 7 Oct 2004 21:16:57 -0700	[thread overview]
Message-ID: <20041008041657.GG14151@tausq.org> (raw)
In-Reply-To: <20041008020343.GN24430@baldric.uwo.ca>

> Is munmap() speed really a big issue? Does userland see the benefits of
> a faster flush_tlb_mm()?

actually i was wrong, the problem is not with flush_tlb_mm(), but with
flush_user_{dcache,icache}_range.

> Perhaps if you call dlclose() *a lot* you might notice.
> 
> Or if you create and destroy threads really quickly.
> 
> Aside from that, who else in userspace is a big munmap caller?

lots of apps use mmap a lot..... but even if they don't, 0.9 seconds is
a very long time to make somebody wait.

i made some changes to the flush_user_{dcache,icache}_range
implementation and it seems to be better now. will post the patch
tomorrow after some cleanups.

randolph
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

  reply	other threads:[~2004-10-08  4:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-07 23:02 [parisc-linux] Improving performance of munmap Randolph Chung
2004-10-08  2:03 ` Carlos O'Donell
2004-10-08  4:16   ` Randolph Chung [this message]
2004-10-08 16:59     ` Randolph Chung
2004-10-08 17:05       ` Randolph Chung
2004-10-08 17:35       ` Grant Grundler

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=20041008041657.GG14151@tausq.org \
    --to=randolph@tausq.org \
    --cc=carlos@baldric.uwo.ca \
    --cc=parisc-linux@lists.parisc-linux.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