Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Facts are stubborn, but statistics are more pliable.


devel / comp.lang.c++ / Re: "Functional exception-less error handling with C++23

SubjectAuthor
* Re: "Functional exception-less error handling with C++23Muttley
+* Re: "Functional exception-less error handling with C++23David Brown
|`* Re: "Functional exception-less error handling with C++23Muttley
| `- Re: "Functional exception-less error handling with C++23David Brown
`* Re: "Functional exception-less error handling with C++23Mr Flibble
 +* Re: "Functional exception-less error handling with C++23Malcolm McLean
 |`* Re: "Functional exception-less error handling with C++23Mr Flibble
 | `* Re: "Functional exception-less error handling with C++23Malcolm McLean
 |  +- Re: "Functional exception-less error handling with C++23Mr Flibble
 |  `* Re: "Functional exception-less error handling with C++23Chris M. Thomasson
 |   `* Re: "Functional exception-less error handling with C++23Muttley
 |    `* Re: "Functional exception-less error handling with C++23Bonita Montero
 |     `* Re: "Functional exception-less error handling with C++23Muttley
 |      `* Re: "Functional exception-less error handling with C++23Bonita Montero
 |       `* Re: "Functional exception-less error handling with C++23Muttley
 |        +- Re: "Functional exception-less error handling with C++23Muttley
 |        `* Re: "Functional exception-less error handling with C++23Bonita Montero
 |         +- Re: "Functional exception-less error handling with C++23Bonita Montero
 |         `* Re: "Functional exception-less error handling with C++23Muttley
 |          +* Re: "Functional exception-less error handling with C++23Bonita Montero
 |          |`* Re: "Functional exception-less error handling with C++23Muttley
 |          | `* Re: "Functional exception-less error handling with C++23Bonita Montero
 |          |  `* Re: "Functional exception-less error handling with C++23Muttley
 |          |   +* Re: "Functional exception-less error handling with C++23Malcolm McLean
 |          |   |`- Re: "Functional exception-less error handling with C++23Chris M. Thomasson
 |          |   `* Re: "Functional exception-less error handling with C++23Bonita Montero
 |          |    `* Re: "Functional exception-less error handling with C++23Muttley
 |          |     `* Re: "Functional exception-less error handling with C++23Bonita Montero
 |          |      `* Re: "Functional exception-less error handling with C++23Muttley
 |          |       `* Re: "Functional exception-less error handling with C++23Bonita Montero
 |          |        `* Re: "Functional exception-less error handling with C++23Muttley
 |          |         `* Re: "Functional exception-less error handling with C++23Bonita Montero
 |          |          `* Re: "Functional exception-less error handling with C++23Muttley
 |          |           +* Re: "Functional exception-less error handling with C++23Scott Lurndal
 |          |           |`* Re: "Functional exception-less error handling with C++23Muttley
 |          |           | `- Re: "Functional exception-less error handling with C++23Bonita Montero
 |          |           `* Re: "Functional exception-less error handling with C++23Bonita Montero
 |          |            `* Re: "Functional exception-less error handling with C++23Scott Lurndal
 |          |             `* Re: "Functional exception-less error handling with C++23Bonita Montero
 |          |              `* Re: "Functional exception-less error handling with C++23Scott Lurndal
 |          |               +* Re: "Functional exception-less error handling with C++23Bonita Montero
 |          |               |`* Re: "Functional exception-less error handling with C++23Scott Lurndal
 |          |               | `* Re: "Functional exception-less error handling with C++23Bonita Montero
 |          |               |  `- Re: "Functional exception-less error handling with C++23Scott Lurndal
 |          |               `* Re: "Functional exception-less error handling with C++23Keith Thompson
 |          |                +- Re: "Functional exception-less error handling with C++23Scott Lurndal
 |          |                `* Re: "Functional exception-less error handling with C++23David Brown
 |          |                 `* Re: "Functional exception-less error handling with C++23Muttley
 |          |                  `* Re: "Functional exception-less error handling with C++23Bonita Montero
 |          |                   +* Re: "Functional exception-less error handling with C++23Muttley
 |          |                   |`* Re: "Functional exception-less error handling with C++23Bonita Montero
 |          |                   | `- Re: "Functional exception-less error handling with C++23Bonita Montero
 |          |                   `* Re: "Functional exception-less error handling with C++23David Brown
 |          |                    +* Re: "Functional exception-less error handling with C++23Bonita Montero
 |          |                    |`* Re: "Functional exception-less error handling with C++23David Brown
 |          |                    | `* Re: "Functional exception-less error handling with C++23Bonita Montero
 |          |                    |  `* Re: "Functional exception-less error handling with C++23Vir Campestris
 |          |                    |   +- Re: "Functional exception-less error handling with C++23Scott Lurndal
 |          |                    |   `* Re: "Functional exception-less error handling with C++23Bonita Montero
 |          |                    |    +* Re: "Functional exception-less error handling with C++23Chris M. Thomasson
 |          |                    |    |`* Re: "Functional exception-less error handling with C++23Bonita Montero
 |          |                    |    | `* Re: "Functional exception-less error handling with C++23Chris M. Thomasson
 |          |                    |    |  `- Re: "Functional exception-less error handling with C++23Chris M. Thomasson
 |          |                    |    `* Re: "Functional exception-less error handling with C++23Scott Lurndal
 |          |                    |     `* Re: "Functional exception-less error handling with C++23Bonita Montero
 |          |                    |      `* Re: "Functional exception-less error handling with C++23Scott Lurndal
 |          |                    |       `* Re: "Functional exception-less error handling with C++23Bonita Montero
 |          |                    |        `* Re: "Functional exception-less error handling with C++23Scott Lurndal
 |          |                    |         `* Re: "Functional exception-less error handling with C++23Bonita Montero
 |          |                    |          `* Re: "Functional exception-less error handling with C++23Vir Campestris
 |          |                    |           +- Re: "Functional exception-less error handling with C++23Richard Damon
 |          |                    |           +* Re: "Functional exception-less error handling with C++23Scott Lurndal
 |          |                    |           |+- Re: "Functional exception-less error handling with C++23Muttley
 |          |                    |           |`- Re: "Functional exception-less error handling with C++23Vir Campestris
 |          |                    |           `- Re: "Functional exception-less error handling with C++23Bonita Montero
 |          |                    `- Re: "Functional exception-less error handling with C++23Muttley
 |          `* Re: "Functional exception-less error handling with C++23Scott Lurndal
 |           +- Re: "Functional exception-less error handling with C++23Muttley
 |           `* Re: "Functional exception-less error handling with C++23Muttley
 |            `* Re: "Functional exception-less error handling with C++23Scott Lurndal
 |             `- Re: "Functional exception-less error handling with C++23Muttley
 `* Re: "Functional exception-less error handling with C++23Muttley
  +- Re: "Functional exception-less error handling with C++23Öö Tiib
  `- Re: "Functional exception-less error handling with C++23Mr Flibble

Pages:1234
Re: "Functional exception-less error handling with C++23

<87fs819xdi.fsf@nosuchdomain.example.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=111&group=comp.lang.c%2B%2B#111

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c++
Subject: Re: "Functional exception-less error handling with C++23
Date: Fri, 12 May 2023 12:13:13 -0700
Organization: None to speak of
Lines: 31
Message-ID: <87fs819xdi.fsf@nosuchdomain.example.com>
References: <u1pli1$6mq8$1@dont-email.me> <u3dtvl$anm0$1@dont-email.me>
<u3dupo$arh5$1@dont-email.me> <u3e0jh$b2gg$1@dont-email.me>
<u3fjsc$kg7j$1@dont-email.me> <u3g0ac$m15t$1@dont-email.me>
<u3gbaf$n8j4$1@dont-email.me> <u3gbpp$n9hc$1@dont-email.me>
<u3gf3f$nng5$1@dont-email.me> <u3gg60$nqig$1@dont-email.me>
<u3i82f$11o9e$1@dont-email.me> <u3ikdl$1371m$1@dont-email.me>
<u3ir3a$140to$1@dont-email.me> <u3j5c9$156v1$1@dont-email.me>
<5s97M.580254$5S78.208194@fx48.iad> <u3k5jf$18pa1$1@dont-email.me>
<a%q7M.2713031$iS99.1971483@fx16.iad>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="d18ab1e16ad998c451c8427fb0730756";
logging-data="1890983"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/8jwvqGTgBPj7y2N4BS9kL"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:nmRgKdOe3VVdlqeNQOY10RQXNyc=
sha1:6ELqZaOIa+GfF/ZIWC5YnKpfflk=
 by: Keith Thompson - Fri, 12 May 2023 19:13 UTC

scott@slp53.sl.home (Scott Lurndal) writes:
> Bonita Montero <Bonita.Montero@gmail.com> writes:
>>Am 11.05.2023 um 19:18 schrieb Scott Lurndal:
>>> Linux only overcommits if the administrator configures it to
>>> overcommit. ...
>>
>>This is the default-behaviour which is almost never changed.
>
> And you base your opinion on what experiences, exactly?

