Deutsch English Français Italiano |
<v14agq$10e58$4@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.nobody.at!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> Newsgroups: comp.lang.c++,comp.lang.c Subject: Re: Threads across programming languages Date: Fri, 3 May 2024 20:36:58 -0700 Organization: A noiseless patient Spider Lines: 24 Message-ID: <v14agq$10e58$4@dont-email.me> References: <GIL-20240429161553@ram.dialup.fu-berlin.de> <v0ogum$1rc5n$1@dont-email.me> <v0ovvl$1ur12$4@dont-email.me> <v0p06i$1uq6q$5@dont-email.me> <v0shti$2vrco$2@raubtier-asyl.eternal-september.org> <v0spsh$31ds4$3@dont-email.me> <v0stic$325kv$3@raubtier-asyl.eternal-september.org> <v0svtn$32o8h$1@dont-email.me> <v0t091$32qj6$1@raubtier-asyl.eternal-september.org> <v0u90h$3c1r5$4@dont-email.me> <v0v7rf$3lu04$1@dont-email.me> <v0v8u3$3m7rm$1@dont-email.me> <v0v9oh$3mcpv$1@raubtier-asyl.eternal-september.org> <v116s6$4at1$2@dont-email.me> <v1222d$db4v$1@raubtier-asyl.eternal-september.org> <v146kd$vrsv$7@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 04 May 2024 05:36:59 +0200 (CEST) Injection-Info: dont-email.me; posting-host="00566bb81b0a3452542610785f934900"; logging-data="1063080"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/38535k6QYpxjq3kSyaFJGTA/IY0ha0YM=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:w2RCqI3pDkV4QN6OX8MeRARNfh0= In-Reply-To: <v146kd$vrsv$7@dont-email.me> Content-Language: en-US Bytes: 2648 On 5/3/2024 7:30 PM, Lawrence D'Oliveiro wrote: > On Fri, 3 May 2024 09:00:30 +0200, Bonita Montero wrote: > >> Am 03.05.2024 um 01:16 schrieb Lawrence D'Oliveiro: >> >>> On Thu, 2 May 2024 07:53:21 +0200, Bonita Montero wrote: >>> >>>> If you have a stream of individual I/Os and the processing of the I/Os >>>> takes more time than the time between the I/Os you need threads. >>> >>> That makes the CPU the bottleneck. Which is not the case we’re >>> discussing here. >> >> No, the processing beetween the I/O can mostly depend on other I/Os, >> which is the standard case for server applications. > > In that situation, multithreading isn’t going to speed things up. ummm, so what does the server do after getting an io completion...? It has to do something. Look something up in a RCU protected database structure, ect, ect... Thread sync scalability usually becomes an issue right when your server experiences any type of decent load. Especially heavy load! ;^o