Skip to contentSkip to conversation

ADEOS with dcache write through enabled on ARM

Adeos-main [email protected] 2 participants 2 messages Feb 8, 2007

lore
Share & tools
lore
#0 lore raw

Hello,

I read a suggestion Michael Neuhauser made on a web page to enable dcache write through on arm9 processors to improve real time latency on the ARM CPU.

I tried this on a cirrus EP9302 (ARM 920T) on a TS-7400 board and it does improve the worst case latency dramaticaly but it causes ramdom segmentation violations (init process on a idle machine and also user started processes)

I was wondering if any one has heard of problems on this specific processor when CONFIG_CPU_DCACHE_WRITETHROUGH=y with linux kernel 2.4.26 and ADEOS

The problem only happens when ADEOS patches are applied together with CONFIG_CPU_DCACHE_WRITETHROUGH=y. Having the dcache write through enabled without adeos patches works fine.

Please let me know if I missed something.

Thank You

Patrick Robin

#1 lore raw
Quoted 6 lines · [email protected] wrote:

Hello,

I read a suggestion Michael Neuhauser made on a web page to enable dcache write through on arm9 processors to improve real time latency on the ARM CPU.

Quoted 7 lines

I tried this on a cirrus EP9302 (ARM 920T) on a TS-7400 board and it does improve the worst case latency dramaticaly but it causes ramdom segmentation violations (init process on a idle machine and also user started processes)

I was wondering if any one has heard of problems on this specific processor when CONFIG_CPU_DCACHE_WRITETHROUGH=y with linux kernel 2.4.26 and ADEOS

That means you are using a really old and outdated version of Adeos. Do you have the chance to test a recent 2.6.19 I-pipe patch as well?

I guess many people are interested in reducing the poor ARM latencies and would be happy to work on fixing remaining quirks, but development now takes place around I-pipe, using Xenomai.

Quoted 5 lines

The problem only happens when ADEOS patches are applied together with CONFIG_CPU_DCACHE_WRITETHROUGH=y. Having the dcache write through enabled without adeos patches works fine.

Quoted 7 lines

Please let me know if I missed something.

Thank You

Patrick Robin

Jan