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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,38d01316d66d8f95 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.220.229 with SMTP id pz5mr4658091pbc.5.1331195232775; Thu, 08 Mar 2012 00:27:12 -0800 (PST) Path: h9ni1729pbe.0!nntp.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Ada and linux real time Date: Thu, 8 Mar 2012 09:27:17 +0100 Organization: cbb software GmbH Message-ID: References: <8kb66jddm0qb.1piup0wfaho1$.dlg@40tude.net> <3a01f684-b544-4051-985d-58aab98e832c@v2g2000vbx.googlegroups.com> <13z45jd9irz9x.1j2hj7ayxwkyj.dlg@40tude.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: FbOMkhMtVLVmu7IwBnt1tw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2012-03-08T09:27:17+01:00 List-Id: On Thu, 8 Mar 2012 02:38:53 +0000 (UTC), Eilie wrote: > On 2012-03-07, Dmitry A. Kazakov wrote: >> On Wed, 7 Mar 2012 04:10:14 -0800 (PST), slos wrote: >> >> I cannot tell for Linux, because I didn't use it for real-time purposes >> yet. Ideally it should derive the system time from the TSC. However >> scheduling would likely limited when controlled by timer interrupts. The >> minimal waiting time is then determined by the timer's period. You should >> look for this kernel setting if you want go below 10ms, or what the actual >> limit is. > > And what OS do you use for real-time purposes? Don't get me wrong, It just happened that I am using VxWorks. But I am sure it is possible to achieve 1ms or 0.1ms cycles under Linux too. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de