All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jack Steiner <steiner@sgi.com>
To: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: Andi Kleen <andi@firstfloor.org>, Ingo Molnar <mingo@elte.hu>,
	tglx@linutronix.de, linux-mm@kvack.org,
	linux-kernel@vger.kernel.org
Subject: Re: [RFC 8/8] x86_64: Support for new UV apic
Date: Sun, 30 Mar 2008 21:18:21 -0500	[thread overview]
Message-ID: <20080331021821.GC20619@sgi.com> (raw)
In-Reply-To: <86802c440803301629g6d1b896o27e12ef3c84ded2c@mail.gmail.com>

> 
> if the calling path like GET_APIC_ID is keeping checking if it is UV
> box after boot time, that may not good.
> 
> don't need make other hundreds of machine keep running the code only
> for several big box all the time.
> 
> YH


I added trace code to see how often GET_APIC_ID() is called. For
my 8p AMD box, the  function is called 6 times per cpu during boot.
I have not seen any other calls to the function after early boot
although I'm they occur under some circumstances.

Can you think of a workload where the frequency of calls is
high enough to be significant??

--- jack

WARNING: multiple messages have this Message-ID (diff)
From: Jack Steiner <steiner@sgi.com>
To: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: Andi Kleen <andi@firstfloor.org>, Ingo Molnar <mingo@elte.hu>,
	tglx@linutronix.de, linux-mm@kvack.org,
	linux-kernel@vger.kernel.org
Subject: Re: [RFC 8/8] x86_64: Support for new UV apic
Date: Sun, 30 Mar 2008 21:18:21 -0500	[thread overview]
Message-ID: <20080331021821.GC20619@sgi.com> (raw)
In-Reply-To: <86802c440803301629g6d1b896o27e12ef3c84ded2c@mail.gmail.com>

> 
> if the calling path like GET_APIC_ID is keeping checking if it is UV
> box after boot time, that may not good.
> 
> don't need make other hundreds of machine keep running the code only
> for several big box all the time.
> 
> YH


I added trace code to see how often GET_APIC_ID() is called. For
my 8p AMD box, the  function is called 6 times per cpu during boot.
I have not seen any other calls to the function after early boot
although I'm they occur under some circumstances.

Can you think of a workload where the frequency of calls is
high enough to be significant??

--- jack

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2008-03-31  2:18 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-24 18:21 [RFC 8/8] x86_64: Support for new UV apic Jack Steiner
2008-03-24 18:21 ` Jack Steiner
2008-03-25 10:25 ` Andi Kleen
2008-03-25 10:25   ` Andi Kleen
2008-03-25 17:56   ` Jack Steiner
2008-03-25 17:56     ` Jack Steiner
2008-03-25 18:06     ` Andi Kleen
2008-03-25 18:06       ` Andi Kleen
2008-03-26  2:23       ` Jeremy Fitzhardinge
2008-03-26  2:23         ` Jeremy Fitzhardinge
2008-03-26  3:22         ` Glauber Costa
2008-03-26  3:22           ` Glauber Costa
2008-03-26  7:29         ` Ingo Molnar
2008-03-26  7:29           ` Ingo Molnar
2008-03-26  7:38     ` Ingo Molnar
2008-03-26  7:38       ` Ingo Molnar
2008-03-30 20:23       ` Yinghai Lu
2008-03-30 20:23         ` Yinghai Lu
2008-03-30 21:03         ` Jack Steiner
2008-03-30 21:03           ` Jack Steiner
2008-03-30 21:18           ` Andi Kleen
2008-03-30 21:18             ` Andi Kleen
2008-03-30 23:29             ` Yinghai Lu
2008-03-30 23:29               ` Yinghai Lu
2008-03-31  2:18               ` Jack Steiner [this message]
2008-03-31  2:18                 ` Jack Steiner
2008-03-31  2:20                 ` Yinghai Lu
2008-03-31  2:20                   ` Yinghai Lu
2008-03-31 12:33                   ` Ingo Molnar
2008-03-31 12:33                     ` Ingo Molnar
2008-03-31 12:52                     ` Andi Kleen
2008-03-31 12:52                       ` Andi Kleen
2008-03-31 18:42                     ` Yinghai Lu
2008-03-31 18:42                       ` Yinghai Lu
2008-03-31  6:48               ` Andi Kleen
2008-03-31  6:48                 ` Andi Kleen
2008-03-25 14:30 ` Ingo Molnar
2008-03-25 14:30   ` Ingo Molnar
2008-03-25 16:31   ` Jack Steiner
2008-03-25 16:31     ` Jack Steiner
2008-03-26  3:24     ` Glauber Costa
2008-03-26  3:24       ` Glauber Costa
2008-03-30 20:41 ` Yinghai Lu
2008-03-30 20:41   ` Yinghai Lu
2008-03-30 21:08   ` Jack Steiner
2008-03-30 21:08     ` Jack Steiner
2008-03-30 23:24     ` Yinghai Lu
2008-03-30 23:24       ` Yinghai Lu

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=20080331021821.GC20619@sgi.com \
    --to=steiner@sgi.com \
    --cc=andi@firstfloor.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mingo@elte.hu \
    --cc=tglx@linutronix.de \
    --cc=yhlu.kernel@gmail.com \
    /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.