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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6795142175316a47 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!newsfeed.stueberl.de!newsr1.ipcore.viaginterkom.de!news-peer1!btnet-feed3!btnet!carbon.eu.sun.com!new-usenet.uk.sun.com!not-for-mail From: Ole-Hjalmar Kristensen Newsgroups: comp.lang.ada Subject: Re: TRON for AdaOS Date: 18 Feb 2005 10:13:13 +0100 Organization: Sun Microsystems Message-ID: References: <1886813.de8De94B0N@jellix.jlfencey.com> NNTP-Posting-Host: khepri06.norway.sun.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: new-usenet.uk.sun.com 1108718003 8459 129.159.112.195 (18 Feb 2005 09:13:23 GMT) X-Complaints-To: usenet@new-usenet.uk.sun.com NNTP-Posting-Date: 18 Feb 2005 09:13:23 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 Xref: g2news1.google.com comp.lang.ada:8413 Date: 2005-02-18T09:13:23+00:00 List-Id: On my system, it's surely not guaranteed. But it's perfectly adequate for building soft real time systems. My point is that the task switching overhead itself is very low on Linux. I did not say anything about the granularity of the time slice. My test program also includes the overhead in accessing a shared protected object, btw. >>>>> "V'H" == Vinzent 'Gadget' Hoefler writes: V'H> Ole-Hjalmar Kristensen wrote: >> I would be very surprised if "RTLinux switches tasks in milliseconds" >> actually is true. On my system, (a vanilla Linux admittedly : >> 2.4.9-e.34smp #1 SMP ), task switching takes about 4.5 microseconds. V'H> And that timing is guaranteed? V'H> Vinzent. V'H> -- V'H> worst case: The wrong assumption there actually is one. -- C++: The power, elegance and simplicity of a hand grenade.