Skip to contentSkip to conversation

Compaq nc6120 timer frequency

Xenomai-help Cedric Herreman 2 participants 4 messages Jun 12, 2006 – Jun 13, 2006 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hello,

I have installed xenomai on my Compaq nc6120 portable. Everything seems to be working OK. There is only one issue :

When i create a periodic task, it runs with a higher period than expected (60 x). I have the impression that the ratio "ticks per ns" is not correct. The latencies are acceptable.

I am running xenomai-2.1.2 on a 2.6.16.20 kernel.

cat /proc/xenomai/timer:
status=oneshot:setup=51:tickval=1:jiffies=42919216297

cat /proc/xenomai/latency:
2699

cat /proc/cpufreq:

           minimum CPU frequency  -  maximum CPU frequency  -  policy
 CPU  0       800000 kHz ( 50 %)  -    1600000 kHz (100 %)  -  userspace

cat /proc/cpuinfo:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Pentium(R) M processor 1.60GHz
stepping : 8
cpu MHz : 798.419
cache size : 2048 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx est tm2
bogomips : 1576.96

Can anyone give me a hint on this problem ?

Thanks,

Cedric.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

#1 lore raw
Quoted 1 line · Cedric Herreman

Can anyone give me a hint on this problem ?

disable cpufreq.

Signature · 1 line
					    Gilles Chanteperdrix.
#3 lore raw
In reply to a message not in the archive
Quoted 2 lines · Cedric Herreman

I disabled CPU Frequency Scaling and recompiled kernel + modules, but the problem remains.

If it is not done, please also disable CONFIG_ACPI_PROCESSOR.

Do you observe the same behaviour with the latency test ? If yes, could you send us your .config, if not, could you show us a minimal piece of code which has a problem ?

Signature · 1 line
					    Gilles Chanteperdrix.
#4 lore raw

Gilles,

Disabling ACPI fixed the problem. Thanks for your help.

Cedric.

Quoted 2 lines · Gilles Chanteperdrix <[email protected]> wrote: Cedric Herreman…

I disabled CPU Frequency Scaling and recompiled kernel + modules, but the problem remains.

If it is not done, please also disable CONFIG_ACPI_PROCESSOR.

Do you observe the same behaviour with the latency test ? If yes, could you send us your .config, if not, could you show us a minimal piece of code which has a problem ?

Signature · 7 lines
         Gilles Chanteperdrix.


 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com