Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

You're dead, Jim. -- McCoy, "The Tholian Web", stardate unknown


devel / comp.arch / Re: Capabilities, Anybody?

SubjectAuthor
* Capabilities, Anybody?Lawrence D'Oliveiro
+* Re: Capabilities, Anybody?MitchAlsup1
|+- Re: Capabilities, Anybody?BGB
|`* Re: Capabilities, Anybody?Scott Lurndal
| +* Re: Capabilities, Anybody?BGB
| |+* Re: Capabilities, Anybody?Robert Finch
| ||+- Re: Capabilities, Anybody?Lawrence D'Oliveiro
| ||`* Re: Capabilities, Anybody?BGB
| || `* Re: Capabilities, Anybody?MitchAlsup1
| ||  +- Re: Capabilities, Anybody?Chris M. Thomasson
| ||  `- Re: Capabilities, Anybody?Theo Markettos
| |+- Re: Capabilities, Anybody?Scott Lurndal
| |`* Re: Capabilities, Anybody?Theo Markettos
| | `* Re: Capabilities, Anybody?BGB
| |  +* Re: Capabilities, Anybody?Robert Finch
| |  |`- Re: Capabilities, Anybody?BGB
| |  +* Re: Capabilities, Anybody?BGB
| |  |`- Re: Capabilities, Anybody?MitchAlsup1
| |  `* Re: Capabilities, Anybody?Theo Markettos
| |   +- Re: Capabilities, Anybody?MitchAlsup1
| |   `- Re: Capabilities, Anybody?BGB
| `* Re: Capabilities, Anybody?Lawrence D'Oliveiro
|  `- Re: Capabilities, Anybody?Scott Lurndal
`* Re: Capabilities, Anybody?Robert Finch
 `* Re: Capabilities, Anybody?Lawrence D'Oliveiro
  `- Re: Capabilities, Anybody?Robert Finch

Pages:1234
Re: Capabilities, Anybody?

<usvus9$1so4m$3@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=38047&group=comp.arch#38047

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.arch
Subject: Re: Capabilities, Anybody?
Date: Thu, 14 Mar 2024 22:48:41 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <usvus9$1so4m$3@dont-email.me>
References: <usg40i$1udfo$3@dont-email.me>
<6b75cd0221ee827b49cd2275f2c65789@www.novabbs.org>
<Qry*XE3Ez@news.chiark.greenend.org.uk> <usla9a$3687e$1@dont-email.me>
<usmded$3gibh$1@dont-email.me> <usnid7$3os0b$1@dont-email.me>
<usr6na$on7u$1@dont-email.me>
<ee1e974410ea3ac4c23593c92c37a3fd@www.novabbs.org>
<ussqji$12vjp$1@dont-email.me>
<03159371a8f3251ced2cd3be21505896@www.novabbs.org>
<usta7f$16buu$2@dont-email.me>
<7bd273d4426dbdecfb3c3569506e8fe9@www.novabbs.org>
<ustepe$17drt$2@dont-email.me> <fhrIN.127084$TSTa.122122@fx47.iad>
<ustlm0$18ma1$2@dont-email.me>
<50649a9451e716aab680bdbc1f89b4fb@www.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 14 Mar 2024 22:48:41 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8a2351749b4eebd2a62c741e1ddb0aa2";
logging-data="1990806"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18UWhPKUirrIIddiGDMng9m"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:FKcfgkHDaxHv5pU103XRgIt930c=
 by: Lawrence D'Oliv - Thu, 14 Mar 2024 22:48 UTC

On Thu, 14 Mar 2024 22:14:57 +0000, MitchAlsup1 wrote:

> Lawrence D'Oliveiro wrote:
>
>> On Thu, 14 Mar 2024 00:11:55 GMT, Scott Lurndal wrote:
>
>>> The architectural features supporting virtualization are designed to
>>> isolate guests from both the hypervisor and other guests.
>
>> Providing an entire separate kernel for each VM is often unnecessary.
>> If you need separation at the level of entire subsystems, as opposed to
>> individual processes, then that’s what containers are for.
>
> If you are running k Linuxes under a single HyperVisor, you should be
> able to share all the Linux code after giving each of them their own VaS
> for data.

Unnecessary to set up complete separation only to poke holes (particularly
big holes) in it to share stuff. Simpler just to create a separation setup
that only separates what needs to be separate.

Re: Capabilities, Anybody?

<U%LIN.411921$vFZa.348262@fx13.iad>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=38048&group=comp.arch#38048

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!news.neodome.net!npeer.as286.net!npeer-ng0.as286.net!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx13.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: scott@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Capabilities, Anybody?
Newsgroups: comp.arch
References: <usg40i$1udfo$3@dont-email.me> <usmded$3gibh$1@dont-email.me> <usnid7$3os0b$1@dont-email.me> <usr6na$on7u$1@dont-email.me> <ee1e974410ea3ac4c23593c92c37a3fd@www.novabbs.org> <ussqji$12vjp$1@dont-email.me> <03159371a8f3251ced2cd3be21505896@www.novabbs.org> <usta7f$16buu$2@dont-email.me> <7bd273d4426dbdecfb3c3569506e8fe9@www.novabbs.org> <ustepe$17drt$2@dont-email.me> <fhrIN.127084$TSTa.122122@fx47.iad> <ustlm0$18ma1$2@dont-email.me> <50649a9451e716aab680bdbc1f89b4fb@www.novabbs.org>
Lines: 21
Message-ID: <U%LIN.411921$vFZa.348262@fx13.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Thu, 14 Mar 2024 23:47:00 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Thu, 14 Mar 2024 23:47:00 GMT
X-Received-Bytes: 1941
 by: Scott Lurndal - Thu, 14 Mar 2024 23:47 UTC

mitchalsup@aol.com (MitchAlsup1) writes:
>Lawrence D'Oliveiro wrote:
>
>> On Thu, 14 Mar 2024 00:11:55 GMT, Scott Lurndal wrote:
>
>>> The architectural features supporting virtualization are designed to
>>> isolate guests from both the hypervisor and other guests.
>
>> Providing an entire separate kernel for each VM is often unnecessary. If
>> you need separation at the level of entire subsystems, as opposed to
>> individual processes, then that’s what containers are for.
>
>
>If you are running k Linuxes under a single HyperVisor, you should be able
>to share all the Linux code after giving each of them their own VaS for data.

Bad idea. Single point of failure. Impossible to update one without
updating all. Linux does update code dynamically when loading and
unloading kernel modules.

Re: Capabilities, Anybody?

<ut04aa$1tppl$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=38049&group=comp.arch#38049

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m.thomasson.1@gmail.com (Chris M. Thomasson)
Newsgroups: comp.arch
Subject: Re: Capabilities, Anybody?
Date: Thu, 14 Mar 2024 17:21:29 -0700
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <ut04aa$1tppl$1@dont-email.me>
References: <usg40i$1udfo$3@dont-email.me>
<1951488caf6138e90c4bac62ee6ac41d@www.novabbs.org>
<_Y_GN.75295$LONb.13164@fx08.iad> <usibg4$2ffdn$1@dont-email.me>
<usif12$2g7eq$1@dont-email.me> <usinhj$2i2nn$1@dont-email.me>
<6b75cd0221ee827b49cd2275f2c65789@www.novabbs.org>
<Qry*XE3Ez@news.chiark.greenend.org.uk> <usla9a$3687e$1@dont-email.me>
<usmded$3gibh$1@dont-email.me> <usnid7$3os0b$1@dont-email.me>
<usr6na$on7u$1@dont-email.me>
<ee1e974410ea3ac4c23593c92c37a3fd@www.novabbs.org>
<ussqji$12vjp$1@dont-email.me>
<03159371a8f3251ced2cd3be21505896@www.novabbs.org>
<usta7f$16buu$2@dont-email.me>
<7bd273d4426dbdecfb3c3569506e8fe9@www.novabbs.org>
<ustepe$17drt$2@dont-email.me>
<98c115566bd98cef502d3c29cb9d2e71@www.novabbs.org>
<ustlmu$18ma1$3@dont-email.me>
<185db17a6fbfc62a1cbba4da890ad84d@www.novabbs.org>
<usvuq5$1so4m$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 15 Mar 2024 00:21:30 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ed612d4ce44e1af227fa0b762e20f588";
logging-data="2025269"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19/e95aAThy2iSWYEDLMOJSNwWVcMDfqzE="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:psS6JqZd0lBBVXm2zhgXN7k37bI=
In-Reply-To: <usvuq5$1so4m$2@dont-email.me>
Content-Language: en-US
 by: Chris M. Thomasson - Fri, 15 Mar 2024 00:21 UTC

On 3/14/2024 3:47 PM, Lawrence D'Oliveiro wrote:
> On Thu, 14 Mar 2024 22:11:41 +0000, MitchAlsup1 wrote:
>
>> There is no-one to take over.......and deal with the GuestOS
>> crash.......
>
> You can have a management process in the host that watches for these sorts
> of events, easily enough.

Watchdog, tick tick... ;^)

Re: Capabilities, Anybody?

<ut08eu$1ugmi$2@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=38050&group=comp.arch#38050

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.arch
Subject: Re: Capabilities, Anybody?
Date: Fri, 15 Mar 2024 01:32:14 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <ut08eu$1ugmi$2@dont-email.me>
References: <usg40i$1udfo$3@dont-email.me>
<1951488caf6138e90c4bac62ee6ac41d@www.novabbs.org>
<_Y_GN.75295$LONb.13164@fx08.iad> <usibg4$2ffdn$1@dont-email.me>
<usif12$2g7eq$1@dont-email.me> <usinhj$2i2nn$1@dont-email.me>
<6b75cd0221ee827b49cd2275f2c65789@www.novabbs.org>
<Qry*XE3Ez@news.chiark.greenend.org.uk> <usla9a$3687e$1@dont-email.me>
<usmded$3gibh$1@dont-email.me> <usnid7$3os0b$1@dont-email.me>
<usr6na$on7u$1@dont-email.me>
<ee1e974410ea3ac4c23593c92c37a3fd@www.novabbs.org>
<ussqji$12vjp$1@dont-email.me>
<03159371a8f3251ced2cd3be21505896@www.novabbs.org>
<usta7f$16buu$2@dont-email.me>
<7bd273d4426dbdecfb3c3569506e8fe9@www.novabbs.org>
<ustepe$17drt$2@dont-email.me>
<98c115566bd98cef502d3c29cb9d2e71@www.novabbs.org>
<ustlmu$18ma1$3@dont-email.me>
<185db17a6fbfc62a1cbba4da890ad84d@www.novabbs.org>
<usvuq5$1so4m$2@dont-email.me> <ut04aa$1tppl$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 15 Mar 2024 01:32:14 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="923cb71133c4c2bd336d691e5929520c";
logging-data="2048722"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18xfJtZYb19kj2nrqmw0+LD"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:O9lYmpWk+NtPjPnhtaGOpovw/kA=
 by: Lawrence D'Oliv - Fri, 15 Mar 2024 01:32 UTC

On Thu, 14 Mar 2024 17:21:29 -0700, Chris M. Thomasson wrote:

> On 3/14/2024 3:47 PM, Lawrence D'Oliveiro wrote:
>
>> On Thu, 14 Mar 2024 22:11:41 +0000, MitchAlsup1 wrote:
>>
>>> There is no-one to take over.......and deal with the GuestOS
>>> crash.......
>>
>> You can have a management process in the host that watches for these
>> sorts of events, easily enough.
>
> Watchdog, tick tick... ;^)

Event-driven would be more efficient and more responsive than periodic
polling.

Re: Capabilities, Anybody?

<Y4ZIN.418306$vFZa.399078@fx13.iad>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=38060&group=comp.arch#38060

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!193.141.40.65.MISMATCH!npeer.as286.net!npeer-ng0.as286.net!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx13.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: scott@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Capabilities, Anybody?
Newsgroups: comp.arch
References: <usg40i$1udfo$3@dont-email.me> <ussqji$12vjp$1@dont-email.me> <03159371a8f3251ced2cd3be21505896@www.novabbs.org> <usta7f$16buu$2@dont-email.me> <7bd273d4426dbdecfb3c3569506e8fe9@www.novabbs.org> <ustepe$17drt$2@dont-email.me> <98c115566bd98cef502d3c29cb9d2e71@www.novabbs.org> <ustlmu$18ma1$3@dont-email.me> <185db17a6fbfc62a1cbba4da890ad84d@www.novabbs.org> <usvuq5$1so4m$2@dont-email.me> <ut04aa$1tppl$1@dont-email.me> <ut08eu$1ugmi$2@dont-email.me>
Lines: 21
Message-ID: <Y4ZIN.418306$vFZa.399078@fx13.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Fri, 15 Mar 2024 14:39:52 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Fri, 15 Mar 2024 14:39:52 GMT
X-Received-Bytes: 1795
 by: Scott Lurndal - Fri, 15 Mar 2024 14:39 UTC

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>On Thu, 14 Mar 2024 17:21:29 -0700, Chris M. Thomasson wrote:
>
>> On 3/14/2024 3:47 PM, Lawrence D'Oliveiro wrote:
>>
>>> On Thu, 14 Mar 2024 22:11:41 +0000, MitchAlsup1 wrote:
>>>
>>>> There is no-one to take over.......and deal with the GuestOS
>>>> crash.......
>>>
>>> You can have a management process in the host that watches for these
>>> sorts of events, easily enough.
>>
>> Watchdog, tick tick... ;^)
>
>Event-driven would be more efficient and more responsive than periodic
>polling.

That assumes that an event can be generated, which may not be possible
with a guest os crash (if, for example, it was in an infinite loop
with interrupts disabled).

Re: Capabilities, Anybody?

<ut2do9$2fd1e$6@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=38067&group=comp.arch#38067

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.arch
Subject: Re: Capabilities, Anybody?
Date: Fri, 15 Mar 2024 21:14:49 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <ut2do9$2fd1e$6@dont-email.me>
References: <usg40i$1udfo$3@dont-email.me> <ussqji$12vjp$1@dont-email.me>
<03159371a8f3251ced2cd3be21505896@www.novabbs.org>
<usta7f$16buu$2@dont-email.me>
<7bd273d4426dbdecfb3c3569506e8fe9@www.novabbs.org>
<ustepe$17drt$2@dont-email.me>
<98c115566bd98cef502d3c29cb9d2e71@www.novabbs.org>
<ustlmu$18ma1$3@dont-email.me>
<185db17a6fbfc62a1cbba4da890ad84d@www.novabbs.org>
<usvuq5$1so4m$2@dont-email.me> <ut04aa$1tppl$1@dont-email.me>
<ut08eu$1ugmi$2@dont-email.me> <Y4ZIN.418306$vFZa.399078@fx13.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 15 Mar 2024 21:14:49 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="923cb71133c4c2bd336d691e5929520c";
logging-data="2602030"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/AOSHIXjNsZqOas/kjrtSv"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:vmhz5NW4Pxv9JjWWfNYYr5JQQns=
 by: Lawrence D'Oliv - Fri, 15 Mar 2024 21:14 UTC

On Fri, 15 Mar 2024 14:39:52 GMT, Scott Lurndal wrote:

> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>
>>Event-driven would be more efficient and more responsive than periodic
>>polling.
>
> That assumes that an event can be generated, which may not be possible
> with a guest os crash (if, for example, it was in an infinite loop with
> interrupts disabled).

It wouldn’t be a “guest OS”, it would be a “guest container”. Remember,
the processes in the container are isolated from the host, but the host
continues to have full visibility into the guest.

For a container, guest termination is synonymous with termination of its
guest-specific “init” (container-internal PID 1) process. A host watcher
process can monitor several of these at once via the Linux pidfd mechanism
<https://manpages.debian.org/2/pidfd_open.en.html>.

Re: Capabilities, Anybody?

<ut2f5p$2ffnh$5@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=38071&group=comp.arch#38071

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m.thomasson.1@gmail.com (Chris M. Thomasson)
Newsgroups: comp.arch
Subject: Re: Capabilities, Anybody?
Date: Fri, 15 Mar 2024 14:39:04 -0700
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <ut2f5p$2ffnh$5@dont-email.me>
References: <usg40i$1udfo$3@dont-email.me> <ussqji$12vjp$1@dont-email.me>
<03159371a8f3251ced2cd3be21505896@www.novabbs.org>
<usta7f$16buu$2@dont-email.me>
<7bd273d4426dbdecfb3c3569506e8fe9@www.novabbs.org>
<ustepe$17drt$2@dont-email.me>
<98c115566bd98cef502d3c29cb9d2e71@www.novabbs.org>
<ustlmu$18ma1$3@dont-email.me>
<185db17a6fbfc62a1cbba4da890ad84d@www.novabbs.org>
<usvuq5$1so4m$2@dont-email.me> <ut04aa$1tppl$1@dont-email.me>
<ut08eu$1ugmi$2@dont-email.me> <Y4ZIN.418306$vFZa.399078@fx13.iad>
<ut2do9$2fd1e$6@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 15 Mar 2024 21:39:05 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ed612d4ce44e1af227fa0b762e20f588";
logging-data="2604785"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Pg1A7SlhGxLH/zW3tXo1MgQHc9Z+ucxQ="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:PhbrN43XKDE0ASYJB8+ReO0DAdw=
Content-Language: en-US
In-Reply-To: <ut2do9$2fd1e$6@dont-email.me>
 by: Chris M. Thomasson - Fri, 15 Mar 2024 21:39 UTC

On 3/15/2024 2:14 PM, Lawrence D'Oliveiro wrote:
> On Fri, 15 Mar 2024 14:39:52 GMT, Scott Lurndal wrote:
>
>> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>>
>>> Event-driven would be more efficient and more responsive than periodic
>>> polling.
>>
>> That assumes that an event can be generated, which may not be possible
>> with a guest os crash (if, for example, it was in an infinite loop with
>> interrupts disabled).
>
> It wouldn’t be a “guest OS”, it would be a “guest container”. Remember,
> the processes in the container are isolated from the host, but the host
> continues to have full visibility into the guest.
>
> For a container, guest termination is synonymous with termination of its
> guest-specific “init” (container-internal PID 1) process. A host watcher
> process can monitor several of these at once via the Linux pidfd mechanism
> <https://manpages.debian.org/2/pidfd_open.en.html>.

Akin to the logic that is used to make robust mutexes work. EOWNDERDEAD
in POSIX or WAIT_ABANDONED over on windows...

Re: Capabilities, Anybody?

<ut3733$2nret$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=38076&group=comp.arch#38076

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: cr88192@gmail.com (BGB)
Newsgroups: comp.arch
Subject: Re: Capabilities, Anybody?
Date: Fri, 15 Mar 2024 23:25:55 -0500
Organization: A noiseless patient Spider
Lines: 134
Message-ID: <ut3733$2nret$1@dont-email.me>
References: <usg40i$1udfo$3@dont-email.me>
<1951488caf6138e90c4bac62ee6ac41d@www.novabbs.org>
<_Y_GN.75295$LONb.13164@fx08.iad> <usibg4$2ffdn$1@dont-email.me>
<usif12$2g7eq$1@dont-email.me> <usinhj$2i2nn$1@dont-email.me>
<6b75cd0221ee827b49cd2275f2c65789@www.novabbs.org>
<Qry*XE3Ez@news.chiark.greenend.org.uk>
<7da2a6f0e0878f914dee2286db833dc2@www.novabbs.org>
<Qry*d14Ez@news.chiark.greenend.org.uk> <uslfqc$37b8q$1@dont-email.me>
<usq9ct$ev5l$1@dont-email.me> <usqqhh$ip3r$1@dont-email.me>
<ustk30$18dah$1@dont-email.me> <usu27p$1ei22$1@dont-email.me>
<usvqsn$1rrp8$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 16 Mar 2024 04:27:15 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a586f829385ee1f8943b4f8241a8e346";
logging-data="2878941"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18rNxg5O0ru+z30cretw3dArpREBYvLKSE="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:noH+8A4C/4zPmIy+H+TZMJa83uw=
In-Reply-To: <usvqsn$1rrp8$1@dont-email.me>
Content-Language: en-US
 by: BGB - Sat, 16 Mar 2024 04:25 UTC

On 3/14/2024 4:40 PM, Chris M. Thomasson wrote:
> On 3/13/2024 10:32 PM, BGB wrote:
> [...]
>> Like, there isn't that huge of a gap between the technologies I had
>> used in my 3D engines, and those I am using in BJX2 and TestKern. Many
>> similar sorts of technologies end up being needed in both cases (say,
>> for example, hierarchical filesystems capable of dealing with mount
>> points, ...).
>
> Sounds good, BGB. BTW, do you mind if I pick your brain on some of this
> from time to time? I might even make a new thread so we can do it in
> public. Or on email. My address is working. Fwiw, here is some of my
> older modern opengl work:
>
> https://youtu.be/n13GHyYEfLA
>

Yeah. Kinda artsy...

Feel free to ask anything you want.

I haven't done as much serious graphics stuff recently, nor used much
outside of GL 1.x and 2.x functionality. If anything, my usage of newer
features had shrank.

> I made the music in one of my older MIDI programs. ;^D
>

My case, not much of a musician.

To what extent I had made "music", it was mostly filling out notes based
on numeric sequences and similar. A musical composition strategy that I
had seen mentioned in videos by both ViHart and Cyriak.

Also doesn't need to be a musical instrument per se, one of my older
examples had used DTMF tones (but, not seen a whole lot of music based
around using DTMF tones or similar as notes).

Well, that, or a few times transcribing notes from more traditional
songs into a MIDI program, and "if by magic" it plays some rendition of
the song (though, in these cases, had more often ended up messing with
Tracker technology).

Also have noted that I apparently have a sort of reverse slope hearing
impairment and don't seem to hear all that much below around 1-2 kHz (at
least in terms of sine waves or similar; can hear lots of other stuff
though, *).

This may effect how my hearing compares to others. Though, possibly, I
may not be the best judge of what others' will find pleasing.

*: I can hear what people are saying, just not over the telephone.
I can hear square and triangle waves and similar at low frequencies,
just seemingly not sine waves (tuning forks and similar are basically
silent).

Seemingly, for speech, one can discard everything below 2 kHz and it
still sounds fairly normal and intelligible, but if one discards
everything over 4 kHz, it is unintelligible (seemingly, most of what I
rely on here seems to be between 4 kHz and 8 kHz).

Also there are seemingly a lot of things that make sounds that other
people hear, but to me are basically silent.

Like, it is kinda weird, like everything sounds normal enough to me, but
there is seemingly a whole range of sounds for which, seemingly, I am
essentially deaf (and I seem to "hear" a lot of stuff seemingly
indirectly via harmonics; and if there are no harmonics, it is silent;
but when the harmonics are present, it sounds as-if the fundamental
frequency is present as well, even if these lower frequencies are
entirely absent in a plot of the spectrum).

Some theory would seem to imply that I should experience more
significant impairment though.

....

But, yeah, had implemented FM synthesis for my stuff, but admittedly
getting decent sounding music playback is a little harder.

Granted, I suspect in my case the lackluster music is either a
limitation of my MIDI playback code, or the design for my "sound chip"
cutting too many corners vs the design of the Yamaha chips.

So, general design:
16 channels, FM;
Has the OPL waveforms, but may use triangle waves rather than sine
waves, also has a few other PSG-like waveforms (square, sawtooth, ...);
Waveform is generated using a fixed-point accumulator operating at a
fixed frequency (IIRC, 20-bits operating at 64 kHz).

Internally, it actually updates channels at 1 MHz, but it updates each
FM channel one at a time (in the hardware, there is only actually a
single channel), so, say, 1 MHz / 16 -> ~ 64kHz.

My initial mock-ups had sounded more like an OPL than the final design,
but this could have been because the E3.F3 values used for volume
control aren't quite sufficient or similar. If it mattered more, could
fiddle more with it.

Had also experimented with wavetable music (with the design having been
extended to potentially also support MOD and S3M playback; with each FM
channel also able to function as a PCM channel), but my initial attempts
at throwing together a collection of General MIDI wavetable patches from
"free" sound effects, left something to be desired (it was a case of
trying to find sound effects that were a "close enough" match to the
various MIDI instruments, and maybe getting creative, or just reusing
the same patches for different instruments).

Though, with these limitations, and some audio-editing issues, generally
managed to sound worse than both the FM Synth and some patches derived
from the original GUS set.

Well, and as can be noted, Doom and friends don't use MOD or S3M music.

Have also noted that the music playback in ROTT sounds kinda horrid (not
yet figured this out).

Also some songs in Doom and Doom 2 seem to have issues with stuck notes,
implying there may be some bugs in my MIDI backend code as well (well,
either this, or missing NoteOff events).

....

Re: Capabilities, Anybody?

<ut7v2u$3psog$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=38093&group=comp.arch#38093

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: robfi680@gmail.com (Robert Finch)
Newsgroups: comp.arch
Subject: Re: Capabilities, Anybody?
Date: Sun, 17 Mar 2024 19:41:15 -0400
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <ut7v2u$3psog$1@dont-email.me>
References: <Ory*7U4Ez@news.chiark.greenend.org.uk>
<memo.20240317115228.20436F@jgd.cix.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 17 Mar 2024 23:41:18 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5280bff1fd19b5bc8b41f0090b93cf70";
logging-data="3994384"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19riuHTOO8/e6X2lEiU34+NsIEd2bovfdE="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:xq9T+nxOljVU9CtFJ0zkGcUAeyQ=
In-Reply-To: <memo.20240317115228.20436F@jgd.cix.co.uk>
Content-Language: en-US
 by: Robert Finch - Sun, 17 Mar 2024 23:41 UTC

Busily working away on adding capabilities to the current project, and
decided to add the operating mode / privilege ring (two bits) to the
capabilities instead of 'permit access system registers' (one bit).

I think this makes it possible for capabilities to work outside of the
current operating mode. The 'permit access system registers' was within
the current operating mode. Adding the operating mode makes the
capability mode agnostic.

However, I am unsure of the access implications. One could then give a
capability with the highest privilege mode to a user app.

I was going to try and eliminate the operating mode concept from the
current project and rely on capabilities instead. But there are
different levels of instructions and registers that could be allowed in
a capability. Using the operating mode acts as an indirect means to
specify these.

Re: Capabilities, Anybody?

<ut82j4$3qhb8$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=38094&group=comp.arch#38094

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: paaronclayton@gmail.com (Paul A. Clayton)
Newsgroups: comp.arch
Subject: Re: Capabilities, Anybody?
Date: Sun, 17 Mar 2024 20:41:05 -0400
Organization: A noiseless patient Spider
Lines: 54
Message-ID: <ut82j4$3qhb8$1@dont-email.me>
References: <usg40i$1udfo$3@dont-email.me> <usmded$3gibh$1@dont-email.me>
<usnid7$3os0b$1@dont-email.me> <usr6na$on7u$1@dont-email.me>
<ee1e974410ea3ac4c23593c92c37a3fd@www.novabbs.org>
<ussqji$12vjp$1@dont-email.me>
<03159371a8f3251ced2cd3be21505896@www.novabbs.org>
<usta7f$16buu$2@dont-email.me>
<7bd273d4426dbdecfb3c3569506e8fe9@www.novabbs.org>
<ustepe$17drt$2@dont-email.me> <fhrIN.127084$TSTa.122122@fx47.iad>
<ustlm0$18ma1$2@dont-email.me>
<50649a9451e716aab680bdbc1f89b4fb@www.novabbs.org>
<U%LIN.411921$vFZa.348262@fx13.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 18 Mar 2024 00:41:08 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="bf84678f5d0a9f3690ebf0004c66f158";
logging-data="4015464"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/za8N7FXFqPXGzIwJjajf4IWS90qJSiOs="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.0
Cancel-Lock: sha1:T09svqlcQLE/CpsQm9Ct/DNWIKg=
In-Reply-To: <U%LIN.411921$vFZa.348262@fx13.iad>
 by: Paul A. Clayton - Mon, 18 Mar 2024 00:41 UTC

On 3/14/24 7:47 PM, Scott Lurndal wrote:
> mitchalsup@aol.com (MitchAlsup1) writes:
>> Lawrence D'Oliveiro wrote:
>>
>>> On Thu, 14 Mar 2024 00:11:55 GMT, Scott Lurndal wrote:
>>
>>>> The architectural features supporting virtualization are designed to
>>>> isolate guests from both the hypervisor and other guests.
>>
>>> Providing an entire separate kernel for each VM is often unnecessary. If
>>> you need separation at the level of entire subsystems, as opposed to
>>> individual processes, then that’s what containers are for.
>>
>>
>> If you are running k Linuxes under a single HyperVisor, you should be able
>> to share all the Linux code after giving each of them their own VaS for data.
>
> Bad idea. Single point of failure.

Sharing the memory would mean that a single uncorrectable error
would apply to all sharers. Replicating it in the cheaper storage
layer (SSD?) would allow the hypervisor to reload an "independent"
copy, but providing higher redundancy/ECC 'single' instance
storage might be more effective. At some point system faults would
seem to present opportunity for all guest OSes to fail.

Interestingly, an uncorrectable memory error would be activated by
different guests at different times (unless perhaps there was some
kind of paravirtualization where the hypervisor could inform a
guest of such a latent error — one might be able to 'fake' it as
an asynchronous writeback error, though that could confuse an OS
[how did a dirty cache block occur for a read-only page??], or
perhaps hardware prefetching/memory scanning could inform the OS
of such an error and a hypervisor could present the error to the
guest as such a hardware-activated error).

> Impossible to update one without
> updating all. Linux does update code dynamically when loading and
> unloading kernel modules.

Presumably the hypervisor can use copy-on-write. I seem to recall
reading that at one time hashes of memory pages were generated by
virtualization systems to reduce the overhead of checking for page
duplication, so not only could a new page be separated as non-
duplicate but it might happen to be duplicate. This would seem
problematic when using huge pages in both guest — which makes
sense for some OS memory — and hypervisor — which generally makes
sense because guests are relatively large and this reduces page
table overhead.

I do not love pure virtualization (probably in part because I like
the idea of communicating across abstraction boundaries beyond the
bare minimum) and I am uncomfortable with the overheads of nested
paging, but there are significant advantages to both.

Re: Capabilities, Anybody?

<c5c74c91b5777ae696f39cead24c05ed@www.novabbs.org>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=38095&group=comp.arch#38095

  copy link   Newsgroups: comp.arch
Date: Mon, 18 Mar 2024 01:29:03 +0000
Subject: Re: Capabilities, Anybody?
From: mitchalsup@aol.com (MitchAlsup1)
Newsgroups: comp.arch
X-Rslight-Site: $2y$10$QbXm7pwZXCzZ4nfKAZJl3eHoh5otTwUcJ4aWLK7O6t5w1wHYQDW7y
X-Rslight-Posting-User: ac58ceb75ea22753186dae54d967fed894c3dce8
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
User-Agent: Rocksolid Light
References: <usg40i$1udfo$3@dont-email.me> <usmded$3gibh$1@dont-email.me> <usnid7$3os0b$1@dont-email.me> <usr6na$on7u$1@dont-email.me> <ee1e974410ea3ac4c23593c92c37a3fd@www.novabbs.org> <ussqji$12vjp$1@dont-email.me> <03159371a8f3251ced2cd3be21505896@www.novabbs.org> <usta7f$16buu$2@dont-email.me> <7bd273d4426dbdecfb3c3569506e8fe9@www.novabbs.org> <ustepe$17drt$2@dont-email.me> <fhrIN.127084$TSTa.122122@fx47.iad> <ustlm0$18ma1$2@dont-email.me> <50649a9451e716aab680bdbc1f89b4fb@www.novabbs.org> <U%LIN.411921$vFZa.348262@fx13.iad>
Organization: Rocksolid Light
Message-ID: <c5c74c91b5777ae696f39cead24c05ed@www.novabbs.org>
 by: MitchAlsup1 - Mon, 18 Mar 2024 01:29 UTC

Scott Lurndal wrote:

> mitchalsup@aol.com (MitchAlsup1) writes:
>>Lawrence D'Oliveiro wrote:
>>
>>> On Thu, 14 Mar 2024 00:11:55 GMT, Scott Lurndal wrote:
>>
>>>> The architectural features supporting virtualization are designed to
>>>> isolate guests from both the hypervisor and other guests.
>>
>>> Providing an entire separate kernel for each VM is often unnecessary. If
>>> you need separation at the level of entire subsystems, as opposed to
>>> individual processes, then that’s what containers are for.
>>
>>
>>If you are running k Linuxes under a single HyperVisor, you should be able
>>to share all the Linux code after giving each of them their own VaS for data.

> Bad idea. Single point of failure. Impossible to update one without
> updating all. Linux does update code dynamically when loading and
> unloading kernel modules.

I actually have a 4-level system:: HyperVisor is the only layer that is not
allowed to crash (RISC-V calls this machine). Progressing towards less privilege
is GuestHV, GuestOS, and Application. Hypervisor provides only memory, timing,
and device identification services. GuestHV provides what most would call the
HyperVisor, GuestOS woudl be LINUX, and everybody knows what an application is.

Re: Capabilities, Anybody?

<_1YJN.380203$yEgf.364524@fx09.iad>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=38097&group=comp.arch#38097

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx09.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: scott@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Capabilities, Anybody?
Newsgroups: comp.arch
References: <usg40i$1udfo$3@dont-email.me> <ee1e974410ea3ac4c23593c92c37a3fd@www.novabbs.org> <ussqji$12vjp$1@dont-email.me> <03159371a8f3251ced2cd3be21505896@www.novabbs.org> <usta7f$16buu$2@dont-email.me> <7bd273d4426dbdecfb3c3569506e8fe9@www.novabbs.org> <ustepe$17drt$2@dont-email.me> <fhrIN.127084$TSTa.122122@fx47.iad> <ustlm0$18ma1$2@dont-email.me> <50649a9451e716aab680bdbc1f89b4fb@www.novabbs.org> <U%LIN.411921$vFZa.348262@fx13.iad> <c5c74c91b5777ae696f39cead24c05ed@www.novabbs.org>
Lines: 37
Message-ID: <_1YJN.380203$yEgf.364524@fx09.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Mon, 18 Mar 2024 14:17:30 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Mon, 18 Mar 2024 14:17:30 GMT
X-Received-Bytes: 2332
 by: Scott Lurndal - Mon, 18 Mar 2024 14:17 UTC

mitchalsup@aol.com (MitchAlsup1) writes:
>Scott Lurndal wrote:
>>mitchalsup@aol.com (MitchAlsup1) writes:

>>>If you are running k Linuxes under a single HyperVisor, you should be able
>>>to share all the Linux code after giving each of them their own VaS for data.

>> Bad idea. Single point of failure. Impossible to update one without
>> updating all. Linux does update code dynamically when loading and
>> unloading kernel modules.
>
>I actually have a 4-level system::

That is completely orthogonal to the idea of sharing linux code between
guests.

ARMv8 has a similar 4-level (5, if your counting the machine layer):

- Machine (secure) (e.g. SMM)
- Hypervisor (non-secure)
- Nested Hypervisor (non-secure) [Optional, and not yet widely used]
- Guest OS (or Bare metal if there is no hypervisor)
- User mode

> HyperVisor is the only layer that is not
>allowed to crash (RISC-V calls this machine).

> Progressing towards less privilege
>is GuestHV, GuestOS, and Application. Hypervisor provides only memory, timing,
>and device identification services.

Absent universal SR-IOV, the hypervisor also needs to manage shared
I/O access (keyboard controller, graphics, disk and networking)
and with SR-IOV, creation and assignment of virtual functions.

Pages:1234
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor