public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: David Mosberger <davidm@napali.hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] Re: Confused about fsystemcalls
Date: Thu, 30 Jan 2003 04:39:56 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590709805777@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590709805775@msgid-missing>

>>>>> On Thu, 30 Jan 2003 15:31:19 +1100, Peter Chubb <peter@chubb.wattle.id.au> said:

  Peter> Worked it out -- one needs to call the mygetpid() function
  Peter> twice, once before the timing stuff, and once during, so we
  Peter> don't count the time to get the gate page into the TLB and
  Peter> into the cache.

Yes, that makes a big difference.  Here is what I see for getppid() on
a McKinley:

	getppid cycles: 1410 79 56 54 54 54 54 54 54 54

(I just added getppid() and I also added code to patch over the
McKinley E9 workaround on CPUs that don't need it.)

  Peter> Timings are now 177 cycles for the mygetpid() routine as
  Peter> opposed to 570 for glibc (all on Itanium 1),

Ah, that's much better.

  Peter> and we're now working on gettimeofday().

Cool.  I assume you're doing this based on the lock-free version that
Andrew Morton has in his latest patch?

	--david



      parent reply	other threads:[~2003-01-30  4:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-30  0:23 [Linux-ia64] Re: Confused about fsystemcalls David Mosberger
2003-01-30  4:31 ` Peter Chubb
2003-01-30  4:39 ` David Mosberger [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=marc-linux-ia64-105590709805777@msgid-missing \
    --to=davidm@napali.hpl.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