From: "M. Koehrer" <mathias_koehrer@arcor.de>
To: tglx@linutronix.de, mathias_koehrer@arcor.de
Cc: lclaudio@uudg.org, linux-rt-users@vger.kernel.org
Subject: Re: Re: Disabling lapic timer for a certain core
Date: Fri, 5 Mar 2010 14:54:51 +0100 (CET) [thread overview]
Message-ID: <8898.1267797291298.JavaMail.ngmail@webmail11.arcor-online.net> (raw)
In-Reply-To: <alpine.LFD.2.00.1003050659380.2014@localhost.localdomain>
Hi Thomas,
thank you very much for the reply.
> Please do _NOT_ top post. Please reply inline and in context.
Sorry for that...
> > The issue is here, that the interrupt routine of the kernel
> > takes too long here.
> > It would be fine to have the timer interrupt called more
> > often and to process with each call only a subset of the
> > jobs to be done...
> > This would reduce the time the CPU the user mode
> > is interrupted by the timer routine.
>
> Err, by splitting the work you introduce even more overhead. That's
> the wrong approach. The first question is which timers are running on
> that CPU as you have isolated it.
You are right. The total overhead is of course larger.
However, the overhead that could appear within a single of our 40us loops
would be smaller. It is fine for me to have a 5us add on with each loop.
But it is not allowed to have a 15us add on with every 1000th loop...
>
> In theory it's possible to remove the timer interrupt from such an
> isolated core completely, but there needs to be some work done vs. the
> scheduler, accounting, RCU etc. There are people looking into this,
> but we have no patches yet.
I have checked the LAPIC addresses via the MSRs.
All LAPIC addresses for all CPU cores are the same.
I assume they share the very same configuration, thus a minimum step
would be to make a copy of this configuration data and to let CPU core 3
point to this copy. This would allow to disable the timer.
>
> What kind of application is that ? Data acquistion or closed loop
> processsing ?
I am running a close loop application.
Thank you very much.
Regards
Mathias
--
Mathias Koehrer
mathias_koehrer@arcor.de
Tolle Dekolletés oder scharfe Tatoos? Vote jetzt ... oder mach selbst mit und zeige Deine Schokoladenseite
bei Topp oder Hopp von Arcor: http://www.arcor.de/rd/footer.toh
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2010-03-05 13:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-04 21:03 Re: Disabling lapic timer for a certain core M. Koehrer
2010-03-05 7:05 ` Thomas Gleixner
2010-03-05 13:54 ` M. Koehrer [this message]
2010-03-06 9:18 ` Thomas Gleixner
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=8898.1267797291298.JavaMail.ngmail@webmail11.arcor-online.net \
--to=mathias_koehrer@arcor.de \
--cc=lclaudio@uudg.org \
--cc=linux-rt-users@vger.kernel.org \
--cc=tglx@linutronix.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;
as well as URLs for NNTP newsgroup(s).