From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10524 invoked from network); 22 Jul 2020 05:41:37 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 22 Jul 2020 05:41:37 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 7713A9C900; Wed, 22 Jul 2020 15:41:34 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id CB91A9C8C3; Wed, 22 Jul 2020 15:40:28 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=iitbombay-org.20150623.gappssmtp.com header.i=@iitbombay-org.20150623.gappssmtp.com header.b="yGOmewNt"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 6BE079C8C3; Wed, 22 Jul 2020 15:40:26 +1000 (AEST) Received: from mail-pj1-f68.google.com (mail-pj1-f68.google.com [209.85.216.68]) by minnie.tuhs.org (Postfix) with ESMTPS id 92F1693D09 for ; Wed, 22 Jul 2020 15:40:25 +1000 (AEST) Received: by mail-pj1-f68.google.com with SMTP id k1so564536pjt.5 for ; Tue, 21 Jul 2020 22:40:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iitbombay-org.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=3sGQHnjCcev2AwxTBYIOyowq2FXw7vxNNHCQrIsOnmE=; b=yGOmewNt+gvEUZhhHV1l9FHKpXCcZ3ooG4csVoYsekTftRFYWsKUrW5dKlN55mkKSK O/2HlDonqVbPj2k39G9sW1scgQ9fvTRhQGo92+NVrVK4H2eg8/CUMSbgQYMuOWcpjBtp jFG6umbrhAmydMRtvOETJwAxilYiamGTKkYGCNDXGWzWFAVyYetKnFM+A9aIUYOJ4sIZ ZuyPP4sQ4ycvXl8crzlqp6n/8ckstpdJWgsM+M4ZZMYz+qme4cdW+YUYOA/y+ZsgaTCd 7W3p8tmWwYxADvJUbeIDJmDr5QGAws2s0K61WibQBm1VrrkaYVjR06B2l1QdWJFK4Hhg y1mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=3sGQHnjCcev2AwxTBYIOyowq2FXw7vxNNHCQrIsOnmE=; b=H/nbM/6+HDFPOKr4qkHGWHFtOCMdG+FA8dK5e3P/vw0JlpFl9OVfDzPJVv++TVVZKY qWyUcvxpnFCSqc5aNLg4btXwye4bE2V/7NGakpBbUdRD64wkwnZ8VRjPOgvQPnSuX40n 6xrI0nDCcppO5ahh0JUQ0HuRBRm8UdnjopiyUSd+ASi3M4KgNaX1ZRekl9QCDVZ9prft iKRcNwOCtbf1x4xXP+AT1dW2wFS/Pq66qcjRtidnjAQTVMYGMRlp+WhmCODKSgZ52pg6 JB0Pd1iCZceANzeTLqNrNnrCkdcblmcpRI5krdYkqSXtPVjFbXK8zCV04+iUt6ZFoskT 4q3Q== X-Gm-Message-State: AOAM530qDLlwj/NK2jExLC4biH8dBJvJWWaMibpOw13mGB+3SEK6TgSy Br/Re1jpTwgy+g5ZcnGO+BHEmaJTcfM= X-Google-Smtp-Source: ABdhPJypcHovZMPyR4I3rsp/kBkDq9WU69UcxUUN99c8Vwx2cF7goSKofElsvGWO4oFUiHWazLa/Zw== X-Received: by 2002:a17:902:b683:: with SMTP id c3mr16677283pls.188.1595396424273; Tue, 21 Jul 2020 22:40:24 -0700 (PDT) Received: from 107-215-223-226.lightspeed.sntcca.sbcglobal.net (107-215-223-226.lightspeed.sntcca.sbcglobal.net. [107.215.223.226]) by smtp.gmail.com with ESMTPSA id u26sm20417964pgo.71.2020.07.21.22.40.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Jul 2020 22:40:22 -0700 (PDT) From: Bakul Shah Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.15\)) Date: Tue, 21 Jul 2020 22:40:21 -0700 References: <8e7efd45-a84e-cf20-9d30-8222357596a3@tnetconsulting.net> <202007200847.06K8l8DF026646@freefriends.org> <20200720114957.GL26294@mcvoy.com> <20200721010411.GS26294@mcvoy.com> <20200722031313.GC1536749@mit.edu> To: The Eunuchs Hysterical Society In-Reply-To: <20200722031313.GC1536749@mit.edu> Message-Id: <8CA15A51-E251-40B9-BA6C-82063BCEC5F4@iitbombay.org> X-Mailer: Apple Mail (2.3445.104.15) Subject: Re: [TUHS] A/UX [was Linux is on-topic] X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On Jul 21, 2020, at 8:13 PM, tytso@mit.edu wrote: > > The issue is that there aren't that many good real-time programmers > Tavailable. Furthermore, many real-time applications need to do a lot > more than data acquisition, so having access to POSIX API's in the > real time task is very attractive. Sure, you can try to interchange > information between the real-time task and the POSIX task, but that's > a lot more complicated, and that's where the "not enough real-time > programmers" rears its head again. > > ... > Sure, there will be some number of real-time task which needs > single-digit millisecond real-time guarantees --- in which case you > can write it in C using Real-time Linux. And for those really cases > where you need latencies which are in the tens of microsecnds; then > yeah, at that point you might need specialized OS's. But the cases > where you need fast, hard real-time is pretty rare compared to those > cases where real-time Java is sufficient. The approach taken by Massalin in their Synthesis Kernel seemed quite promising. By using runtime code synthesis they were able to run realtime music synthesis at 25Khz sampling rate on a 20Mhz 68K machine. Too bad these ideas didn't take off. I wanted to use similar ideas in lieu of code like netgraph (in FreeBSD) or N layers of networking code but no tools existed. Today, on a computing device your browser may freeze for a few seconds due to garbage collection or whatever. Seems to me, a bigger issue than not-enough-real-time-real-programmers is a lack of good real time programming abstractions and tools. No way to specify or test a timing budget or required maximum latency. There are things like CBQ (class based queueing) for managing traffci flows but no such general purpose support for mapping code to hardware to meet timing and latency requirements.