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_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 29937 invoked from network); 26 Aug 2023 23:53:25 -0000 Received: from tb-ob20.topicbox.com (173.228.157.66) by inbox.vuxu.org with ESMTPUTF8; 26 Aug 2023 23:53:25 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob20.topicbox.com (Postfix) with ESMTP id E64122A811 for ; Sat, 26 Aug 2023 19:53:22 -0400 (EDT) (envelope-from bounce.mM0a5984a2228bdd4fb5b8e1f2.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 9802C26BE6A9; Sat, 26 Aug 2023 19:53:22 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=Gf0BRfgL header.a=rsa-sha256 header.s=20221208 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; spf=pass smtp.mailfrom=robpike@gmail.com smtp.helo=mail-ua1-f54.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type:list-help:list-id:list-post :list-subscribe:reply-to:content-transfer-encoding :list-unsubscribe; s=sysmsg-1; t=1693094002; bh=5Dbswt/TiX13+uMJ VCL2kOxqigPdFrRtmr4ChsaliTg=; b=UsYbym22swD74rEWZTIzvxFH8A0HkjYc e5g4biY9Phl/B6Gdnyb2QY185k+xHRC+9DGUJz+1bD3H0rgjWp1CQIIWiOMZXY7V +wfAA6l/aepSKVjQDBXLo5K46f6+dP+dmsEfS7POq5m8AuavRR7CCF+Bq0gu5E8C +lMJ2TG6cXc= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1693094002; b=UFDTacdmEcBAoFhhyRRrOYg/tg4EOxWzw+ooKhoC6sAdza1tyN Sf8QRbn7i2M0/bToMITWv+MRBfbdzPv8wBHY9kQhQy6x5yN8llfWXzBbqLMaFNEY n4GfAla1MVUK51F9hNVRTGjygQgOn+5cJntUvO0LP60R9BPkZMkRnvI2A= Authentication-Results: topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=Gf0BRfgL header.a=rsa-sha256 header.s=20221208 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; spf=pass smtp.mailfrom=robpike@gmail.com smtp.helo=mail-ua1-f54.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=Gf0BRfgL header.a=rsa-sha256 header.s=20221208 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.222.54 (mail-ua1-f54.google.com); spf=pass smtp.mailfrom=robpike@gmail.com smtp.helo=mail-ua1-f54.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=g8Ul61g8; x-me-sender=none; x-ptr=pass smtp.helo=mail-ua1-f54.google.com policy.ptr=mail-ua1-f54.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h= mime-version:references:in-reply-to:from:date:message-id:subject :to:content-type:list-help:list-id:list-post:list-subscribe :reply-to:content-transfer-encoding:list-unsubscribe; s=dkim-1; t=1693094002; x=1693180402; bh=RW7SQxkQ49s+oZjqvyjGnNPIH0EcChxv FCxeDqx4TLk=; b=perhyXxJcz9DaBAxaim1Ph8ripPEO0eLOnoq74lgE6U9JDlJ JVQ73SRvo3tQ8+uQSJIJVaE9v40MLjttZWUfrjRqHGuT31fWCDnEVCq9y1cnppCZ rCO7b/HtV8FqpPOiXhn2F4RZlYUlgibIjmbGuckKdwhe04egSa1L/j13pCQ= Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id 45E69231F825 for <9fans@9fans.net>; Sat, 26 Aug 2023 19:53:07 -0400 (EDT) (envelope-from robpike@gmail.com) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id E79EFD26CC3; Sat, 26 Aug 2023 19:53:07 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1693093987; b=tTj5b3mWmQEwkDl4cs7FufqcnIrjB6VA5pfkWZS1TMLup6be4Q itAH43KkPFW1apwc4A1N7kVm32YyH0c5ZPvJ3suBtnIaBb7Yj8JF4TtUXEJZGF6t JlCPK+JVWKQUiPu29IQSR40uac97J2ka2v8xI4Aoa69NrbOFjFqCo4nLYPyaR/9F YC/3Yg6VIxMthhTPnph9YEvnFHUDp/nwuVfHq6d4JpxwjcDWaaHdsHvPHjDxwUVQ Q3Xa5eYlkr85+EhY0gfsIXkg0+42hXBaUF5RWHt9HFugM3IG6wS8Whvy2tK/9Yp0 zXarGWJ5xTnbsehMEmP4TMSKOl1VSOS7dmjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; s=arcseal; t=1693093987; bh=lQrtzE5JaRyBsNWjqOUHsw1//onTJ+NfkgrO6NZu5dw=; b=BmGFaMaQlDo2 4Nh9wIgXCm31+re87/+yQHDGDL23wqo2pjXplgefEFrt04s06kUhrYRofj/uRySL WT088x/hNEOlyO8yEuhcWngiu66v4HaI6cqVXnKt8rQDqtwk6AUFw1Gv/+XpHA5G 9pewQW8AEW9H6MQX3ACqADC1ic8wF1fBoOfwE31al1xfUf/gAzxX5CtxxbkdsqNH rW0/M29TyR+uEQ+F6nu1NxWTo6spXQvmycSxX7k7Cm+dvEr2o0I4RAlqTcIrRZ0/ 5OOmkM2JyQz/Jw1eNbhupAI9uHJKHSdxAuJYOqzl1GhiKahZmSlQh9zHIZvsIpFN RYz8H65s6A== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=Gf0BRfgL header.a=rsa-sha256 header.s=20221208 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.222.54 (mail-ua1-f54.google.com); spf=pass smtp.mailfrom=robpike@gmail.com smtp.helo=mail-ua1-f54.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=g8Ul61g8; x-me-sender=none; x-ptr=pass smtp.helo=mail-ua1-f54.google.com policy.ptr=mail-ua1-f54.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedviedrudefuddgvdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeggfhgjhf ffkffuvfgtsegrtderredttdejnecuhfhrohhmpeftohgsucfrihhkvgcuoehrohgsphhi khgvsehgmhgrihhlrdgtohhmqeenucggtffrrghtthgvrhhnpeejkeeihfejuddtjeevje elteeugeffteejudetvdfhjeeitedtjefhleevieetgfenucffohhmrghinheptggrthdq vhdrohhrghdpmhhikhgvrghshhdrtghomhdpthhophhitggsohigrdgtohhmnecukfhppe dvtdelrdekhedrvddvvddrheegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehinhgvthepvddtledrkeehrddvvddvrdehgedphhgvlhhopehmrghilhdquhgruddqfh ehgedrghhoohhglhgvrdgtohhmpdhmrghilhhfrhhomhepoehrohgsphhikhgvsehgmhgr ihhlrdgtohhmqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (gmail.com ... _spf.google.com: Sender is authorized to use 'robpike@gmail.com' in 'mfrom' identity (mechanism 'include:_netblocks.google.com' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="robpike@gmail.com"; helo=mail-ua1-f54.google.com; client-ip=209.85.222.54 Received: from mail-ua1-f54.google.com (mail-ua1-f54.google.com [209.85.222.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Sat, 26 Aug 2023 19:53:06 -0400 (EDT) (envelope-from robpike@gmail.com) Received: by mail-ua1-f54.google.com with SMTP id a1e0cc1a2514c-7a282340fdfso679781241.0 for <9fans@9fans.net>; Sat, 26 Aug 2023 16:53:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693093985; x=1693698785; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lQrtzE5JaRyBsNWjqOUHsw1//onTJ+NfkgrO6NZu5dw=; b=g8Ul61g8D4GAw14yrdYGiNsVGR4a290JxI6wL7LRLzvpw1KvQM9BVh6R/uc+eoJN+I Dl/e44KQMn7yDSkJ7P1/7CRO0tIdRyjMflefGNcKFO1uOEHUGmV9zET+GND5+4atnnx1 wcZ1S9s6lmXaM812Vw/D+FBla1ZzGf9T9ETWtB/WoKFO2XQgEnW1MuQrrNk6CCySW41B 5Ydwkvi0s9cjwFVDikBk1WxptWy5hYRqqZw4WiczV8lBhyr1anoDQcWZl8Cy+FwmaRTO N8pve0My+3KTqvWTtCqE6y5meZgbjsZTNRioCnB1rjmW9tn6skZH6WpGTJQM7aAR6l1c UO6Q== X-Gm-Message-State: AOJu0YzkYkIIsY8AG/Z5TqzSg2E2+CGZ6a2y8Hvuq4ap6XUd9gc4PUGS oYOIiTBj1+fllSZisBlxpbqFdy0jTuaQ0jJPHG8m/jD/ X-Google-Smtp-Source: AGHT+IFtbdRbYTrZ4iVa7YJ+TDkjWTnVEiyZ421sNj1KrK6/gTRSRJLnRD+mtbLWNCTV6ZEQ6JWerw1pTCDqnYEXeVI= X-Received: by 2002:a05:6102:107:b0:44e:8773:8c72 with SMTP id z7-20020a056102010700b0044e87738c72mr10272769vsq.0.1693093985598; Sat, 26 Aug 2023 16:53:05 -0700 (PDT) MIME-Version: 1.0 References: <16930784350.F9def3A.206812@composer.9fans.topicbox.com> <5B513D8B4458D938E871CF5EA6185EFE@eigenstate.org> In-Reply-To: <5B513D8B4458D938E871CF5EA6185EFE@eigenstate.org> From: Rob Pike Date: Sun, 27 Aug 2023 09:52:54 +1000 Message-ID: Subject: Re: [9fans] Plan9 multi-core support To: 9fans <9fans@9fans.net> Content-Type: multipart/alternative; boundary=0000000000009543860603dc291b Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: b6d168d8-446b-11ee-a1d0-f0d77bfae571 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UOTEyZTQ4MzhjYjFhMzcxZi1NMGE1OTg0YTIyMjhiZGQ0ZmI1Yjhl?= =?UTF-8?B?MWYyPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Content-Transfer-Encoding: 7bit List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M0a5984a2228bdd4fb5b8e1f2:1:VbUvKL021bvtiLqIDkya6vAs-kXwAM7vg4cMM5738cc --0000000000009543860603dc291b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable A big reason for doing Plan 9, as the linked article says right up top, was supporting multi{core|processor} machines. And that took some research because there really hadn't been that many around to write OSes for before then. Some novel work resulted, work that still has relevance. -rob On Sun, Aug 27, 2023 at 8:41=E2=80=AFAM wrote: > Quoth dusan3sic@gmail.com: > > Does plan9 have multi-core support? If it does, how does it manage it > (what files/man pages/docs do I read). If it doesn't have, how would I > implement it. > > read: https://doc.cat-v.org/plan_9/4th_edition/papers/9 > and once again, read: https://www.mikeash.com/getting_answers.html > > (hint: multiprocessor means the same thing as multicore) > > > If it doesn't have, how would I implement it. >=20 > it already has it, but if it didn't -- were incapable of finding out > if we have multicore support, what makes you would be able to implement i= t? >=20 ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T912e4838cb1a371f-M0a598= 4a2228bdd4fb5b8e1f2 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription --0000000000009543860603dc291b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
A big reason for doing Plan 9, as the linked article = says right up top, was supporting multi{core|processor} machines. And that = took some research because there really hadn't been that many around to= write OSes for before then. Some novel work resulted, work that still has = relevance.

-rob


On Sun, Aug 27, 2023 at 8:41 AM <<= a href=3D"mailto:ori@eigenstate.org">ori@eigenstate.org> wrote:
Quoth dusan3sic@gmail.com:
> Does plan9 have multi-core support? If it does, how does it manage it = (what files/man pages/docs do I read). If it doesn't have, how would I = implement it.

read: https://doc.cat-v.org/plan_9/4th_edition/pape= rs/9
and once again, read: https://www.mikeash.com/getting_an= swers.html

(hint: multiprocessor means the same thing as multicore)

> If it doesn't have, how would I implement it.

it already has it, but if it didn't -- were incapable of finding out if we have multicore support, what makes you would be able to implement it?=


------------------------------------------
9fans: 9fans
Permalink: https:= //9fans.topicbox.com/groups/9fans/T912e4838cb1a371f-M03de6b74bc9962920c191e= a8
Delivery options: https://9fans.topicbox.com/gro= ups/9fans/subscription
= --0000000000009543860603dc291b--