public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Russ Anderson <rja@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: Re: ia64_mca_cpe_int_handler
Date: Wed, 27 Feb 2008 16:29:08 +0000	[thread overview]
Message-ID: <20080227162908.GA1908@sgi.com> (raw)
In-Reply-To: <47BF02EC.4080102@bull.net>

On Wed, Feb 27, 2008 at 04:53:32AM -0600, Robin Holt wrote:
> 
> Russ, do you know what the max number of MCA/INIT records we would
> expect to see during a worst-case type event?

At least NR_CPUS.  In the case of an nmi of the systen, for example, there
will be an INIT record for each CPU.  SAL is expected to create a record
for each CPU.

I think the real question is how many MCA/INIT records will linux 
process at one time.  For both MCA and INIT, the CPUs are rendezvoused
one CPU becomes the monarch, so there is only one CPU calling down to 
SAL at a time.  Even in the case of multiple CPUs going into MCA at
the same time the handling is done one CPU at a time (after the first
CPU handles its MCA it is demoted to a slave and the next CPUs promoted
to monarch to handle its MCA).  

That said, the more parallel the processing of records, the more buffering
will be needed.  

There is the potential for nested MCAs one a given CPU that should be
handled.  Since CPUs are rendezvoued, it is extremely unlikely to have
more that one layer of nesting (two MCA records).  

Nested CPEI/CMCI are more likely.  Since the handling of those interrupts
is done with interrupts enabled (per the MCA Spec) there is a greater
potential for multiple records per CPU being processed at the same
time.

A big part of the issue is how quickly salinfo able to process records.
The quicker it handles the records, the less buffering is needed.
Since salinfo is running in userland, it can get held off for long
periods of time.

-- 
Russ Anderson, OS RAS/Partitioning Project Lead  
SGI - Silicon Graphics Inc          rja@sgi.com

      parent reply	other threads:[~2008-02-27 16:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-22 17:14 ia64_mca_cpe_int_handler Zoltan Menyhart
2008-02-22 22:32 ` ia64_mca_cpe_int_handler Luck, Tony
2008-02-22 23:44 ` ia64_mca_cpe_int_handler Russ Anderson
2008-02-23  0:02 ` ia64_mca_cpe_int_handler Luck, Tony
2008-02-25 17:05 ` ia64_mca_cpe_int_handler Zoltan Menyhart
2008-02-26 21:01 ` ia64_mca_cpe_int_handler Russ Anderson
2008-02-27 10:06 ` ia64_mca_cpe_int_handler Zoltan Menyhart
2008-02-27 10:53 ` ia64_mca_cpe_int_handler Robin Holt
2008-02-27 12:18 ` ia64_mca_cpe_int_handler Zoltan Menyhart
2008-02-27 16:29 ` Russ Anderson [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=20080227162908.GA1908@sgi.com \
    --to=rja@sgi.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