From: Esben Nielsen <nielsen.esben@gogglemail.com>
To: Josu Onandia <jonandia@fagorautomation.es>
Cc: Linuxppc-embedded@ozlabs.org
Subject: Re: Measure Interrupt Latency on MPC5200B
Date: Tue, 19 Sep 2006 14:16:07 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.64.0609191414090.10784@frodo.shire> (raw)
In-Reply-To: <450FDCFD.9040102@fagorautomation.es>
On Tue, 19 Sep 2006, Josu Onandia wrote:
> Syed Amer Gilani wrote:
>
>> We have a MPC5200B(ppc) Board from Phytec, running with a 2.6 Linux
>> Kernel. For Documentation purposes and testings how patches to the
>> Kernel affects real time capabilities we want to measure the Interrupt
>> Latency.
>> I only found tools for other arches or patches for far to old kernels.
>> Does somebody know a way for a 2.6 kernel on ppc? I already thought of
>> generating a signal on an Output of the Board and measure it with a
>> Oscilloscope but i don't find that method satisfying.
>>
>> Thank you in advance,
>> Syed Amer Gilani
>> _______________________________________________
>> Linuxppc-embedded mailing list
>> Linuxppc-embedded@ozlabs.org
>> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>>
>>
> Hi. I'm sorry for my own latency, but I've been very busy.
>
> I'm measuring interrup latency in an MPC5200B, too, but with Linux 2.4.
>
> With this processor you can use the TB registers to measure a lapse of time.
>
> I use a GPT timer to generate a periodic interrupt. From the interrupt
> routine I read the TBL and compare it with the expected value.
>
> I do this using RTAI, because I need real-time response to interrupts,
> but I suppose that with little effort you can port it to standard Linux.
>
> If you want more details, or my actual source code, email me.
>
> Josu Onandia
>
>
What are your results under the normal kernel and under RTAI?
Have anyone tried with -rt kernels? What are the results?
I work for a company using MPC5200 with VxWorks. It could be fun to
compare numbers...
Esben
next prev parent reply other threads:[~2006-09-19 12:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-14 12:00 Measure Interrupt Latency on MPC5200B Syed Amer Gilani
2006-09-19 12:05 ` Josu Onandia
2006-09-19 12:16 ` Esben Nielsen [this message]
2006-09-19 12:44 ` Josu Onandia
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=Pine.LNX.4.64.0609191414090.10784@frodo.shire \
--to=nielsen.esben@gogglemail.com \
--cc=Linuxppc-embedded@ozlabs.org \
--cc=jonandia@fagorautomation.es \
/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).