[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Preemptive patch for etrax kernel?

> -----Original Message-----
> From: Peter Trygg [mailto:petertrygg@xxxxxxx.se]
> Sent: zaterdag 6 april 2002 16:45
> To: Pieter Grimmerink; dev-etrax@xxxxxxx.com
> Subject: Re: Preemptive patch for etrax kernel?

> I recently finnished an application that required
> less than millisecond responce to serial input.
> All I did was to change the HZ #define in param.h 
> (found in asm-cris?) from 100 to 2400 and modified
> the definition of SHIFT_HZ. 

That sounds really encouraging.
> If your are pleased with approx 1 ms, 1200 is enough
> and then you can skip modifying SHIFT_HZ.

I would be more than pleased with 1 ms.

Thanks a lot for your sharing your findings, also everyone
else for all offered suggestions.

I think I'll start off with increasing HZ, when this is not
enough I'll consider using Mortons patch.


Pieter Grimmerink