ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: high resolution timers and real time

To:
Subject: Re: [ts-7000] Re: high resolution timers and real time
From: Peter Gammie <>
Date: Sun, 17 Jan 2010 11:30:17 +1100
Charles,

Briefly: thanks heaps! I got 2.6.29.6 apparently doing its thing (hrt + rt) 
using the patch you cited - /proc/timers is making some sense, and my 
application must be getting sub-10ms sleeps as it doesn't flicker. I've added 
some comments below.

On 17/01/2010, at 12:59 AM, Charles wrote:

> The HRT, clockevents & dyntick support for ep93xx were in the -rt patchset at 
> one time, but seem to have been dropped some time ago. I don't recall the 
> exact versions, but there was a lull in -rt development and the ep93xx 
> support didn't make the forward port to the next -rt patch. Probably just an 
> oversight.

Right. The version numbers for the -RT patches show that forward-porting has 
lagged.

Roughly what I did to get the 2.6.29.6 linux kernel working with 
high-resolution timers and the real time patch was:

Apply Matthieu's patch for 2.6.29.1 from the files area. Some of it is already 
in the mainline 2.6.29.6.
Apply the -RT patch. I used patch-2.6.29.6-rt24.bz2
Apply the clockevents patch from here:

http://lkml.org/lkml/2009/7/22/119

I hand-hacked this on, using some of the advice in the thread to clean it up a 
bit.

In the kernel config, switch on high-res timers and the fully pre-emptible 
kernel option.

I get the impression that 2.6.31 would require a lot more effort to get going, 
as the memory subsystem has undergone some tectonic shifts.

cheers
peter

-- 
http://peteg.org/



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU