From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,LOTS_OF_MONEY autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,dfedbe83126d2210 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-26 00:25:07 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!195.54.122.107!newsfeed1.bredband.com!bredband!newsspool1.bredband.com!news1.bredband.com.POSTED!not-for-mail From: "Per Sandbergs" Newsgroups: comp.lang.ada References: <8QcM7.77531$XJ4.41637211@news1.sttln1.wa.home.com> Subject: Re: Anyone using Ada with Real-Time Linux? X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-Mimeole: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: Date: Mon, 26 Nov 2001 09:25:28 +0100 NNTP-Posting-Host: 213.114.165.206 X-Complaints-To: news-abuse@bredband.com X-Trace: news1.bredband.com 1006763106 213.114.165.206 (Mon, 26 Nov 2001 09:25:06 CET) NNTP-Posting-Date: Mon, 26 Nov 2001 09:25:06 CET Organization: A customer of B2 Bredbandsbolaget (www.bredband.com) Xref: archiver1.google.com comp.lang.ada:16968 Date: 2001-11-26T09:25:28+01:00 List-Id: This sounds like soft realtime to me. We made a measurment on WinNT4 on a double CPUmachine and got no problems at all to meet deadlines of 1 ms with windows runing. So if you got only two threads on the CPU, one sampler running at high priority and one sender runing at lower priority i wold not be suprized if almost "any" operating system with non blocking io would do. Depending on your budget time and mony why dont do a test with a skeleton program and measuere the results, package "ada.realtime" provides an excelent interface for time measurment. As a note: There was a masters thesis done comparing WinNT and RH linux out of the box and they performed almost equal. /Per Sandberg "DuckE" wrote in message news:8QcM7.77531$XJ4.41637211@news1.sttln1.wa.home.com... > I've been looking into using Ada with one of the real-time flavors of Linux. > > It appears there are 3 flavors of real-time Linux (at least): > RTLinux - Provides a primative real-time layer that communicates with user > level Linux using queues. > RTAI - Provides a primative real-time layer, but also provides more > traditional real-time constructs such as semaphores. > MontaVista - (I don't know if there's a non-company name for this version) > Substitutes a different scheduler that changes the behavior of "real-time" > priority tasks such that the highest priority real-time task is always > scheduled, but doesn't do anything to avoid having interrupts turned off. > > A while back ACT announced that Zenotropix was partenering with GNAT to > produce Ada support, but it appears that they have been acquired by Lineo. > > It appears that GNAT 3.13p includes some support of rt-linux since there is > a test for a rt-linux target in the Makefile.in file included with the > distribution, but not all of the files needed are present in the > distribution. > > I have an application that acquires data at 1 msec intervals, processes the > accumulated data and transmits a summary of the data across a network every > 330 msec. The application is currently written in C and runs on VxWorks. > Moving the application to a different target, still under VxWorks means > shelling out another $30K to Wind River, plus $200 per target (at least). > If I can come up with a less expensive choice using Ada, ths may provide an > opportunity for a swithc. > > Thanks for any feedback, > SteveD > > >