From: Jun Sun <jsun@mvista.com>
To: "Kevin D. Kissell" <kevink@mips.com>
Cc: linux-mips@linux-mips.org, jsun@mvista.com
Subject: Re: [jsun@mvista.com: Re: [RFC] FPU context switch]
Date: Wed, 18 Sep 2002 09:57:30 -0700 [thread overview]
Message-ID: <20020918095730.U17321@mvista.com> (raw)
In-Reply-To: <004101c25eef$ba035350$10eca8c0@grendel>; from kevink@mips.com on Wed, Sep 18, 2002 at 10:45:08AM +0200
On Wed, Sep 18, 2002 at 10:45:08AM +0200, Kevin D. Kissell wrote:
> From: "Jun Sun" <jsun@mvista.com>
> > On Wed, Sep 18, 2002 at 02:10:17AM +0200, Kevin D. Kissell wrote:
> > > Are you able to test this stuff on a proper SMP
> > > system, by the way? The efficiency of the code
> > > that manipulates interprocessor control variables
> > > can reasonably be expected to drop off a bit
> > > in a system with MP cache invalidations blasting
> > > left and right.
> >
> > Yes. I understand this effect. Solution 1), 2)
> > and 3) don't really suffer from this problem because
> > variables tested & manipulated are local - unless the
> > process migrates which is a different problem.
>
> It's not a "different problem",
Process migration causeing inter-processor memory access traffic
(which should be one-time) belongs to scheduling issue. It is
a different problem.
> it's the heart of the
> problem. If we weren't worried about SMP
> behavior, we wouldn't be revisiting this stuff.
> While (1) can obviously be done without any
> global knowledge, as could something (2)-like
> based on CPU-local state such as Status.CU1,
> (2), (3) and (4), as you describe them, all depend
> to some degree on shared multiprocessor variables
> to determine whether to save or restore FP state.
>
1), 2), 3) do not depend on global variables with shared
access from multiple cpus. Please read again.
Please note variables of "current" process do not cause
inter-processor traffic and thus not belong to this category.
Jun
prev parent reply other threads:[~2002-09-18 17:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-17 23:04 [jsun@mvista.com: Re: [RFC] FPU context switch] Jun Sun
2002-09-18 0:10 ` Kevin D. Kissell
2002-09-18 0:10 ` Kevin D. Kissell
2002-09-18 0:14 ` Jun Sun
2002-09-18 8:45 ` Kevin D. Kissell
2002-09-18 8:45 ` Kevin D. Kissell
2002-09-18 16:57 ` Jun Sun [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=20020918095730.U17321@mvista.com \
--to=jsun@mvista.com \
--cc=kevink@mips.com \
--cc=linux-mips@linux-mips.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