All of lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Grundler <grundler@parisc-linux.org>
To: Randolph Chung <randolph@tausq.org>
Cc: parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] Improving performance of munmap
Date: Fri, 8 Oct 2004 11:35:01 -0600	[thread overview]
Message-ID: <20041008173501.GA16958@colo.lackof.org> (raw)
In-Reply-To: <20041008165926.GI14151@tausq.org>

On Fri, Oct 08, 2004 at 09:59:26AM -0700, Randolph Chung wrote:
> +#define FLUSH_THRESHOLD 0x80000 /* 0.5MB */
> +int parisc_cache_flush_threshold = FLUSH_THRESHOLD;

6 monthes or so ago Alex Williamson ran some perf tests comparing a
CONSTANT vs global when tuning the IOMMU page size on IA64 ZX1 chipsets.
IIRC, using a global was 3-5% slower if it was the same value as the constant.
I don't know if parisc will offer a similar performance difference and if so,
a per arch (PA11 vs PA20) should work fine for everything but PA8800.
It may not be a problem, just something to consider.

The rest looks "correct" to me - ie I don't see any obviously wrong.

thanks,
grant
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

      parent reply	other threads:[~2004-10-08 17:35 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
2004-10-08 16:59     ` Randolph Chung
2004-10-08 17:05       ` Randolph Chung
2004-10-08 17:35       ` Grant Grundler [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=20041008173501.GA16958@colo.lackof.org \
    --to=grundler@parisc-linux.org \
    --cc=parisc-linux@lists.parisc-linux.org \
    --cc=randolph@tausq.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.