* [Xenomai-help] Xenomai and Perfmon2?
@ 2009-01-12 8:09 M. Koehrer
2009-01-12 10:10 ` Gilles Chanteperdrix
0 siblings, 1 reply; 2+ messages in thread
From: M. Koehrer @ 2009-01-12 8:09 UTC (permalink / raw)
To: xenomai
Hi everybody,
I am using Xenomai for real time system that has to compute complex simulations.
For that, not only real time behaviour but also computation power is relevant.
I am using Intel's Core 2 Duo/Quad CPUs.
The perfom2 package (http://perfmon2.sourceforge.net/) allows to access the CPU's
perfomance monitoring registers fairly easily.
It contains a kernel patch and a user mode frontend.
I have now tried to apply the Xenomai patch (first) and the perfom2 patch (second) which seems to work
(some slight modifications on the perfom2 patch have been necessary) partially.
I can now use the system-wide mode of pfmon, however I can not attach from pfmon to a running
realtime task (the kernel freezes), but at least the system-wide mode is quite helpful.
My questions to this combination:
- Can the perfmon2 kernel patch somehow destroy the real time behaviour of the Xenomai executable?
- I am mostly interested in things like EIST mode (Intel speed Step) changes, bus access delays etc.
Is there more simple way to access this information but using the perfom2 patch?
Thanks for any response on that questions!
Mathias
--
Mathias Koehrer
mathias_koehrer@domain.hid
Jetzt komfortabel bei Arcor-Digital TV einsteigen: Mehr Happy Ends, mehr Herzschmerz, mehr Fernsehen! Erleben Sie 50 digitale TV Programme und optional 60 Pay TV Sender, einen elektronischen Programmführer mit Movie Star Bewertungen von TV Movie. Außerdem, aktuelle Filmhits und spannende Dokus in der Arcor-Videothek. Infos unter www.arcor.de/tv
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xenomai-help] Xenomai and Perfmon2?
2009-01-12 8:09 [Xenomai-help] Xenomai and Perfmon2? M. Koehrer
@ 2009-01-12 10:10 ` Gilles Chanteperdrix
0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2009-01-12 10:10 UTC (permalink / raw)
To: M. Koehrer; +Cc: xenomai
M. Koehrer wrote:
> Hi everybody,
>
> I am using Xenomai for real time system that has to compute complex simulations.
> For that, not only real time behaviour but also computation power is relevant.
> I am using Intel's Core 2 Duo/Quad CPUs.
> The perfom2 package (http://perfmon2.sourceforge.net/) allows to access the CPU's
> perfomance monitoring registers fairly easily.
> It contains a kernel patch and a user mode frontend.
> I have now tried to apply the Xenomai patch (first) and the perfom2 patch (second) which seems to work
> (some slight modifications on the perfom2 patch have been necessary) partially.
> I can now use the system-wide mode of pfmon, however I can not attach from pfmon to a running
> realtime task (the kernel freezes), but at least the system-wide mode is quite helpful.
>
> My questions to this combination:
> - Can the perfmon2 kernel patch somehow destroy the real time behaviour of the Xenomai executable?
>
> - I am mostly interested in things like EIST mode (Intel speed Step) changes, bus access delays etc.
> Is there more simple way to access this information but using the perfom2 patch?
>
> Thanks for any response on that questions!
Hi Mathias,
you can not apply a patch made for Linux to a xenomai-patched kernel and
hope that it automatically works for Xenomai, it does not work that way,
you will have to modify the patch to get it running with Xenomai.
Without any modification the patch will only work for plain linux tasks.
If the patch is simple, the modifications may be simple too (for
instance, replacing some spinlocks with ipipe_spinlocks), but you are
talking about a 900K patch, I am afraid it will require more work.
As for Intel speed Step, it is not recommended to run xenomai with it:
Xenomai assumes a constant CPU frequency.
Regards.
--
Gilles.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-12 10:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-12 8:09 [Xenomai-help] Xenomai and Perfmon2? M. Koehrer
2009-01-12 10:10 ` Gilles Chanteperdrix
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.