From: Thomas Gleixner <tglx@linutronix.de>
To: Mark Hounschell <dmarkh@cfl.rr.com>
Cc: "Luis Claudio R. Goncalves" <lclaudio@uudg.org>,
"M. Koehrer" <mathias_koehrer@arcor.de>,
linux-rt-users@vger.kernel.org,
Mark Hounschell <markh@compro.net>
Subject: Re: Disabling lapic timer for a certain core
Date: Sat, 6 Mar 2010 10:10:17 +0100 (CET) [thread overview]
Message-ID: <alpine.LFD.2.00.1003060955250.2014@localhost.localdomain> (raw)
In-Reply-To: <4B90D618.2060100@cfl.rr.com>
On Fri, 5 Mar 2010, Mark Hounschell wrote:
> On 03/04/2010 09:04 AM, Luis Claudio R. Goncalves wrote:
> > On Thu, Mar 04, 2010 at 01:29:53PM +0100, M. Koehrer wrote:
> > | Is it possible to disable the "Local Timer Interrupt" for core 3 as it is actually not required here?
> > | I want to use the full 100% CPU core time for this single loop.
> > |
> > | Any help or ideas are welcome!
> > |
>
> This has been a long standing issue with me too. Moving your process to
> another socket won't help you. It is not a cache issue. It is the local
> timer interrupt just as you suspect. I've played with disabling it on a
> core but haven't been successful. This is a problem with both the vanilla
> and RT kernels. No matter what you do as far as isolation of tasks and
> normal interrupts, the local timer interrupt kills ya. The kernel is broken
> in this regard, by design. Your processors aren't yours. The kernel
> developers insist on claiming a piece of every one of them for their code.
> The kernel people will never change/fix this flaw in it's basic design
> because only a few (hard real-time) consider it a problem. Those people are
> told to use something else and that Linux wasn't designed for that kind of
> thing.
That's crap in several ways.
1) This is not a problem where only real-time folks are interested
in. HPC folks complain about the same thing.
2) As I said yesterday, we are aware of the problem and people are
working on a solution. It's just not that trivial as disabling the
timer interrupt. We need to sort out housekeeping stuff and solve
other problems to gain full isolation of a core.
I'm really fed up with the attitude of folks who claim that the kernel
is broken and we just are not interested to fix it. This has been
discussed several times in great length and all the details have been
pointed out which need work. But we have not seen a single patch from
the very people who whine about it.
> Unfortunately, the instructions (rdmsr and wrmsr) that could be used to
> disable/re-enable the local timer interrupt require DOM-0 privileges and
> can't be executed from user land. If it were not for that one little thing
> a solution would be easy. You wouldn't even need the RT patch set any more.
>
> You could probably hack the kernel up such that you could get DOM-0
> privileges in user land but don't expect any help from any kernel people
> for that sort of thing.
True, simply because we are not interested in hacked up one off shit,
which breaks things left and right.
Thanks,
tglx
next prev parent reply other threads:[~2010-03-06 9:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-04 12:29 Disabling lapic timer for a certain core M. Koehrer
2010-03-04 14:04 ` Luis Claudio R. Goncalves
2010-03-05 9:59 ` Mark Hounschell
2010-03-05 10:31 ` Jan Kiszka
2010-03-06 9:10 ` Thomas Gleixner [this message]
2010-03-06 13:12 ` Mark Hounschell
-- strict thread matches above, loose matches on Subject: below --
2010-03-04 21:03 M. Koehrer
2010-03-05 7:05 ` Thomas Gleixner
2011-05-23 21:40 Joe Howard
2011-05-23 23:49 ` Frank Rowand
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=alpine.LFD.2.00.1003060955250.2014@localhost.localdomain \
--to=tglx@linutronix.de \
--cc=dmarkh@cfl.rr.com \
--cc=lclaudio@uudg.org \
--cc=linux-rt-users@vger.kernel.org \
--cc=markh@compro.net \
--cc=mathias_koehrer@arcor.de \
/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