public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Grant Grundler <iod00d@hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [PATCH] - Cacheline align jiffies_64
Date: Mon, 06 Dec 2004 21:03:10 +0000	[thread overview]
Message-ID: <20041206210310.GI26198@esmail.cup.hp.com> (raw)
In-Reply-To: <20041206193232.GA14994@sgi.com>

On Mon, Dec 06, 2004 at 01:32:32PM -0600, Jack Steiner wrote:
> On large systems, system overhead on cpu 0 is higher than on other
> cpus. On a completely idle 512p system, the average amount of system time 
> on cpu 0 is 2.4%  and .15% on cpu 1-511.

Jack,
Not to trivialize the problem, but I found it amusing that someone
has time to "optimize" the idle loop. :^)

I realize the symptom is an effect that is only easily measured
on an idle system...but it's amusing, none the less. :^)

I'd hope there is a better way to measure temporal locality
of what's in a cacheline with q-tools. But I only know how
to determine cacheline utilization. ie look up the cache line
aligned address in System.map and then use Data EAR to get hard data
as described (briefly) here:
   http://iou.parisc-linux.org/ols2004/www/4_Measuring_Cache_line_Miss.html

probably need a few more bits to isolate per CPU behaviors but I'm
pretty sure pfmon/q-tools can do that.  The "temporal locality"
is the bit I haven't seen any solution for. (Well, maybe a simulator
is the right tool to do that; I don't know).

thanks,
grant

  reply	other threads:[~2004-12-06 21:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-06 19:32 [PATCH] - Cacheline align jiffies_64 Jack Steiner
2004-12-06 21:03 ` Grant Grundler [this message]
2004-12-06 22:01 ` Jack Steiner

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=20041206210310.GI26198@esmail.cup.hp.com \
    --to=iod00d@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