Re: [Xenomai-help] CONFIG_PREEMPT irqbench

2007-02-14 Thread Jan Kiszka
Markus Franke wrote: Dear all, I am running some latency tests with irqbench/irqloop. I am wondering whether it would be possible to achieve better results when activating CONFIG_PREEMPT and CONFIG_PREEMPT_VOLUNTARILY during the kernel configuration and running irqloop in User Mode over

Re: AW: [Xenomai-help] pthread_make_periodic_np and clock_gettime

2007-02-14 Thread Jan Kiszka
[EMAIL PROTECTED] wrote: Hah, I waited for the first footer of this kind appearing on mailing lists! As far as I understood the new German law, this is not required when you post to public forums. But probably your corporate mail server injects this automatically. Jan You are right. I

Re: [Xenomai-help] CONFIG_PREEMPT irqbench

2007-02-14 Thread Jan Kiszka
Jan Kiszka wrote: Markus Franke wrote: Dear all, I am running some latency tests with irqbench/irqloop. I am wondering whether it would be possible to achieve better results when activating CONFIG_PREEMPT and CONFIG_PREEMPT_VOLUNTARILY during the kernel configuration and running irqloop in

Re: [Xenomai-help] CONFIG_PREEMPT irqbench

2007-02-14 Thread Jan Kiszka
Markus Franke wrote: Hmm, I should have better said tiny. This experience is based on I-pipe tracer observations, and I guess you don't have that thing on, have you? I have set: ---snip--- # CONFIG_IPIPE_DEBUG is not set CONFIG_IPIPE_TRACE_ENABLE_VALUE=0 ---snap--- in both kernels

Re: [Xenomai-help] CONFIG_PREEMPT irqbench

2007-02-14 Thread Markus Franke
Jan Kiszka wrote: Of course, irqloop runs in *primary* mode to be able to handle the events deterministically. So it is not directly affected by CONFIG_PREEMPT. If I start irqloop in User-Mode, a thread is simply created via Linux system call pthread_create() which interacts with the

Re: [Xenomai-help] CONFIG_PREEMPT irqbench

2007-02-14 Thread Dmitry Adamushko
On 14/02/07, Markus Franke [EMAIL PROTECTED] wrote: Jan Kiszka wrote: Of course, irqloop runs in *primary* mode to be able to handle the events deterministically. So it is not directly affected by CONFIG_PREEMPT. If I start irqloop in User-Mode, a thread is simply created via Linux system

Re: [Xenomai-help] CONFIG_PREEMPT irqbench

2007-02-14 Thread Jan Kiszka
Markus Franke wrote: Jan Kiszka wrote: Of course, irqloop runs in *primary* mode to be able to handle the events deterministically. So it is not directly affected by CONFIG_PREEMPT. If I start irqloop in User-Mode, a thread is simply created via Linux system call pthread_create() which

Re: [Xenomai-help] CONFIG_PREEMPT irqbench

2007-02-14 Thread Markus Franke
Dmitry Adamushko wrote: On 14/02/07, Markus Franke [EMAIL PROTECTED] wrote: Jan Kiszka wrote: Of course, irqloop runs in *primary* mode to be able to handle the events deterministically. So it is not directly affected by CONFIG_PREEMPT. If I start irqloop in User-Mode, a thread is

Re: [Xenomai-help] pthread_make_periodic_np and clock_gettime

2007-02-14 Thread Jan Kiszka
Gilles Chanteperdrix wrote: Jan Kiszka wrote: [EMAIL PROTECTED] wrote: Can anybody tell me, how I have to set the 2. parameter (starttp) of pthread_make_periodic_np ? When I use clock_gettime to fill startp I get a giant timeout value in the /proc/xenomai/sched list and my task

AW: [Xenomai-help] pthread_make_periodic_np and clock_gettime

2007-02-14 Thread Roderik_Wildenburg
Sorry for the stupid question but: what is tick_arg ? Do I have to configure it within Xenomai or is it a kernel parameter ? The timing of my target in principal is fine. When I set tstart.tv_sec=0; tstart.tv_nsec=0; both to zero, my task gets peiodic (task runs every second). Just when

Re: [Xenomai-help] Make error

2007-02-14 Thread Preetam Joshi
Hi, Do u mean to say that if i have created my tasks using native xenomai API's like rt_task_create , then inside those tasks i will have to use posix skin calls like pthread_setschedpolicy, etc...? Is that so. Cant i just have context switch between the tasks themselves say low priority and a

Re: [Xenomai-help] interrupts test

2007-02-14 Thread Wolfgang Grandegger
Hello, you program does not use Xenomai services and is therefore off-topic here, nevertheless... mani bhatti wrote: Hi I have attached a kernel module parint.c.When i insert parint.ko into kernel i get the following message from kernel . Request_irq returns 0 Interrupt generated. You