LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   xenomai giving higher latencies (https://www.linuxquestions.org/questions/linux-kernel-70/xenomai-giving-higher-latencies-813481/)

pratibhasri 06-10-2010 11:00 PM

xenomai giving higher latencies
 
hii
i am still not sure which is better to get hard real time performance on linux.
theoretically looks xenomai/rtai is better than Preempt RT
but when i tried i found xenomai is giving higher and more frequent latencies compared to Preempt RT patch
may be i am missing someting during configuring xenomai
i have tried with linux 2.6.23
xenomai 2.4.1 and preempt rt-11 patch
can anybody guide what i am missing in xenomai installation
i made following conf edits for xenomai
enable smi workaround - y
globally disable smi -y
power management support - n
cpu freq scaling -n

is it possible to put both xenomai and preempt rt patch together
i tried the abice two but they are not going together

nini09 06-14-2010 03:04 PM

What's your testing tool, benchmark? Do you change xenomai configuration and compare them again?

pratibhasri 06-15-2010 02:25 AM

i am toggling one hardware output bit
and also comparing with gettimeofday function

nini09 06-16-2010 02:31 PM

The kernel response time is the sum of the following times :

Interrupt latency
Interrupt handler duration
Scheduler Latency
Scheduling Duration

What time do you talk about?

pratibhasri 06-21-2010 03:11 AM

i am talking of the total latency only
that is said to be reduced for xenomai linux
as setting and resetting one port bit in the application on each timer interrupt will involve all latencies.

nini09 06-24-2010 03:18 PM

What API in application do you use? Do you use real time API?

pratibhasri 06-28-2010 02:43 AM

yes,
i am using the RTDM only for xenomai.


All times are GMT -5. The time now is 09:00 PM.