From: Keith Owens <kaos@sgi.com>
To: Bill Davidsen <davidsen@tmr.com>
Cc: Lee Revell <rlrevell@joe-job.com>,
Zwane Mwaikambo <zwane@arm.linux.org.uk>,
"Luck, Tony" <tony.luck@intel.com>,
Tony Luck <tony.luck@gmail.com>, Andrew Morton <akpm@osdl.org>,
linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org,
Jack Steiner <steiner@sgi.com>,
Dimitri Sivanich <sivanich@sgi.com>
Subject: Re: [PATCH] ia64: disable preemption in udelay()
Date: Fri, 23 Dec 2005 11:14:24 +1100 [thread overview]
Message-ID: <8270.1135296864@kao2.melbourne.sgi.com> (raw)
In-Reply-To: Your message of "Thu, 22 Dec 2005 16:45:08 CDT." <43AB1E64.6010504@tmr.com>
On Thu, 22 Dec 2005 16:45:08 -0500,
Bill Davidsen <davidsen@tmr.com> wrote:
>Lee Revell wrote:
>> On Thu, 2005-12-15 at 18:12 -0800, John Hawkes wrote:
>>
>>>From: "Lee Revell" <rlrevell@joe-job.com>
>>>
>>>>There are 10 drivers that udelay(10000) or more and a TON that
>>>>udelay(1000). Turning those all into 1ms+ non preemptible sections will
>>>>be very bad.
>>>
>>>What about 100usec non-preemptible sections?
>>
>>
>> That will disappear into the noise, in normal usage these happen all the
>> time. 500usec non preemptible regions are rare (~1 hour to show up) and
>> 1ms very rare (24 hours). My tests show that 300 usec or so is a good
>> place to draw the line if you don't want it to show up in latency tests.
>
>I may be misreading the original post, but the problem is described as
>one where the TSC is not syncronised and a CPU switch takes place. Would
>the correct solution be to somehow set CPU affinity temporarily in such
>a way as to avoid disabling preempt at all?
>
>The preempt doesn't seem to be the root problem, so it's unlikely to be
>the best solution...
Agreed. See [RFC] Add thread_info flag for "no cpu migration"[1] on
lkml. It got no response.
[1] http://marc.theaimsgroup.com/?l=linux-kernel&m=113471059115107&w=2
next prev parent reply other threads:[~2005-12-23 0:14 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-14 23:25 [PATCH] ia64: disable preemption in udelay() hawkes
2005-12-15 22:50 ` Luck, Tony
2005-12-16 1:04 ` Luck, Tony
2005-12-16 8:20 ` Christian Hildner
2005-12-16 14:14 ` Alan Cox
2005-12-16 1:52 ` Zwane Mwaikambo
2005-12-16 2:03 ` Lee Revell
2005-12-16 2:12 ` John Hawkes
2005-12-16 2:40 ` Zwane Mwaikambo
2005-12-16 3:19 ` Lee Revell
2005-12-22 21:45 ` Bill Davidsen
2005-12-23 0:14 ` Keith Owens [this message]
2005-12-23 6:03 ` Zwane Mwaikambo
2005-12-16 2:37 ` Zwane Mwaikambo
-- strict thread matches above, loose matches on Subject: below --
2005-12-16 2:42 hawkes
2005-12-16 12:28 ` Robin Holt
2005-12-16 17:33 ` Luck, Tony
2005-12-16 18:39 ` John Hawkes
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=8270.1135296864@kao2.melbourne.sgi.com \
--to=kaos@sgi.com \
--cc=akpm@osdl.org \
--cc=davidsen@tmr.com \
--cc=linux-ia64@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rlrevell@joe-job.com \
--cc=sivanich@sgi.com \
--cc=steiner@sgi.com \
--cc=tony.luck@gmail.com \
--cc=tony.luck@intel.com \
--cc=zwane@arm.linux.org.uk \
/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