I had thought about commenting on this myself.

In my experience, which is certainly not exhaustive, most Linux systems
have overcommit enabled by default. I've never seen one where it's
disabled (though I haven't always checked).

On my Ubuntu system, `cat /proc/sys/vm/overcommit_memory` shows 0,
which according to the proc(5) man page means:

In mode 0, calls of mmap(2) with MAP_NORESERVE are not checked, and
the default check is very weak, leading to the risk of getting a
process "OOM-killed".

Have you seen it set by default to a different value? (This is
admittedly only marginally topical, but it does affect the behavior of
memory allocation in C++ programs.)

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for XCOM Labs
void Void(void) { Void(); } /* The recursive call of the void */

Re: "Functional exception-less error handling with C++23

<u3m3uq$1pqn3$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=112&group=comp.lang.c%2B%2B#112

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c++
Subject: Re: "Functional exception-less error handling with C++23
Date: Fri, 12 May 2023 21:27:22 +0200
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <u3m3uq$1pqn3$1@dont-email.me>
References: <u1pli1$6mq8$1@dont-email.me> <u3fjsc$kg7j$1@dont-email.me>
<u3g0ac$m15t$1@dont-email.me> <u3gbaf$n8j4$1@dont-email.me>
<u3gbpp$n9hc$1@dont-email.me> <u3gf3f$nng5$1@dont-email.me>
<u3gg60$nqig$1@dont-email.me> <u3i82f$11o9e$1@dont-email.me>
<u3ikdl$1371m$1@dont-email.me> <u3ir3a$140to$1@dont-email.me>
<u3j5c9$156v1$1@dont-email.me> <5s97M.580254$5S78.208194@fx48.iad>
<u3k5jf$18pa1$1@dont-email.me> <a%q7M.2713031$iS99.1971483@fx16.iad>
<u3lrdn$1oro8$1@dont-email.me> <%6v7M.369850$b7Kc.122393@fx39.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 12 May 2023 19:27:22 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ed523acac28a6e8147cb8edf017abd0e";
logging-data="1895139"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/YnF4gScchvuxbqDy+T898pj5KXQjwmUg="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:WmifNZOb6L7AZsnvxl/disunCAk=
In-Reply-To: <%6v7M.369850$b7Kc.122393@fx39.iad>
Content-Language: de-DE
 by: Bonita Montero - Fri, 12 May 2023 19:27 UTC

Am 12.05.2023 um 19:58 schrieb Scott Lurndal:

> Stack exchange? Not representative of production unix or linux system
> operations, that's certain.

Stack Exchange is the most qualified source for such discussions
because they delete unqualified comments.

Re: "Functional exception-less error handling with C++23

<sZx7M.2897265$9sn9.335728@fx17.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=113&group=comp.lang.c%2B%2B#113

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!newsfeed.endofthelinebbs.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx17.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: "Functional exception-less error handling with C++23
Newsgroups: comp.lang.c++
References: <u1pli1$6mq8$1@dont-email.me> <u3gbaf$n8j4$1@dont-email.me> <u3gbpp$n9hc$1@dont-email.me> <u3gf3f$nng5$1@dont-email.me> <u3gg60$nqig$1@dont-email.me> <u3i82f$11o9e$1@dont-email.me> <u3ikdl$1371m$1@dont-email.me> <u3ir3a$140to$1@dont-email.me> <u3j5c9$156v1$1@dont-email.me> <5s97M.580254$5S78.208194@fx48.iad> <u3k5jf$18pa1$1@dont-email.me> <a%q7M.2713031$iS99.1971483@fx16.iad> <u3lrdn$1oro8$1@dont-email.me> <%6v7M.369850$b7Kc.122393@fx39.iad> <u3m3uq$1pqn3$1@dont-email.me>
Lines: 11
Message-ID: <sZx7M.2897265$9sn9.335728@fx17.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Fri, 12 May 2023 21:12:56 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Fri, 12 May 2023 21:12:56 GMT
X-Received-Bytes: 1407
 by: Scott Lurndal - Fri, 12 May 2023 21:12 UTC

Bonita Montero <Bonita.Montero@gmail.com> writes:
>Am 12.05.2023 um 19:58 schrieb Scott Lurndal:
>
>> Stack exchange? Not representative of production unix or linux system
>> operations, that's certain.
>
>Stack Exchange is the most qualified source for such discussions
>because they delete unqualified comments.
>

Now that is truely self-referential. Sigh.

Re: "Functional exception-less error handling with C++23

<W2y7M.2897266$9sn9.41636@fx17.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=114&group=comp.lang.c%2B%2B#114

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx17.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: "Functional exception-less error handling with C++23
Newsgroups: comp.lang.c++
References: <u1pli1$6mq8$1@dont-email.me> <u3fjsc$kg7j$1@dont-email.me> <u3g0ac$m15t$1@dont-email.me> <u3gbaf$n8j4$1@dont-email.me> <u3gbpp$n9hc$1@dont-email.me> <u3gf3f$nng5$1@dont-email.me> <u3gg60$nqig$1@dont-email.me> <u3i82f$11o9e$1@dont-email.me> <u3ikdl$1371m$1@dont-email.me> <u3ir3a$140to$1@dont-email.me> <u3j5c9$156v1$1@dont-email.me> <5s97M.580254$5S78.208194@fx48.iad> <u3k5jf$18pa1$1@dont-email.me> <a%q7M.2713031$iS99.1971483@fx16.iad> <87fs819xdi.fsf@nosuchdomain.example.com>
Lines: 37
Message-ID: <W2y7M.2897266$9sn9.41636@fx17.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Fri, 12 May 2023 21:18:46 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Fri, 12 May 2023 21:18:46 GMT
X-Received-Bytes: 2662
 by: Scott Lurndal - Fri, 12 May 2023 21:18 UTC

Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>scott@slp53.sl.home (Scott Lurndal) writes:
>> Bonita Montero <Bonita.Montero@gmail.com> writes:
>>>Am 11.05.2023 um 19:18 schrieb Scott Lurndal:
>>>> Linux only overcommits if the administrator configures it to
>>>> overcommit. ...
>>>
>>>This is the default-behaviour which is almost never changed.
>>
>> And you base your opinion on what experiences, exactly?
>
>I had thought about commenting on this myself.
>
>In my experience, which is certainly not exhaustive, most Linux systems
>have overcommit enabled by default. I've never seen one where it's
>disabled (though I haven't always checked).
>
>On my Ubuntu system, `cat /proc/sys/vm/overcommit_memory` shows 0,
>which according to the proc(5) man page means:
>
> In mode 0, calls of mmap(2) with MAP_NORESERVE are not checked, and
> the default check is very weak, leading to the risk of getting a
> process "OOM-killed".
>
>Have you seen it set by default to a different value? (This is
>admittedly only marginally topical, but it does affect the behavior of
>memory allocation in C++ programs.)

All of our simulation systems (many hundred linux servers) run with
overcommit set to 2 (always check). They're running RTL simulations
and it's much better to prevent a long-running simulation from starting rather
than killing one randomly after a few hours of cpu time.

The queue management system that distributes jobs to the servers
understands the server capacities and trusts the user's estimate
of required memory, but those estimates are often faulty.

Re: "Functional exception-less error handling with C++23

<u3o4jn$245tq$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=117&group=comp.lang.c%2B%2B#117

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c++
Subject: Re: "Functional exception-less error handling with C++23
Date: Sat, 13 May 2023 15:50:47 +0200
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <u3o4jn$245tq$1@dont-email.me>
References: <u1pli1$6mq8$1@dont-email.me> <u3dtvl$anm0$1@dont-email.me>
<u3dupo$arh5$1@dont-email.me> <u3e0jh$b2gg$1@dont-email.me>
<u3fjsc$kg7j$1@dont-email.me> <u3g0ac$m15t$1@dont-email.me>
<u3gbaf$n8j4$1@dont-email.me> <u3gbpp$n9hc$1@dont-email.me>
<u3gf3f$nng5$1@dont-email.me> <u3gg60$nqig$1@dont-email.me>
<u3i82f$11o9e$1@dont-email.me> <u3ikdl$1371m$1@dont-email.me>
<u3ir3a$140to$1@dont-email.me> <u3j5c9$156v1$1@dont-email.me>
<5s97M.580254$5S78.208194@fx48.iad> <u3k5jf$18pa1$1@dont-email.me>
<a%q7M.2713031$iS99.1971483@fx16.iad>
<87fs819xdi.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 13 May 2023 13:50:47 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d18d617860c449306076c6bd11171f34";
logging-data="2234298"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18+bMugFpwxTil93OZfFwcikn0PQ58UnL0="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.7.1
Cancel-Lock: sha1:1WXRMDsjmSW+1pid4fWcjaM9BpQ=
In-Reply-To: <87fs819xdi.fsf@nosuchdomain.example.com>
Content-Language: en-GB
 by: David Brown - Sat, 13 May 2023 13:50 UTC

On 12/05/2023 21:13, Keith Thompson wrote:
> scott@slp53.sl.home (Scott Lurndal) writes:
>> Bonita Montero <Bonita.Montero@gmail.com> writes:
>>> Am 11.05.2023 um 19:18 schrieb Scott Lurndal:
>>>> Linux only overcommits if the administrator configures it to
>>>> overcommit. ...
>>>
>>> This is the default-behaviour which is almost never changed.
>>
>> And you base your opinion on what experiences, exactly?
>
> I had thought about commenting on this myself.
>
> In my experience, which is certainly not exhaustive, most Linux systems
> have overcommit enabled by default. I've never seen one where it's
> disabled (though I haven't always checked).
>
> On my Ubuntu system, `cat /proc/sys/vm/overcommit_memory` shows 0,
> which according to the proc(5) man page means:
>
> In mode 0, calls of mmap(2) with MAP_NORESERVE are not checked, and
> the default check is very weak, leading to the risk of getting a
> process "OOM-killed".
>
> Have you seen it set by default to a different value? (This is
> admittedly only marginally topical, but it does affect the behavior of
> memory allocation in C++ programs.)
>

It would not surprise me if the default value for this is different for
desktop-oriented distributions and server-oriented distributions - or
for kernels aimed at these different uses. There have traditionally
been some differences in how these are tuned - desktops aim for greater
responsiveness, servers for more stable throughput, amongst other things.

For most of my Linux systems, I don't bother about that kind of thing -
Linux adapts well enough as it goes along. But if I were running
servers with high continuous loads or other special needs, I'd look
closely at a variety of this kind of tunable.

Re: "Functional exception-less error handling with C++23

<u3o8b9$24lak$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=118&group=comp.lang.c%2B%2B#118

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Mutt...@dastardlyhq.com
Newsgroups: comp.lang.c++
Subject: Re: "Functional exception-less error handling with C++23
Date: Sat, 13 May 2023 14:54:33 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <u3o8b9$24lak$1@dont-email.me>
References: <u1pli1$6mq8$1@dont-email.me> <u3dtvl$anm0$1@dont-email.me>
<u3dupo$arh5$1@dont-email.me> <u3e0jh$b2gg$1@dont-email.me>
<u3fjsc$kg7j$1@dont-email.me> <u3g0ac$m15t$1@dont-email.me>
<u3gbaf$n8j4$1@dont-email.me> <u3gbpp$n9hc$1@dont-email.me>
<u3gf3f$nng5$1@dont-email.me> <u3gg60$nqig$1@dont-email.me>
<u3i82f$11o9e$1@dont-email.me> <u3ikdl$1371m$1@dont-email.me>
<u3ir3a$140to$1@dont-email.me> <u3j5c9$156v1$1@dont-email.me>
<5s97M.580254$5S78.208194@fx48.iad> <u3k5jf$18pa1$1@dont-email.me>
<a%q7M.2713031$iS99.1971483@fx16.iad>
<87fs819xdi.fsf@nosuchdomain.example.com>
<u3o4jn$245tq$1@dont-email.me>
Injection-Date: Sat, 13 May 2023 14:54:33 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d977ebe2d6b53f9a5a60981120bc5734";
logging-data="2250068"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18WVNyQHhmosfGB15YhKUBW"
Cancel-Lock: sha1:pS2ps1e/augg1QQ8IHNzGLmKZdI=
 by: Mutt...@dastardlyhq.com - Sat, 13 May 2023 14:54 UTC

On Sat, 13 May 2023 15:50:47 +0200
David Brown <david.brown@hesbynett.no> wrote:
>For most of my Linux systems, I don't bother about that kind of thing -
>Linux adapts well enough as it goes along. But if I were running
>servers with high continuous loads or other special needs, I'd look
>closely at a variety of this kind of tunable.

For mission critical systems you really don't want processes being killed
randomly due to lack of real memory, you want to know at startup.

Years ago part of my then job was 2nd line support for a system based on
Sybase which unfortunately unlike Oracle couldn't resolve deadlocks and so just
killed one of the 2 processes involved. Usually at 3am when the batch was
halfway through which would sometimes mean a phone call and trying to log on
via an ISDN line. Not fun.

Re: "Functional exception-less error handling with C++23

<u3obuv$251qc$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=119&group=comp.lang.c%2B%2B#119

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c++
Subject: Re: "Functional exception-less error handling with C++23
Date: Sat, 13 May 2023 17:56:17 +0200
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <u3obuv$251qc$1@dont-email.me>
References: <u1pli1$6mq8$1@dont-email.me> <u3dtvl$anm0$1@dont-email.me>
<u3dupo$arh5$1@dont-email.me> <u3e0jh$b2gg$1@dont-email.me>
<u3fjsc$kg7j$1@dont-email.me> <u3g0ac$m15t$1@dont-email.me>
<u3gbaf$n8j4$1@dont-email.me> <u3gbpp$n9hc$1@dont-email.me>
<u3gf3f$nng5$1@dont-email.me> <u3gg60$nqig$1@dont-email.me>
<u3i82f$11o9e$1@dont-email.me> <u3ikdl$1371m$1@dont-email.me>
<u3ir3a$140to$1@dont-email.me> <u3j5c9$156v1$1@dont-email.me>
<5s97M.580254$5S78.208194@fx48.iad> <u3k5jf$18pa1$1@dont-email.me>
<a%q7M.2713031$iS99.1971483@fx16.iad>
<87fs819xdi.fsf@nosuchdomain.example.com> <u3o4jn$245tq$1@dont-email.me>
<u3o8b9$24lak$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 13 May 2023 15:56:15 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="306cda98f230979d1a3a1604e4d86cd4";
logging-data="2262860"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+jFqRmDOJEx5AXhu+azA2d0Pb7oBbOpdU="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:SDl6hUrmT5CroKWPUFOLTlT5b5Q=
Content-Language: de-DE
In-Reply-To: <u3o8b9$24lak$1@dont-email.me>
 by: Bonita Montero - Sat, 13 May 2023 15:56 UTC

Am 13.05.2023 um 16:54 schrieb Muttley@dastardlyhq.com:

> For mission critical systems you really don't want processes
> being killed randomly due to lack of real memory, you want
> to know at startup.

When the computer starts swapping, it usually happens that the
swapping slows down the software so much that it stops responding
and it ultimately makes no difference as if the operating system
had simply killed the critical process.

Re: "Functional exception-less error handling with C++23

<u3ocgi$254fd$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=120&group=comp.lang.c%2B%2B#120

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Mutt...@dastardlyhq.com
Newsgroups: comp.lang.c++
Subject: Re: "Functional exception-less error handling with C++23
Date: Sat, 13 May 2023 16:05:38 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <u3ocgi$254fd$1@dont-email.me>
References: <u1pli1$6mq8$1@dont-email.me> <u3dtvl$anm0$1@dont-email.me>
<u3dupo$arh5$1@dont-email.me> <u3e0jh$b2gg$1@dont-email.me>
<u3fjsc$kg7j$1@dont-email.me> <u3g0ac$m15t$1@dont-email.me>
<u3gbaf$n8j4$1@dont-email.me> <u3gbpp$n9hc$1@dont-email.me>
<u3gf3f$nng5$1@dont-email.me> <u3gg60$nqig$1@dont-email.me>
<u3i82f$11o9e$1@dont-email.me> <u3ikdl$1371m$1@dont-email.me>
<u3ir3a$140to$1@dont-email.me> <u3j5c9$156v1$1@dont-email.me>
<5s97M.580254$5S78.208194@fx48.iad> <u3k5jf$18pa1$1@dont-email.me>
<a%q7M.2713031$iS99.1971483@fx16.iad>
<87fs819xdi.fsf@nosuchdomain.example.com> <u3o4jn$245tq$1@dont-email.me>
<u3o8b9$24lak$1@dont-email.me>
<u3obuv$251qc$1@dont-email.me>
Injection-Date: Sat, 13 May 2023 16:05:38 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d977ebe2d6b53f9a5a60981120bc5734";
logging-data="2265581"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+S1wqWOF8xSsYzX7Db12c5"
Cancel-Lock: sha1:wsfSoR4u4vtFRk03IUCX3QNZyMQ=
 by: Mutt...@dastardlyhq.com - Sat, 13 May 2023 16:05 UTC

On Sat, 13 May 2023 17:56:17 +0200
Bonita Montero <Bonita.Montero@gmail.com> wrote:
>Am 13.05.2023 um 16:54 schrieb Muttley@dastardlyhq.com:
>
>> For mission critical systems you really don't want processes
>> being killed randomly due to lack of real memory, you want
>> to know at startup.
>
>When the computer starts swapping, it usually happens that the
>swapping slows down the software so much that it stops responding
>and it ultimately makes no difference as if the operating system
>had simply killed the critical process.

That depends on what hardware your swap space is on. If its an SSD then that
shouldn't happen, if its spinning rust then yes that is often the outcome
and because of that I don't bother with swap on either of my 2 linux systems.
I'd sooner the kernel just killed the process rather than bring the whole
system to its knees but obviously with 24/7/365 systems that might not be an
option.

Re: "Functional exception-less error handling with C++23

<u3od7u$25cpb$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=121&group=comp.lang.c%2B%2B#121

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c++
Subject: Re: "Functional exception-less error handling with C++23
Date: Sat, 13 May 2023 18:18:08 +0200
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <u3od7u$25cpb$1@dont-email.me>
References: <u1pli1$6mq8$1@dont-email.me> <u3dtvl$anm0$1@dont-email.me>
<u3dupo$arh5$1@dont-email.me> <u3e0jh$b2gg$1@dont-email.me>
<u3fjsc$kg7j$1@dont-email.me> <u3g0ac$m15t$1@dont-email.me>
<u3gbaf$n8j4$1@dont-email.me> <u3gbpp$n9hc$1@dont-email.me>
<u3gf3f$nng5$1@dont-email.me> <u3gg60$nqig$1@dont-email.me>
<u3i82f$11o9e$1@dont-email.me> <u3ikdl$1371m$1@dont-email.me>
<u3ir3a$140to$1@dont-email.me> <u3j5c9$156v1$1@dont-email.me>
<5s97M.580254$5S78.208194@fx48.iad> <u3k5jf$18pa1$1@dont-email.me>
<a%q7M.2713031$iS99.1971483@fx16.iad>
<87fs819xdi.fsf@nosuchdomain.example.com> <u3o4jn$245tq$1@dont-email.me>
<u3o8b9$24lak$1@dont-email.me> <u3obuv$251qc$1@dont-email.me>
<u3ocgi$254fd$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 13 May 2023 16:18:06 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="306cda98f230979d1a3a1604e4d86cd4";
logging-data="2274091"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18C+dxYBgOEE06MZHQ7c5bgWSeTlAvvdz4="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:M8hkmyIehCkR8uZpHyw1wKXDUR8=
In-Reply-To: <u3ocgi$254fd$1@dont-email.me>
Content-Language: de-DE
 by: Bonita Montero - Sat, 13 May 2023 16:18 UTC

Am 13.05.2023 um 18:05 schrieb Muttley@dastardlyhq.com:

> That depends on what hardware your swap space is on. If its an SSD then that
> shouldn't happen, ...

LOL. On my Samsung PCIe 4.0 SSD synchonous I/O - like with swapping
- is about 70us per 4kB block. Random-access memory accesses with at
most page hits as possible is about 25ns. That's factor 2.800. To
rely on swapping to keep the machine running is silly.

Re: "Functional exception-less error handling with C++23

<u3odot$2616h$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=122&group=comp.lang.c%2B%2B#122

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c++
Subject: Re: "Functional exception-less error handling with C++23
Date: Sat, 13 May 2023 18:27:11 +0200
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <u3odot$2616h$1@dont-email.me>
References: <u1pli1$6mq8$1@dont-email.me> <u3dtvl$anm0$1@dont-email.me>
<u3dupo$arh5$1@dont-email.me> <u3e0jh$b2gg$1@dont-email.me>
<u3fjsc$kg7j$1@dont-email.me> <u3g0ac$m15t$1@dont-email.me>
<u3gbaf$n8j4$1@dont-email.me> <u3gbpp$n9hc$1@dont-email.me>
<u3gf3f$nng5$1@dont-email.me> <u3gg60$nqig$1@dont-email.me>
<u3i82f$11o9e$1@dont-email.me> <u3ikdl$1371m$1@dont-email.me>
<u3ir3a$140to$1@dont-email.me> <u3j5c9$156v1$1@dont-email.me>
<5s97M.580254$5S78.208194@fx48.iad> <u3k5jf$18pa1$1@dont-email.me>
<a%q7M.2713031$iS99.1971483@fx16.iad>
<87fs819xdi.fsf@nosuchdomain.example.com> <u3o4jn$245tq$1@dont-email.me>
<u3o8b9$24lak$1@dont-email.me> <u3obuv$251qc$1@dont-email.me>
<u3ocgi$254fd$1@dont-email.me> <u3od7u$25cpb$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 13 May 2023 16:27:10 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="306cda98f230979d1a3a1604e4d86cd4";
logging-data="2294993"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18bAbz1Vl5wXZLmj/iSQ3cH8Xc/gnDDaGc="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:wREN35FmYsRnxsrm2TUg9bRuUVM=
In-Reply-To: <u3od7u$25cpb$1@dont-email.me>
Content-Language: de-DE
 by: Bonita Montero - Sat, 13 May 2023 16:27 UTC

Am 13.05.2023 um 18:18 schrieb Bonita Montero:
> Am 13.05.2023 um 18:05 schrieb Muttley@dastardlyhq.com:
>
>> That depends on what hardware your swap space is on. If its an SSD
>> then that
>> shouldn't happen, ...
>
> LOL. On my Samsung PCIe 4.0 SSD synchonous I/O - like with swapping
> - is about 70us per 4kB block. Random-access memory accesses with at
> most page hits as possible is about 25ns. That's factor 2.800. ...

That was an estimate; here are exact numbers:

C:\Users\Bonita\Documents\Source\ParallelIo>x64\Release\ParallelIo
--synch --threads 1 --degree 1
synchronous I/O, filename: "testfile", file-size: 1GB, block-size: 4kB,
threads: 1
53.6 MB/s, 13232 IOs/s (76.2us), avg 53.0 MB/s, 13086 IOs/s (75.4us),
max 53.0 MB/s, 13232 IOs/s (76.2us)
....

C:\Users\Bonita\Documents\Source\memLatency>x64\Release\memLatency.exe
--paged --lower 32gb --upper 32gb
32GiB 31.46ns

Factor 2422.

Re: "Functional exception-less error handling with C++23

<u3ofss$29qgt$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=123&group=comp.lang.c%2B%2B#123

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c++
Subject: Re: "Functional exception-less error handling with C++23
Date: Sat, 13 May 2023 19:03:24 +0200
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <u3ofss$29qgt$1@dont-email.me>
References: <u1pli1$6mq8$1@dont-email.me> <u3dtvl$anm0$1@dont-email.me>
<u3dupo$arh5$1@dont-email.me> <u3e0jh$b2gg$1@dont-email.me>
<u3fjsc$kg7j$1@dont-email.me> <u3g0ac$m15t$1@dont-email.me>
<u3gbaf$n8j4$1@dont-email.me> <u3gbpp$n9hc$1@dont-email.me>
<u3gf3f$nng5$1@dont-email.me> <u3gg60$nqig$1@dont-email.me>
<u3i82f$11o9e$1@dont-email.me> <u3ikdl$1371m$1@dont-email.me>
<u3ir3a$140to$1@dont-email.me> <u3j5c9$156v1$1@dont-email.me>
<5s97M.580254$5S78.208194@fx48.iad> <u3k5jf$18pa1$1@dont-email.me>
<a%q7M.2713031$iS99.1971483@fx16.iad>
<87fs819xdi.fsf@nosuchdomain.example.com> <u3o4jn$245tq$1@dont-email.me>
<u3o8b9$24lak$1@dont-email.me> <u3obuv$251qc$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 13 May 2023 17:03:24 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d18d617860c449306076c6bd11171f34";
logging-data="2419229"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18/FOWYK2xcPzQWEi2tETlcBSNVHPXawKo="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.7.1
Cancel-Lock: sha1:yu9BOTTiXJ1S+WI3hLWdtepox6Y=
In-Reply-To: <u3obuv$251qc$1@dont-email.me>
Content-Language: en-GB
 by: David Brown - Sat, 13 May 2023 17:03 UTC

On 13/05/2023 17:56, Bonita Montero wrote:
> Am 13.05.2023 um 16:54 schrieb Muttley@dastardlyhq.com:
>
>> For mission critical systems you really don't want processes
>> being killed randomly due to lack of real memory, you want
>> to know at startup.
>
> When the computer starts swapping, it usually happens that the
> swapping slows down the software so much that it stops responding
> and it ultimately makes no difference as if the operating system
> had simply killed the critical process.

That is not always the case - and certainly hasn't always been the case.
Modern high speed memory is proportionally much faster than even
modern SSD disks, but there was a time when it was quite reasonable to
use swap space for many purposes - the latency was high, but the
throughput could be relatively good for the sizes of memory common at
the time.

There can also be a lot of convenience in swapping. Sometimes programs
have a lot of code or data that is only needed occasionally, such as at
startup. Letting that swap out again is a benefit for everyone. This
is in fact how Linux handles program or library loading - it does not
read the executable into ram, it just maps it into virtual memory space,
effectively starting it fully swapped out. It then swaps in as needed.

But unexpected or unplanned swapping is a bad thing - if a process
starts taking so much memory that it forces most of the rest of the
system onto swap, then I agree things are going to go /really/ badly.

Re: "Functional exception-less error handling with C++23

<u3oh2c$29unl$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=124&group=comp.lang.c%2B%2B#124

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c++
Subject: Re: "Functional exception-less error handling with C++23
Date: Sat, 13 May 2023 19:23:26 +0200
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <u3oh2c$29unl$1@dont-email.me>
References: <u1pli1$6mq8$1@dont-email.me> <u3dtvl$anm0$1@dont-email.me>
<u3dupo$arh5$1@dont-email.me> <u3e0jh$b2gg$1@dont-email.me>
<u3fjsc$kg7j$1@dont-email.me> <u3g0ac$m15t$1@dont-email.me>
<u3gbaf$n8j4$1@dont-email.me> <u3gbpp$n9hc$1@dont-email.me>
<u3gf3f$nng5$1@dont-email.me> <u3gg60$nqig$1@dont-email.me>
<u3i82f$11o9e$1@dont-email.me> <u3ikdl$1371m$1@dont-email.me>
<u3ir3a$140to$1@dont-email.me> <u3j5c9$156v1$1@dont-email.me>
<5s97M.580254$5S78.208194@fx48.iad> <u3k5jf$18pa1$1@dont-email.me>
<a%q7M.2713031$iS99.1971483@fx16.iad>
<87fs819xdi.fsf@nosuchdomain.example.com> <u3o4jn$245tq$1@dont-email.me>
<u3o8b9$24lak$1@dont-email.me> <u3obuv$251qc$1@dont-email.me>
<u3ofss$29qgt$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 13 May 2023 17:23:24 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="306cda98f230979d1a3a1604e4d86cd4";
logging-data="2423541"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+lTdBGalZ7qnGyMKYCsadlPSZoNY/8FiE="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:wyz/aTztaOXbpm/9z/DoM9yLlco=
In-Reply-To: <u3ofss$29qgt$1@dont-email.me>
Content-Language: de-DE
 by: Bonita Montero - Sat, 13 May 2023 17:23 UTC

Am 13.05.2023 um 19:03 schrieb David Brown:

> That is not always the case - and certainly hasn't always been the case.
>  Modern high speed memory is proportionally much faster than even
> modern SSD disks, but there was a time when it was quite reasonable to
> use swap space for many purposes - the latency was high, but the
> throughput could be relatively good for the sizes of memory common at
> the time.

That's not true.
This random access I/O from 100 Threads to a normal 10ms 4TB Disk:

C:\Users\Bonita\Documents\Source\ParallelIo>x64\Release\ParallelIo.exe
--degree 32 --file x:\testfile --synch
synchronous I/O, filename: "x:\testfile", file-size: 1GB, block-size:
4kB, threads: 32
1.8 MB/s, 453 IOs/s (64.3ms), avg 1.8 MB/s, 447 IOs/s (63.5ms), max 1.8
MB/s, 453 IOs/s (64.3ms)

1.8 MB/s from 32 threads. Compare that if you'd have 100 threads
accessing raw memory with mostly page hits which is about 32ns,
i.e. 2GB/s (counting the whole fetched cachelines).

Swap does make sense only to back overcomitting which is the default
for Windows or what can be configured under Linux.

Re: "Functional exception-less error handling with C++23

<u3on7m$2ajki$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=125&group=comp.lang.c%2B%2B#125

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c++
Subject: Re: "Functional exception-less error handling with C++23
Date: Sat, 13 May 2023 21:08:38 +0200
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <u3on7m$2ajki$1@dont-email.me>
References: <u1pli1$6mq8$1@dont-email.me> <u3dtvl$anm0$1@dont-email.me>
<u3dupo$arh5$1@dont-email.me> <u3e0jh$b2gg$1@dont-email.me>
<u3fjsc$kg7j$1@dont-email.me> <u3g0ac$m15t$1@dont-email.me>
<u3gbaf$n8j4$1@dont-email.me> <u3gbpp$n9hc$1@dont-email.me>
<u3gf3f$nng5$1@dont-email.me> <u3gg60$nqig$1@dont-email.me>
<u3i82f$11o9e$1@dont-email.me> <u3ikdl$1371m$1@dont-email.me>
<u3ir3a$140to$1@dont-email.me> <u3j5c9$156v1$1@dont-email.me>
<5s97M.580254$5S78.208194@fx48.iad> <u3k5jf$18pa1$1@dont-email.me>
<a%q7M.2713031$iS99.1971483@fx16.iad>
<87fs819xdi.fsf@nosuchdomain.example.com> <u3o4jn$245tq$1@dont-email.me>
<u3o8b9$24lak$1@dont-email.me> <u3obuv$251qc$1@dont-email.me>
<u3ofss$29qgt$1@dont-email.me> <u3oh2c$29unl$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 13 May 2023 19:08:39 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d18d617860c449306076c6bd11171f34";
logging-data="2444946"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ejcs63l8Y8afyLa2W7UPvb+vpYatU38s="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.7.1
Cancel-Lock: sha1:58h5QDILlE3NQlcnYKNnWsJyt5c=
Content-Language: en-GB
In-Reply-To: <u3oh2c$29unl$1@dont-email.me>
 by: David Brown - Sat, 13 May 2023 19:08 UTC

On 13/05/2023 19:23, Bonita Montero wrote:
> Am 13.05.2023 um 19:03 schrieb David Brown:
>
>> That is not always the case - and certainly hasn't always been the
>> case.   Modern high speed memory is proportionally much faster than
>> even modern SSD disks, but there was a time when it was quite
>> reasonable to use swap space for many purposes - the latency was high,
>> but the throughput could be relatively good for the sizes of memory
>> common at the time.
>
> That's not true.

You /do/ understand that I was referring to past usage, not typical
modern machines?

> This random access I/O from 100 Threads to a normal 10ms 4TB Disk:
>
> C:\Users\Bonita\Documents\Source\ParallelIo>x64\Release\ParallelIo.exe
> --degree 32 --file x:\testfile --synch
> synchronous I/O, filename: "x:\testfile", file-size: 1GB, block-size:
> 4kB, threads: 32
> 1.8 MB/s, 453 IOs/s (64.3ms), avg 1.8 MB/s, 447 IOs/s (63.5ms), max 1.8
> MB/s, 453 IOs/s (64.3ms)
>
> 1.8 MB/s from 32 threads. Compare that if you'd have 100 threads
> accessing raw memory with mostly page hits which is about 32ns,
> i.e. 2GB/s (counting the whole fetched cachelines).
>
> Swap does make sense only to back overcomitting which is the default
> for Windows or what can be configured under Linux.
>
>

Re: "Functional exception-less error handling with C++23

<u3pei2$2gl3s$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=126&group=comp.lang.c%2B%2B#126

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c++
Subject: Re: "Functional exception-less error handling with C++23
Date: Sun, 14 May 2023 03:46:44 +0200
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <u3pei2$2gl3s$1@dont-email.me>
References: <u1pli1$6mq8$1@dont-email.me> <u3dtvl$anm0$1@dont-email.me>
<u3dupo$arh5$1@dont-email.me> <u3e0jh$b2gg$1@dont-email.me>
<u3fjsc$kg7j$1@dont-email.me> <u3g0ac$m15t$1@dont-email.me>
<u3gbaf$n8j4$1@dont-email.me> <u3gbpp$n9hc$1@dont-email.me>
<u3gf3f$nng5$1@dont-email.me> <u3gg60$nqig$1@dont-email.me>
<u3i82f$11o9e$1@dont-email.me> <u3ikdl$1371m$1@dont-email.me>
<u3ir3a$140to$1@dont-email.me> <u3j5c9$156v1$1@dont-email.me>
<5s97M.580254$5S78.208194@fx48.iad> <u3k5jf$18pa1$1@dont-email.me>
<a%q7M.2713031$iS99.1971483@fx16.iad>
<87fs819xdi.fsf@nosuchdomain.example.com> <u3o4jn$245tq$1@dont-email.me>
<u3o8b9$24lak$1@dont-email.me> <u3obuv$251qc$1@dont-email.me>
<u3ofss$29qgt$1@dont-email.me> <u3oh2c$29unl$1@dont-email.me>
<u3on7m$2ajki$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 14 May 2023 01:46:42 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d931b96d09b9f1b62631215593f28bbc";
logging-data="2643068"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/zJfVohgIj5AxSCpKIsuentRgheEHAnHE="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:sL2mgGDNfChle8s28k6eUMx7qXo=
In-Reply-To: <u3on7m$2ajki$1@dont-email.me>
Content-Language: de-DE
 by: Bonita Montero - Sun, 14 May 2023 01:46 UTC

Am 13.05.2023 um 21:08 schrieb David Brown:

> You /do/ understand that I was referring to past usage, not typical
> modern machines?

There are not much differences in access times on old HDDs.
And DRAM access times aren't much different the last 20 yrs.

Re: "Functional exception-less error handling with C++23

<u3q66f$2j20s$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=128&group=comp.lang.c%2B%2B#128

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Mutt...@dastardlyhq.com
Newsgroups: comp.lang.c++
Subject: Re: "Functional exception-less error handling with C++23
Date: Sun, 14 May 2023 08:30:07 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <u3q66f$2j20s$1@dont-email.me>
References: <u1pli1$6mq8$1@dont-email.me> <u3dtvl$anm0$1@dont-email.me>
<u3dupo$arh5$1@dont-email.me> <u3e0jh$b2gg$1@dont-email.me>
<u3fjsc$kg7j$1@dont-email.me> <u3g0ac$m15t$1@dont-email.me>
<u3gbaf$n8j4$1@dont-email.me> <u3gbpp$n9hc$1@dont-email.me>
<u3gf3f$nng5$1@dont-email.me> <u3gg60$nqig$1@dont-email.me>
<u3i82f$11o9e$1@dont-email.me> <u3ikdl$1371m$1@dont-email.me>
<u3ir3a$140to$1@dont-email.me> <u3j5c9$156v1$1@dont-email.me>
<5s97M.580254$5S78.208194@fx48.iad> <u3k5jf$18pa1$1@dont-email.me>
<a%q7M.2713031$iS99.1971483@fx16.iad>
<87fs819xdi.fsf@nosuchdomain.example.com> <u3o4jn$245tq$1@dont-email.me>
<u3o8b9$24lak$1@dont-email.me> <u3obuv$251qc$1@dont-email.me>
<u3ofss$29qgt$1@dont-email.me>
Injection-Date: Sun, 14 May 2023 08:30:07 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="fff293f897a9fde96f7e5ef7cc177857";
logging-data="2721820"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19+JvR6DmQCnFlPPo8h6xoS"
Cancel-Lock: sha1:5g7HMvmzsykK3wArYproRGDEfoI=
 by: Mutt...@dastardlyhq.com - Sun, 14 May 2023 08:30 UTC

On Sat, 13 May 2023 19:03:24 +0200
David Brown <david.brown@hesbynett.no> wrote:
>But unexpected or unplanned swapping is a bad thing - if a process
>starts taking so much memory that it forces most of the rest of the
>system onto swap, then I agree things are going to go /really/ badly.

Unfortunately Linux (and probably Windows and Mac) doesn't AFAIK prioritise
processes that the user needs to rescue the system when it tanks due to
swapping. Any shell and its child processes spawned from getty/login (or
whatever fucked up crap systemDire replaced them with) should never be swapped
out if the shell is running as root but I guess thats tricky to sort out.

Re: "Functional exception-less error handling with C++23

<u40ptc$3j10s$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=136&group=comp.lang.c%2B%2B#136

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: vir.camp...@invalid.invalid (Vir Campestris)
Newsgroups: comp.lang.c++
Subject: Re: "Functional exception-less error handling with C++23
Date: Tue, 16 May 2023 21:43:24 +0100
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <u40ptc$3j10s$2@dont-email.me>
References: <u1pli1$6mq8$1@dont-email.me> <u3dtvl$anm0$1@dont-email.me>
<u3dupo$arh5$1@dont-email.me> <u3e0jh$b2gg$1@dont-email.me>
<u3fjsc$kg7j$1@dont-email.me> <u3g0ac$m15t$1@dont-email.me>
<u3gbaf$n8j4$1@dont-email.me> <u3gbpp$n9hc$1@dont-email.me>
<u3gf3f$nng5$1@dont-email.me> <u3gg60$nqig$1@dont-email.me>
<u3i82f$11o9e$1@dont-email.me> <u3ikdl$1371m$1@dont-email.me>
<u3ir3a$140to$1@dont-email.me> <u3j5c9$156v1$1@dont-email.me>
<5s97M.580254$5S78.208194@fx48.iad> <u3k5jf$18pa1$1@dont-email.me>
<a%q7M.2713031$iS99.1971483@fx16.iad>
<87fs819xdi.fsf@nosuchdomain.example.com> <u3o4jn$245tq$1@dont-email.me>
<u3o8b9$24lak$1@dont-email.me> <u3obuv$251qc$1@dont-email.me>
<u3ofss$29qgt$1@dont-email.me> <u3oh2c$29unl$1@dont-email.me>
<u3on7m$2ajki$1@dont-email.me> <u3pei2$2gl3s$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 16 May 2023 20:43:24 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="2dda9b9de091afb27d0b500402690590";
logging-data="3769372"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18UnlK8oAW2ijhZ8yx7L261LadzC0jwJro="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:bJvRyHVcWnNw4FW7ITTXaehSqbU=
In-Reply-To: <u3pei2$2gl3s$1@dont-email.me>
Content-Language: en-GB
 by: Vir Campestris - Tue, 16 May 2023 20:43 UTC

On 14/05/2023 02:46, Bonita Montero wrote:
> Am 13.05.2023 um 21:08 schrieb David Brown:
>
>> You /do/ understand that I was referring to past usage, not typical
>> modern machines?
>
> There are not much differences in access times on old HDDs.
> And DRAM access times aren't much different the last 20 yrs.
>
Remind me what was the memory cycle time on an IBM360?

I started off on mainframes. The system would quite happily perform IO
on several disc drives simultaneously without affecting the CPU at all.
IIRC our big system had ~40 disc drives.

The speed of all these things have gone up, but the ratios between the
speeds have changed too. Some of us do go back a long way.

Andy

Re: "Functional exception-less error handling with C++23

<y%S8M.321216$eRZ7.282020@fx06.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=137&group=comp.lang.c%2B%2B#137

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx06.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: "Functional exception-less error handling with C++23
Newsgroups: comp.lang.c++
References: <u1pli1$6mq8$1@dont-email.me> <u3ir3a$140to$1@dont-email.me> <u3j5c9$156v1$1@dont-email.me> <5s97M.580254$5S78.208194@fx48.iad> <u3k5jf$18pa1$1@dont-email.me> <a%q7M.2713031$iS99.1971483@fx16.iad> <87fs819xdi.fsf@nosuchdomain.example.com> <u3o4jn$245tq$1@dont-email.me> <u3o8b9$24lak$1@dont-email.me> <u3obuv$251qc$1@dont-email.me> <u3ofss$29qgt$1@dont-email.me> <u3oh2c$29unl$1@dont-email.me> <u3on7m$2ajki$1@dont-email.me> <u3pei2$2gl3s$1@dont-email.me> <u40ptc$3j10s$2@dont-email.me>
Lines: 31
Message-ID: <y%S8M.321216$eRZ7.282020@fx06.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Tue, 16 May 2023 21:57:50 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Tue, 16 May 2023 21:57:50 GMT
X-Received-Bytes: 2352
 by: Scott Lurndal - Tue, 16 May 2023 21:57 UTC

Vir Campestris <vir.campestris@invalid.invalid> writes:
>On 14/05/2023 02:46, Bonita Montero wrote:
> > Am 13.05.2023 um 21:08 schrieb David Brown:
> >
> >> You /do/ understand that I was referring to past usage, not typical
> >> modern machines?
> >
> > There are not much differences in access times on old HDDs.
> > And DRAM access times aren't much different the last 20 yrs.
> >
>Remind me what was the memory cycle time on an IBM360?
>
>I started off on mainframes. The system would quite happily perform IO
>on several disc drives simultaneously without affecting the CPU at all.

I think that depends on the model. The lower-end models didn't have
real DMA IIRC.

>IIRC our big system had ~40 disc drives.

The more important consideration for bandwidth is the channel
(bus/tag) capacity and the ability for the host storage controller
(channel program) to interleave accesses to multiple drives on
a channel (sometimes splitting seek from read to allow the heads to
position while transfering from a different drive on the string).

Burroughs disk subsystems could multiplex eight (1MByte/s) host channels to a
string of 16 drives, so any eight could be transferring into memory
simultaneously (well, interleaved by the I/O controller when
accessing main memory).

Re: "Functional exception-less error handling with C++23

<u41f58$3p2jv$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=142&group=comp.lang.c%2B%2B#142

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c++
Subject: Re: "Functional exception-less error handling with C++23
Date: Wed, 17 May 2023 04:46:03 +0200
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <u41f58$3p2jv$1@dont-email.me>
References: <u1pli1$6mq8$1@dont-email.me> <u3dtvl$anm0$1@dont-email.me>
<u3dupo$arh5$1@dont-email.me> <u3e0jh$b2gg$1@dont-email.me>
<u3fjsc$kg7j$1@dont-email.me> <u3g0ac$m15t$1@dont-email.me>
<u3gbaf$n8j4$1@dont-email.me> <u3gbpp$n9hc$1@dont-email.me>
<u3gf3f$nng5$1@dont-email.me> <u3gg60$nqig$1@dont-email.me>
<u3i82f$11o9e$1@dont-email.me> <u3ikdl$1371m$1@dont-email.me>
<u3ir3a$140to$1@dont-email.me> <u3j5c9$156v1$1@dont-email.me>
<5s97M.580254$5S78.208194@fx48.iad> <u3k5jf$18pa1$1@dont-email.me>
<a%q7M.2713031$iS99.1971483@fx16.iad>
<87fs819xdi.fsf@nosuchdomain.example.com> <u3o4jn$245tq$1@dont-email.me>
<u3o8b9$24lak$1@dont-email.me> <u3obuv$251qc$1@dont-email.me>
<u3ofss$29qgt$1@dont-email.me> <u3oh2c$29unl$1@dont-email.me>
<u3on7m$2ajki$1@dont-email.me> <u3pei2$2gl3s$1@dont-email.me>
<u40ptc$3j10s$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 17 May 2023 02:46:00 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="dd6796588022b2f033538efb51abffbf";
logging-data="3967615"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+gtONRH3vfbhdw+WevLJ9miK0A1FlFTKg="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:SctZ+mcQLxiET4ok3z4PA/g3HHY=
Content-Language: de-DE
In-Reply-To: <u40ptc$3j10s$2@dont-email.me>
 by: Bonita Montero - Wed, 17 May 2023 02:46 UTC

Am 16.05.2023 um 22:43 schrieb Vir Campestris:

> I started off on mainframes. The system would quite happily perform IO
> on several disc drives simultaneously without affecting the CPU at all.
> IIRC our big system had ~40 disc drives.

I can transfer 150MB/s vom my 4TB HDD nearly without havin any CPU-load.
If I do random access I/O with I/O completion ports and 512 outstanding
operations I get a CPU load of three to four percent with about 4GB/s.

Re: "Functional exception-less error handling with C++23

<u41he8$3p8ad$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=143&group=comp.lang.c%2B%2B#143

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c++
Subject: Re: "Functional exception-less error handling with C++23
Date: Tue, 16 May 2023 20:24:57 -0700
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <u41he8$3p8ad$1@dont-email.me>
References: <u1pli1$6mq8$1@dont-email.me> <u3dtvl$anm0$1@dont-email.me>
<u3dupo$arh5$1@dont-email.me> <u3e0jh$b2gg$1@dont-email.me>
<u3fjsc$kg7j$1@dont-email.me> <u3g0ac$m15t$1@dont-email.me>
<u3gbaf$n8j4$1@dont-email.me> <u3gbpp$n9hc$1@dont-email.me>
<u3gf3f$nng5$1@dont-email.me> <u3gg60$nqig$1@dont-email.me>
<u3i82f$11o9e$1@dont-email.me> <u3ikdl$1371m$1@dont-email.me>
<u3ir3a$140to$1@dont-email.me> <u3j5c9$156v1$1@dont-email.me>
<5s97M.580254$5S78.208194@fx48.iad> <u3k5jf$18pa1$1@dont-email.me>
<a%q7M.2713031$iS99.1971483@fx16.iad>
<87fs819xdi.fsf@nosuchdomain.example.com> <u3o4jn$245tq$1@dont-email.me>
<u3o8b9$24lak$1@dont-email.me> <u3obuv$251qc$1@dont-email.me>
<u3ofss$29qgt$1@dont-email.me> <u3oh2c$29unl$1@dont-email.me>
<u3on7m$2ajki$1@dont-email.me> <u3pei2$2gl3s$1@dont-email.me>
<u40ptc$3j10s$2@dont-email.me> <u41f58$3p2jv$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 17 May 2023 03:24:56 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="61fa68a2837ac948d6a11e1f97d70f68";
logging-data="3973453"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19jSPOg9RauEmhfCLYReki8uPfjSvKdAYk="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:Mm206AYeV/at5TsHIQa7TAvrKkQ=
In-Reply-To: <u41f58$3p2jv$1@dont-email.me>
Content-Language: en-US
 by: Chris M. Thomasson - Wed, 17 May 2023 03:24 UTC

On 5/16/2023 7:46 PM, Bonita Montero wrote:
> Am 16.05.2023 um 22:43 schrieb Vir Campestris:
>
>> I started off on mainframes. The system would quite happily perform IO
>> on several disc drives simultaneously without affecting the CPU at
>> all. IIRC our big system had ~40 disc drives.
>
> I can transfer 150MB/s vom my 4TB HDD nearly without havin any CPU-load.
> If I do random access I/O with I/O completion ports and 512 outstanding
> operations I get a CPU load of three to four percent with about 4GB/s.
>

Be careful with those IO completion ports for they use non-paged memory!

Re: "Functional exception-less error handling with C++23

<u41kq4$3phjd$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=144&group=comp.lang.c%2B%2B#144

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c++
Subject: Re: "Functional exception-less error handling with C++23
Date: Wed, 17 May 2023 06:22:31 +0200
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <u41kq4$3phjd$1@dont-email.me>
References: <u1pli1$6mq8$1@dont-email.me> <u3dtvl$anm0$1@dont-email.me>
<u3dupo$arh5$1@dont-email.me> <u3e0jh$b2gg$1@dont-email.me>
<u3fjsc$kg7j$1@dont-email.me> <u3g0ac$m15t$1@dont-email.me>
<u3gbaf$n8j4$1@dont-email.me> <u3gbpp$n9hc$1@dont-email.me>
<u3gf3f$nng5$1@dont-email.me> <u3gg60$nqig$1@dont-email.me>
<u3i82f$11o9e$1@dont-email.me> <u3ikdl$1371m$1@dont-email.me>
<u3ir3a$140to$1@dont-email.me> <u3j5c9$156v1$1@dont-email.me>
<5s97M.580254$5S78.208194@fx48.iad> <u3k5jf$18pa1$1@dont-email.me>
<a%q7M.2713031$iS99.1971483@fx16.iad>
<87fs819xdi.fsf@nosuchdomain.example.com> <u3o4jn$245tq$1@dont-email.me>
<u3o8b9$24lak$1@dont-email.me> <u3obuv$251qc$1@dont-email.me>
<u3ofss$29qgt$1@dont-email.me> <u3oh2c$29unl$1@dont-email.me>
<u3on7m$2ajki$1@dont-email.me> <u3pei2$2gl3s$1@dont-email.me>
<u40ptc$3j10s$2@dont-email.me> <u41f58$3p2jv$1@dont-email.me>
<u41he8$3p8ad$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 17 May 2023 04:22:28 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="dd6796588022b2f033538efb51abffbf";
logging-data="3982957"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+QNsgk8+vlfTaTB8mEeXywtASxuUzYaWo="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:y971GfLmRXpnP70pnEBajr7RC2I=
In-Reply-To: <u41he8$3p8ad$1@dont-email.me>
Content-Language: de-DE
 by: Bonita Montero - Wed, 17 May 2023 04:22 UTC

Am 17.05.2023 um 05:24 schrieb Chris M. Thomasson:

> Be careful with those IO completion ports for they use non-paged memory!

The kernel uses non-paged memory for a lot of data structures.

Re: "Functional exception-less error handling with C++23

<u41mpk$3pmck$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=145&group=comp.lang.c%2B%2B#145

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c++
Subject: Re: "Functional exception-less error handling with C++23
Date: Tue, 16 May 2023 21:56:21 -0700
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <u41mpk$3pmck$1@dont-email.me>
References: <u1pli1$6mq8$1@dont-email.me> <u3dtvl$anm0$1@dont-email.me>
<u3dupo$arh5$1@dont-email.me> <u3e0jh$b2gg$1@dont-email.me>
<u3fjsc$kg7j$1@dont-email.me> <u3g0ac$m15t$1@dont-email.me>
<u3gbaf$n8j4$1@dont-email.me> <u3gbpp$n9hc$1@dont-email.me>
<u3gf3f$nng5$1@dont-email.me> <u3gg60$nqig$1@dont-email.me>
<u3i82f$11o9e$1@dont-email.me> <u3ikdl$1371m$1@dont-email.me>
<u3ir3a$140to$1@dont-email.me> <u3j5c9$156v1$1@dont-email.me>
<5s97M.580254$5S78.208194@fx48.iad> <u3k5jf$18pa1$1@dont-email.me>
<a%q7M.2713031$iS99.1971483@fx16.iad>
<87fs819xdi.fsf@nosuchdomain.example.com> <u3o4jn$245tq$1@dont-email.me>
<u3o8b9$24lak$1@dont-email.me> <u3obuv$251qc$1@dont-email.me>
<u3ofss$29qgt$1@dont-email.me> <u3oh2c$29unl$1@dont-email.me>
<u3on7m$2ajki$1@dont-email.me> <u3pei2$2gl3s$1@dont-email.me>
<u40ptc$3j10s$2@dont-email.me> <u41f58$3p2jv$1@dont-email.me>
<u41he8$3p8ad$1@dont-email.me> <u41kq4$3phjd$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 17 May 2023 04:56:21 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="61fa68a2837ac948d6a11e1f97d70f68";
logging-data="3987860"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18HRPgx9t5IagKAzN3SJNk8YDqTHHvpGU0="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:iWpkxwgQIITkLdFVoXVh6s+BRDM=
In-Reply-To: <u41kq4$3phjd$1@dont-email.me>
Content-Language: en-US
 by: Chris M. Thomasson - Wed, 17 May 2023 04:56 UTC

On 5/16/2023 9:22 PM, Bonita Montero wrote:
> Am 17.05.2023 um 05:24 schrieb Chris M. Thomasson:
>
>> Be careful with those IO completion ports for they use non-paged memory!
>
> The kernel uses non-paged memory for a lot of data structures.
>

You need to be weary about how many in progress IOCP actions there are
in the system at the same time. They will eat into your non-paged pool.

Re: "Functional exception-less error handling with C++23

<jM49M.510328$Sgyc.143096@fx40.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=150&group=comp.lang.c%2B%2B#150

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer03.ams4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx40.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: "Functional exception-less error handling with C++23
Newsgroups: comp.lang.c++
References: <u1pli1$6mq8$1@dont-email.me> <u3j5c9$156v1$1@dont-email.me> <5s97M.580254$5S78.208194@fx48.iad> <u3k5jf$18pa1$1@dont-email.me> <a%q7M.2713031$iS99.1971483@fx16.iad> <87fs819xdi.fsf@nosuchdomain.example.com> <u3o4jn$245tq$1@dont-email.me> <u3o8b9$24lak$1@dont-email.me> <u3obuv$251qc$1@dont-email.me> <u3ofss$29qgt$1@dont-email.me> <u3oh2c$29unl$1@dont-email.me> <u3on7m$2ajki$1@dont-email.me> <u3pei2$2gl3s$1@dont-email.me> <u40ptc$3j10s$2@dont-email.me> <u41f58$3p2jv$1@dont-email.me>
Lines: 13
Message-ID: <jM49M.510328$Sgyc.143096@fx40.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 17 May 2023 13:37:19 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 17 May 2023 13:37:19 GMT
X-Received-Bytes: 1707
 by: Scott Lurndal - Wed, 17 May 2023 13:37 UTC

Bonita Montero <Bonita.Montero@gmail.com> writes:
>Am 16.05.2023 um 22:43 schrieb Vir Campestris:
>
>> I started off on mainframes. The system would quite happily perform IO
>> on several disc drives simultaneously without affecting the CPU at all.
>> IIRC our big system had ~40 disc drives.
>
>I can transfer 150MB/s vom my 4TB HDD nearly without havin any CPU-load.
>If I do random access I/O with I/O completion ports and 512 outstanding
>operations I get a CPU load of three to four percent with about 4GB/s.
>

So what? DMA has been around for decades.

Re: "Functional exception-less error handling with C++23

<u42npm$3t583$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=151&group=comp.lang.c%2B%2B#151

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c++
Subject: Re: "Functional exception-less error handling with C++23
Date: Wed, 17 May 2023 16:19:37 +0200
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <u42npm$3t583$1@dont-email.me>
References: <u1pli1$6mq8$1@dont-email.me> <u3j5c9$156v1$1@dont-email.me>
<5s97M.580254$5S78.208194@fx48.iad> <u3k5jf$18pa1$1@dont-email.me>
<a%q7M.2713031$iS99.1971483@fx16.iad>
<87fs819xdi.fsf@nosuchdomain.example.com> <u3o4jn$245tq$1@dont-email.me>
<u3o8b9$24lak$1@dont-email.me> <u3obuv$251qc$1@dont-email.me>
<u3ofss$29qgt$1@dont-email.me> <u3oh2c$29unl$1@dont-email.me>
<u3on7m$2ajki$1@dont-email.me> <u3pei2$2gl3s$1@dont-email.me>
<u40ptc$3j10s$2@dont-email.me> <u41f58$3p2jv$1@dont-email.me>
<jM49M.510328$Sgyc.143096@fx40.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 17 May 2023 14:19:34 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="dd6796588022b2f033538efb51abffbf";
logging-data="4101379"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Zw8LljPY/3QDBM8AkAizWcVWSCJjXjyw="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:Bj8T2zdZ0xb0UfNMBVH0M4c8L7Y=
Content-Language: de-DE
In-Reply-To: <jM49M.510328$Sgyc.143096@fx40.iad>
 by: Bonita Montero - Wed, 17 May 2023 14:19 UTC

Am 17.05.2023 um 15:37 schrieb Scott Lurndal:

> So what? DMA has been around for decades.

Vir thinks I/O is more efficient with Mainframes.
I gave hin an example of how eficient I/O is on a 1.500$ PC.

Re: "Functional exception-less error handling with C++23

<M869M.617580$5S78.557031@fx48.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=152&group=comp.lang.c%2B%2B#152

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer02.ams4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx48.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: "Functional exception-less error handling with C++23
Newsgroups: comp.lang.c++
References: <u1pli1$6mq8$1@dont-email.me> <u3k5jf$18pa1$1@dont-email.me> <a%q7M.2713031$iS99.1971483@fx16.iad> <87fs819xdi.fsf@nosuchdomain.example.com> <u3o4jn$245tq$1@dont-email.me> <u3o8b9$24lak$1@dont-email.me> <u3obuv$251qc$1@dont-email.me> <u3ofss$29qgt$1@dont-email.me> <u3oh2c$29unl$1@dont-email.me> <u3on7m$2ajki$1@dont-email.me> <u3pei2$2gl3s$1@dont-email.me> <u40ptc$3j10s$2@dont-email.me> <u41f58$3p2jv$1@dont-email.me> <jM49M.510328$Sgyc.143096@fx40.iad> <u42npm$3t583$1@dont-email.me>
Lines: 11
Message-ID: <M869M.617580$5S78.557031@fx48.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 17 May 2023 15:11:40 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 17 May 2023 15:11:40 GMT
X-Received-Bytes: 1489
 by: Scott Lurndal - Wed, 17 May 2023 15:11 UTC

Bonita Montero <Bonita.Montero@gmail.com> writes:
>Am 17.05.2023 um 15:37 schrieb Scott Lurndal:
>
>> So what? DMA has been around for decades.
>
>Vir thinks I/O is more efficient with Mainframes.
>I gave hin an example of how eficient I/O is on a 1.500$ PC.

Apples are red, oranges are, well, orange.

How well did your PC handle I/O in 1975?

Re: "Functional exception-less error handling with C++23

<u42qvl$3tgs5$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=153&group=comp.lang.c%2B%2B#153

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c++
Subject: Re: "Functional exception-less error handling with C++23
Date: Wed, 17 May 2023 17:14:00 +0200
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <u42qvl$3tgs5$1@dont-email.me>
References: <u1pli1$6mq8$1@dont-email.me> <u3k5jf$18pa1$1@dont-email.me>
<a%q7M.2713031$iS99.1971483@fx16.iad>
<87fs819xdi.fsf@nosuchdomain.example.com> <u3o4jn$245tq$1@dont-email.me>
<u3o8b9$24lak$1@dont-email.me> <u3obuv$251qc$1@dont-email.me>
<u3ofss$29qgt$1@dont-email.me> <u3oh2c$29unl$1@dont-email.me>
<u3on7m$2ajki$1@dont-email.me> <u3pei2$2gl3s$1@dont-email.me>
<u40ptc$3j10s$2@dont-email.me> <u41f58$3p2jv$1@dont-email.me>
<jM49M.510328$Sgyc.143096@fx40.iad> <u42npm$3t583$1@dont-email.me>
<M869M.617580$5S78.557031@fx48.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 17 May 2023 15:13:57 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="dd6796588022b2f033538efb51abffbf";
logging-data="4113285"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19SNF2tHlOB9iE9pDezEjkgg5RcA0G6Nus="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:IL79R9Eu1iuY8Gv2KndeXG91tLA=
In-Reply-To: <M869M.617580$5S78.557031@fx48.iad>
Content-Language: de-DE
 by: Bonita Montero - Wed, 17 May 2023 15:14 UTC

Am 17.05.2023 um 17:11 schrieb Scott Lurndal:

> Bonita Montero <Bonita.Montero@gmail.com> writes:

>> I gave hin an example of how eficient I/O is on a 1.500$ PC.

> Apples are red, oranges are, well, orange.
> How well did your PC handle I/O in 1975?

There are still mainframes and they're
for sure not more efficient with I/O.


devel / comp.lang.c++ / Re: "Functional exception-less error handling with C++23

Pages:1234
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor