Hi! One problem I had was that I needet to set very high periode-values for latency and switchbench. I think I've found a solution.
1. I increased the granularity of the system-timer I'm using full system-clock für the timer now, instead of system-clock/64 so now I have 1769472 ticks per jiffy (instead of 27648) 2. There was a wrong value for CLOCK_TICK_RATE in timex.h I think. It was set to 50000000 / 16 (by netsilicon), but it should be the hw clock frequency (http://arm.nihilisme.ca/doc/aleph.pdf ) CLOCK_TICK_RATE is now set to 176947200. Results: I'm able to pass Periods about 200us and lower to latency and switchbench now. But the Problem with Latency-Test with in-kernel periodic tasks and in-kernel timer handler exists further. ioctl RTTST_RTIOC_INTERM_BENCH_RES is sent once in userspace and received twice (by rt_tmbench_ioctl_rt and rt_tmbench_ioctl_nrt) ... There is no such behavior on my x86 running these tests. Now i'll try to check the communication between the rt-driver and the userspace now and will report my results. Greets Manfred
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
