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=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HTML_MESSAGE,MAILING_LIST_MULTI,MIME_QP_LONG_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 13934 invoked from network); 28 Nov 2022 13:43:23 -0000 Received: from minnie.tuhs.org (50.116.15.146) by inbox.vuxu.org with ESMTPUTF8; 28 Nov 2022 13:43:23 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 9351F41BA4; Mon, 28 Nov 2022 23:42:46 +1000 (AEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by minnie.tuhs.org (Postfix) with ESMTPS id 0CB5841BA3 for ; Mon, 28 Nov 2022 23:42:39 +1000 (AEST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 48B8B5C010D; Mon, 28 Nov 2022 08:42:37 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 28 Nov 2022 08:42:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=serissa.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1669642957; x= 1669729357; bh=O+pQZDmuolNeyArWG/chIINedxhISIlLCqtHJpTkpq8=; b=h iLhFMhunhcfnJ+X1GxljarOVBTVnnfgDpLsUBk/kV71gDk8+pyqjM/Buu+noI9dl vLpHrdGuwj4+YC2CSOfd/ILDAJtZB30W0avAbjgOJYCdadXyM8MFCpdFDNcDL72l kCoKLHVVk/BRJUUyO8VF0QbxZchsnaAJAr3QHMHBJ4x9ZpdhfrEyemdfmYnWYbEm qzkZmxWU7C26qlhlo8zt0R0Wna2rw2BpPI0Qm9vCKMo+1BF68mgfervhKy/52KP5 abJuWNdnZxp/MQY8lwKMiW4jKM1jNoxOaQ+Q92jkU+/VgR+UABtqhREm2XktJzQi 9yyKvHFHmhk1M0mrLFRNA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1669642957; x= 1669729357; bh=O+pQZDmuolNeyArWG/chIINedxhISIlLCqtHJpTkpq8=; b=c 2AzOwKfcgXTLW0tMDgmqzUj8ZhHtqX93fgtmk+0PwH/h5czRgGgYtxbkDVTuuXwa lqSQqZOvy5P+EvWvJRI0yVRWZ5LA/AJfmmGFX52v28VZ94nBnj0EMtgA5XGtV5P1 2/XsuN03GUli98PUr/+KBaRm/xoJGBm54AW3XLwZHGLbzgrih/Y7TcEc/I2Anf5J VQ9RTVn1qm+B1C32lWxiBaSx7oa/kZheShC/WhSMMpPQ39QcFumizpU/32RYa3Zk CrgbFxU+rrTg6LGxUYrG5R3D7xWyTFyxYntj932nu3a6Wp25WBZKaES+A4gBrjrx 2AyfD5U+wbHjL8PTLQ+gg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrjedvgdehjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurheptgfghfggufffkfhfvegjvffosegrje hmrehhtdejnecuhfhrohhmpefnrghrrhihucfuthgvfigrrhhtuceoshhtvgifrghrthes shgvrhhishhsrgdrtghomheqnecuggftrfgrthhtvghrnhepudfglefgleffiedufeffke fgleefhfelgefguddvheeghedtkeduvdffheduveeunecuffhomhgrihhnpehnphhsrdgv ughunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepsh htvgifrghrthesshgvrhhishhsrgdrtghomh X-ME-Proxy: Feedback-ID: ibf61458d:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 28 Nov 2022 08:42:36 -0500 (EST) Content-Type: multipart/alternative; boundary=Apple-Mail-D1E4F802-52A4-4283-8438-25F11A9487CD Content-Transfer-Encoding: 7bit From: Larry Stewart Mime-Version: 1.0 (1.0) Date: Mon, 28 Nov 2022 08:42:34 -0500 Message-Id: <84EC9581-FABE-48FC-81E8-6559A5239755@serissa.com> References: <7C8CADAB-65AA-4841-AFA1-569A9651E56D@planet.nl> In-Reply-To: <7C8CADAB-65AA-4841-AFA1-569A9651E56D@planet.nl> To: Paul Ruizendaal X-Mailer: iPad Mail (19G82) Message-ID-Hash: LKD4EZ2UOOHAVS65PRDBDIZ7HFGMUFTA X-Message-ID-Hash: LKD4EZ2UOOHAVS65PRDBDIZ7HFGMUFTA X-MailFrom: stewart@serissa.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tuhs.tuhs.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: The Eunuchs Hysterical Society X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: Early multiprocessor Unix List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --Apple-Mail-D1E4F802-52A4-4283-8438-25F11A9487CD Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable There's a 1975 paper about an MP Unix at the Naval Postgraduate School by Ha= wley and Meyer. https://calhoun.nps.edu/handle/10945/20959 > On Nov 28, 2022, at 8:28 AM, Paul Ruizendaal wrote: >=20 > =EF=BB=BFThe discussion about the 3B2 triggered another question in my hea= d: what were the earliest multi-processor versions of Unix and how did they r= elate? >=20 > My current understanding is that the earliest one is a dual-CPU VAX system= with a modified 4BSD done at Purdue. This would have been late 1981, early 1= 982. I think one CPU was acting as master and had exclusive kernel access, t= he other CPU would only run user mode code. >=20 > Then I understand that Keith Kelleman spent a lot of effort to make Unix r= un on the 3B2 in a SMP setup, essentially going through the source and findi= ng all critical sections and surrounding those with spinlocks. This would be= around 1983, and became part of SVr3. I suppose that the =E2=80=9Cspl()=E2=80= =9D calls only protected critical sections that were shared between the main= thread and interrupt sequences, so that a manual review was necessary to co= nsider each kernel data structure for parallel access issues in the case of 2= CPU=E2=80=99s. >=20 > Any other notable work in this area prior to 1985? >=20 > How was the SMP implementation in SVr3 judged back in its day? >=20 > Paul --Apple-Mail-D1E4F802-52A4-4283-8438-25F11A9487CD Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
The= re's a 1975 paper about an MP Unix at the Naval Postgraduate School by Hawle= y and Meyer.



On Nov 28, 2022, at 8:28 AM, Paul Ruizendaal <pnr@planet.n= l> wrote:

=EF=BB=BFThe discussion about the 3B2 triggered another question= in my head: what were the earliest multi-processor versions of Unix and how= did they relate?

My current understanding i= s that the earliest one is a dual-CPU VAX system with a modified 4BSD done a= t Purdue. This would have been late 1981, early 1982. I think one CPU was ac= ting as master and had exclusive kernel access, the other CPU would only run= user mode code.

Then I understand that Kei= th Kelleman spent a lot of effort to make Unix run on the 3B2 in a SMP setup= , essentially going through the source and finding all critical sections and= surrounding those with spinlocks. This would be around 1983, and became par= t of SVr3. I suppose that the =E2=80=9Cspl()=E2=80=9D calls only protected c= ritical sections that were shared between the main thread and interrupt sequ= ences, so that a manual review was necessary to consider each kernel data st= ructure for parallel access issues in the case of 2 CPU=E2=80=99s.
Any other notable work in this area prior to 1985?

How was the SMP implementation in SVr3 judge= d back in its day?

Paul
= --Apple-Mail-D1E4F802-52A4-4283-8438-25F11A9487CD--