Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"May your future be limited only by your dreams." -- Christa McAuliffe


devel / comp.lang.python / Re: HTTP server benchmarking/load testing in Python

SubjectAuthor
* HTTP server benchmarking/load testing in PythonDino
+* Re: HTTP server benchmarking/load testing in PythonThomas Passin
|+* Re: HTTP server benchmarking/load testing in PythonDino
||+* Re: HTTP server benchmarking/load testing in PythonThomas Passin
|||`- Re: HTTP server benchmarking/load testing in PythonDino
||+- Re: HTTP server benchmarking/load testing in PythonPeter J. Holzer
||+- Re: HTTP server benchmarking/load testing in PythonThomas Passin
||+- Re: HTTP server benchmarking/load testing in PythonChris Angelico
||+- Re: HTTP server benchmarking/load testing in PythonThomas Passin
||+- Re: HTTP server benchmarking/load testing in PythonGrant Edwards
||+- Re: HTTP server benchmarking/load testing in PythonBenjamin Schollnick
||+- Re: HTTP server benchmarking/load testing in PythonThomas Passin
||+- Re: HTTP server benchmarking/load testing in PythonChris Angelico
||+* Re: HTTP server benchmarking/load testing in PythonGrant Edwards
|||`- Re: HTTP server benchmarking/load testing in PythonStefan Ram
||+- Re: HTTP server benchmarking/load testing in PythonThomas Passin
||+- Re: HTTP server benchmarking/load testing in PythonChris Angelico
||+- Re: HTTP server benchmarking/load testing in PythonThomas Passin
||+- Re: HTTP server benchmarking/load testing in PythonChris Angelico
||+- Re: HTTP server benchmarking/load testing in PythonThomas Passin
||`- Re: HTTP server benchmarking/load testing in PythonThomas Passin
|`- Re: HTTP server benchmarking/load testing in PythonChris Angelico
`* Re: HTTP server benchmarking/load testing in Pythonorzodk
 `* Re: HTTP server benchmarking/load testing in PythonDino
  `* Re: HTTP server benchmarking/load testing in PythonDino
   `- Re: HTTP server benchmarking/load testing in PythonThomas Passin

Pages:12
HTTP server benchmarking/load testing in Python

<4gcAL.2393259$JNZ4.383220@fx12.ams4>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21307&group=comp.lang.python#21307

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx12.ams4.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Newsgroups: comp.lang.python
Content-Language: en-US
From: din...@no.spam.ar (Dino)
Subject: HTTP server benchmarking/load testing in Python
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 16
Message-ID: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
X-Complaints-To: abuse@eweka.nl
NNTP-Posting-Date: Wed, 25 Jan 2023 15:53:36 UTC
Organization: Eweka Internet Services
Date: Wed, 25 Jan 2023 10:53:34 -0500
X-Received-Bytes: 1206
 by: Dino - Wed, 25 Jan 2023 15:53 UTC

Hello, I could use something like Apache ab in Python (
https://httpd.apache.org/docs/2.4/programs/ab.html ).

The reason why ab doesn't quite cut it for me is that I need to define a
pool of HTTP requests and I want the tool to run those (as opposed to
running the same request over and over again)

Does such a marvel exist?

Thinking about it, it doesn't necessarily need to be Python, but I guess
I would have a chance to tweak things if it was.

Thanks

Dino

Re: HTTP server benchmarking/load testing in Python

<mailman.1609.1674671208.20444.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21313&group=comp.lang.python#21313

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: lis...@tompassin.net (Thomas Passin)
Newsgroups: comp.lang.python
Subject: Re: HTTP server benchmarking/load testing in Python
Date: Wed, 25 Jan 2023 13:21:23 -0500
Lines: 71
Message-ID: <mailman.1609.1674671208.20444.python-list@python.org>
References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de zQW8sYcenZEFs9M01/XOLwdlv4yb7JTAOguuV6x8QxPQ==
Return-Path: <list1@tompassin.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=tompassin.net header.i=@tompassin.net header.b=CHgqYomz;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.105
X-Spam-Level: *
X-Spam-Evidence: '*H*': 0.79; '*S*': 0.00; 'is.': 0.05; 'random':
0.05; 'thread': 0.05; 'cpu': 0.07; 'hitting': 0.07; 'http': 0.07;
'rate,': 0.09; 'subject:Python': 0.12; 'possible,': 0.15;
'exponential': 0.16; 'intention': 0.16; 'pool': 0.16; 'queries.':
0.16; 'received:10.0.0': 0.16; 'received:64.90': 0.16;
'received:64.90.62': 0.16; 'received:64.90.62.162': 0.16;
'received:dreamhost.com': 0.16; 'reps': 0.16; 'somewhat': 0.16;
'tries': 0.16; 'wrote:': 0.16; 'python': 0.16; 'instead': 0.17;
"can't": 0.17; 'uses': 0.19; 'to:addr:python-list': 0.20;
'machine': 0.22; 'ran': 0.22; 'version': 0.23; 'code': 0.23;
'run': 0.23; 'idea': 0.24; 'python,': 0.25; 'actual': 0.25;
'tried': 0.26; 'request.': 0.28; 'thinking': 0.28; 'requests':
0.28; 'it,': 0.29; 'header:User-Agent:1': 0.30; 'am,': 0.31;
'program,': 0.31; 'program': 0.31; 'think': 0.32; "doesn't": 0.32;
'(as': 0.32; 'guess': 0.32; 'nature': 0.32; 'rapidly': 0.32;
'received:10.0': 0.32; 'received:mailchannels.net': 0.32;
'received:relay.mailchannels.net': 0.32; 'requests,': 0.32; 'but':
0.32; 'there': 0.33; 'particular': 0.33; 'server': 0.33; 'same':
0.34; 'header:In-Reply-To:1': 0.34; 'running': 0.34; 'runs': 0.35;
'request': 0.35; 'those': 0.36; 'necessarily': 0.37; 'using':
0.37; "it's": 0.37; 'hard': 0.37; 'this.': 0.37; 'could': 0.38;
'quite': 0.39; 'enough': 0.39; 'this,': 0.39; 'use': 0.39;
'case.': 0.40; 'define': 0.40; 'something': 0.40; 'hello,': 0.40;
'want': 0.40; 'try': 0.40; 'should': 0.40; 'four': 0.60; 'likely':
0.61; 'method': 0.61; 'remember': 0.61; 'skip:h 10': 0.61;
'above': 0.62; 'job.': 0.62; 'techniques': 0.62; 'here': 0.62;
'feel': 0.63; 'share': 0.63; 'ago.': 0.64; 'specialized': 0.64;
'url:4': 0.64; 'your': 0.64; 'independent': 0.65; 'similar': 0.65;
'tool': 0.65; 'years': 0.65; 'entire': 0.67; 'prevent': 0.67;
'header:Received:6': 0.67; 'away': 0.67; 'received:64': 0.67;
'exactly': 0.68; 'counter': 0.69; 'stress': 0.69; 'site': 0.70;
'average': 0.70; 'pieces': 0.70; 'chance': 0.71; 'easy': 0.74;
'monitor': 0.81; 'queries': 0.81; 'copyright': 0.84; 'composed':
0.84; 'subject:load': 0.84; 'temperatures': 0.84; 'url:ab': 0.84;
'url:programs': 0.84; 'was.': 0.84; 'assess': 0.93; 'cut': 0.95
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1674670883; a=rsa-sha256;
cv=none;
b=EFFIHrvz6rLGrde3rb4p6g+8ciKUkwWfG6uLnaxgHCHYfGlukIDuaCuoIisSQEkaaJJtC+
3OXxVagXlvisybZR/ddGVOnOhFaTupFL+03DURP8aa1AJ6Bu2jgdN+Tx5GjRFpSSG35LcX
BpP/Cnd0aGYHDoIqRdxq9ggXcK96K3uIVtHbUPCQjbBzg+XF16ERNpna/HFzbvbzy72pvq
5g1/OmQoe4DG2Hiq5qbTj37YR4VIb0uZUazBEqqax1ozuOqf6TqvAJSayxSpPtXns7fnml
QiN8fn2FWl+pa31sLf5aZe6WJfWQkKGn7Zp1H0r1kG+ptqTMwEgEUuC0OF9bNQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
d=mailchannels.net; s=arc-2022; t=1674670883;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references:dkim-signature;
bh=e8FPv8pO7g76GgA3XKs1Pu56qgJgmco3sSSkbLCKs9E=;
b=JiCLjpPSj6W+zk+FO+KfxAs45QgoNLKkpwdQC8iWRuNeD9NZbTGPuWIignuYEBCkeLyk2u
pzepfny/J8tKxebUktLhqnHzlMmGmMgW/j4jHzRW2lysatUnrBFLKR+ohI5bpbEkknhhxi
MAAE8eELYFiaZQdGDEq/WQQpAEVXSM7O9v87vF1XOIlx9K+8+vws9mQKVguY9UCd310dnA
Ssanut4CrBJ5afxGUHaZMzJmmBPKGXtk6Kfyr54YUtWG+LxC5VfQhQtizyQ66SpkVQko5g
NsGoztjLmTJlpA5cqIHyVEfHQpMyLSM2/YmAicXztm6Y865+oj204tPpcDuErQ==
ARC-Authentication-Results: i=1; rspamd-55978756d7-ntsk9;
auth=pass smtp.auth=dreamhost smtp.mailfrom=list1@tompassin.net
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|tpassin@tompassin.net
X-MailChannels-Auth-Id: dreamhost
X-Thoughtful-Trade: 49baaf265716f0ef_1674670884187_38089836
X-MC-Loop-Signature: 1674670884186:3771616099
X-MC-Ingress-Time: 1674670884186
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tompassin.net;
s=dreamhost; t=1674670883;
bh=e8FPv8pO7g76GgA3XKs1Pu56qgJgmco3sSSkbLCKs9E=;
h=Date:Subject:To:From:Content-Type:Content-Transfer-Encoding;
b=CHgqYomzcSxzNG9Bi48rehw6wy+G7fc4S+dIwD4nRWMjFGnu2IaXc5l2bpl7PmDdc
V4Rgletx9+bwqemYNAiMKxSpxFacFLe0SOba8SQf5jnvKpRiY8ZFXE+eo24/8oP9W5
opY3EjESoGMTrcXBJ0sVpCBSOVt7rhfQNGQVDZ/F5Y9igCmmK4wGTU2ZHUXJmUGV5E
vAl61blzyY6X2PDrEz6Rl1kBHpiwuo9Ow5OivtICNLWLudzKy2CICruVxi9fjvk2fq
NidaCIGZx9L8bNPc8t/oW+31s6canrxfTYLd7nEI9MpK132d5pQdcnrzT3KXhvHfxW
CzdRKjllhumWw==
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Content-Language: en-US
In-Reply-To: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
X-Mailman-Original-References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
 by: Thomas Passin - Wed, 25 Jan 2023 18:21 UTC

On 1/25/2023 10:53 AM, Dino wrote:
>
> Hello, I could use something like Apache ab in Python (
> https://httpd.apache.org/docs/2.4/programs/ab.html ).
>
> The reason why ab doesn't quite cut it for me is that I need to define a
> pool of HTTP requests and I want the tool to run those (as opposed to
> running the same request over and over again)
>
> Does such a marvel exist?
>
> Thinking about it, it doesn't necessarily need to be Python, but I guess
> I would have a chance to tweak things if it was.

I actually have a Python program that does exactly this. The intention
was to simulate a large number of independent users hitting a particular
web site as rapidly as possible, so see what the typical throughput is.
The program is somewhat specialized in the nature of the requests, but
the method is easy enough to implement.

The requests are composed from a pool of 300 pieces, and for each
request, four pieces are selected randomly with replacement and combined
to form the entire request. The idea here is to try to minimize caching,
so as to better assess the throughput for random queries.

The program runs a configurable number of threads. Each thread tries to
maintain an average query rate, but you have to throttle them to prevent
an exponential buildup of the request queue. If you run the program,
the server machine (usually the same as the querying machine) is likely
to get very hot - it's can be quite a stress test - and you want to
monitor the CPU temperatures just in case.

I can't share the actual code for copyright reasons, but the above
description should be helpful. The actual code is not very complicated
nor hard to develop.

I also have a version that uses async techniques instead of threads. To
give a feel for using a program like this, I think I can show the
'__main__' bit:

if __name__ == '__main__':
handleCmdLine()

# Warm up [redacted] in case it is not ready to get flooded with
queries
for n in range(WARMUP_REPS):
HTTPClient(HOST, setpath(), True)
asyncore.loop()

# Warmup done, reset hit counter
reps = 0

# And away we go ...
for n in range(NUMCLIENTS):
HTTPClient(HOST, setpath())

start = clock()
asyncore.loop(timeout=50)
now = clock()

sys.stderr.write('\n')
reps_per_sec = reps / (now - start)
print ('%0.1f hits/sec' % reps_per_sec)

There are also some polling-based systems available that do a similar
job. I don't remember the name of the one I tried a few years ago. It
ran a server to run the queries and reported the results via your browser.

Re: HTTP server benchmarking/load testing in Python

<mailman.1611.1674673569.20444.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21316&group=comp.lang.python#21316

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!lilly.ping.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: orz...@fastmail.com (orzodk)
Newsgroups: comp.lang.python
Subject: Re: HTTP server benchmarking/load testing in Python
Date: Wed, 25 Jan 2023 11:33:38 -0700
Lines: 22
Message-ID: <mailman.1611.1674673569.20444.python-list@python.org>
References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<m2edriihvh.fsf@ioa48nv.localdomain>
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: news.uni-berlin.de yzDoGXCxvaJ6iqEvmzoz+QpPEoXLJxwf2MkLlG2fJUsQ==
Return-Path: <orzodk@fastmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=fastmail.com header.i=@fastmail.com header.b=iudXcJU1;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.050
X-Spam-Evidence: '*H*': 0.90; '*S*': 0.00; 'http': 0.07; 'cc:addr
:python-list': 0.09; 'writes:': 0.09; 'subject:Python': 0.12;
'cc:no real name:2**0': 0.14; 'from:addr:fastmail.com': 0.16;
'pool': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16;
'received:internal': 0.16; 'received:messagingengine.com': 0.16;
'python': 0.16; 'cc:addr:python.org': 0.20; 'run': 0.23;
'python,': 0.25; 'cc:2**0': 0.25; 'thinking': 0.28; 'requests':
0.28; 'it,': 0.29; 'header:User-Agent:1': 0.30; 'url-ip:188/8':
0.31; "doesn't": 0.32; '(as': 0.32; 'guess': 0.32; 'but': 0.32;
'same': 0.34; 'header:In-Reply-To:1': 0.34; 'running': 0.34;
'received:66': 0.35; 'request': 0.35; 'those': 0.36;
'necessarily': 0.37; 'could': 0.38; 'thanks': 0.38; 'quite': 0.39;
'use': 0.39; 'define': 0.40; 'something': 0.40; 'hello,': 0.40;
'want': 0.40; 'url:4': 0.64; 'tool': 0.65; 'chance': 0.71;
'success': 0.73; 'subject:load': 0.84; 'url:ab': 0.84;
'url:programs': 0.84; 'was.': 0.84; 'cut': 0.95
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h=
cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to
:message-id:mime-version:references:reply-to:sender:subject
:subject:to:to; s=fm3; t=1674671622; x=1674758022; bh=TNcUVs2XU7
9k2KslrckCvOZ+NjlcUmJ0FdRQhMi21g0=; b=iudXcJU1pY9bCFgQP6cf9anl8N
YyLt0N/ip44qFYd5SSuwReiB080wQyOsx1GoJkVxKnQzwJdb/7U7TnN9GPxvD2Ku
TJs7Rapubz/dyNKlHV8XB1ZXR9FlS0X/awGcl0Grv+723e7rrIwCs4H3pV+xg8cH
4NzaZM32zVA8DikOHuJuA3WdXq+mEhNVjR8sJ0HISLJORzqyFvXGTP0OFHM7xBxp
Rr324lC3wiC+54+jl0VvbxId5Qv1789+qtv5BqYoKV2UPW9w6Xbt73LJxLooc2om
BHvq7OYodXiyKrLa+QAnTdnrb+pk5qE8bwIj0VA0lWORhXhmrX0av6cbGNSw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
messagingengine.com; h=cc:cc:content-type:date:date:feedback-id
:feedback-id:from:from:in-reply-to:in-reply-to:message-id
:mime-version:references:reply-to:sender:subject:subject:to:to
:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=
fm3; t=1674671622; x=1674758022; bh=TNcUVs2XU79k2KslrckCvOZ+Njlc
UmJ0FdRQhMi21g0=; b=HhXUjX7QVOGgEfHZHVqalJHBOT7OxQrmJO+J389KaVFx
ZsOeZjxoS4IciBwhfnb06KLQITOtL+qcuRmvxrTyCTesa7Kx37SoSQNPeIfLVOKq
E/dFIKzdhlpKBHva0114Ik4+sG9NPvH106vnQkawp31eqRLiVPKWhPhmd1NYzAaj
V0Njcujv0v/wQfHlicrunFmE589jjQyAC/W5Sq8Jc3wzzCU4OI/AKSWn2pFLA4H4
OgbIZMe0Fwv+0cdD173qisWBNmGsdcK7o43VdizIys5wdQ7y73gqqxhEVxH7Dz+m
b1RLVVqbWIj2Q15U8bIckZwI4D+UVtJD+4/uo0hsFQ==
X-ME-Sender: <xms:BHbRY97fNyXnohNJcYKNn437tc5yij3LtqC6hBYXuU0ljqrN48F56w>
<xme:BHbRY67hiThcum2ll5xQSSUgQyVIZqrFJ3D0GGbTqaEm99cy8YOvUWVB82PM66770
2z9KzswRGF89QoHPuw>
X-ME-Received: <xmr:BHbRY0fDP9u9W4cI6DACq1xd9AFAtpGTG7If2_YllghemFP6JP7GfrlRxqSmz2SGog>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedruddvvddgudduhecutefuodetggdotefrod
ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvvefujghffffkfgggtgesth
dtredttdertdenucfhrhhomhepohhriihoughkuceoohhriihoughksehfrghsthhmrghi
lhdrtghomheqnecuggftrfgrthhtvghrnhepgeduveefgeekheehteelieejgefftdeile
duffejtdfgveduvdfhvddvvdetieevnecuffhomhgrihhnpegrphgrtghhvgdrohhrghdp
lhhotghushhtrdhiohenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih
hlfhhrohhmpehorhiiohgukhesfhgrshhtmhgrihhlrdgtohhm
X-ME-Proxy: <xmx:BHbRY2Jb73_aUthLdg9BXuWmNBygzpiSMcwjeGsGXvLuCkJmKq1j2Q>
<xmx:BHbRYxK5n_viE3ZUJbOUKjSxV593rxWFzPREtNUaNkaMJzjTyQr5hg>
<xmx:BHbRY_yUxlw6i6n78ezqphuZrV30Feh5uggcU5MyMW0N2oDbQwpIfQ>
<xmx:BnbRYzxiEVjs46QeB1Ma21wLFQ6GOiPV4eYlb0hiRCWHUHqY55chRQ>
Feedback-ID: ic149461b:Fastmail
In-Reply-To: <4gcAL.2393259$JNZ4.383220@fx12.ams4> (dino@no.spam.ar's message
of "Wed, 25 Jan 2023 10:53:34 -0500")
User-Agent: Gnus/5.13 (Gnus v5.13)
X-Mailman-Approved-At: Wed, 25 Jan 2023 14:06:08 -0500
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <m2edriihvh.fsf@ioa48nv.localdomain>
X-Mailman-Original-References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
 by: orzodk - Wed, 25 Jan 2023 18:33 UTC

Dino <dino@no.spam.ar> writes:

> Hello, I could use something like Apache ab in Python (
> https://httpd.apache.org/docs/2.4/programs/ab.html ).
>
> The reason why ab doesn't quite cut it for me is that I need to define
> a pool of HTTP requests and I want the tool to run those (as opposed
> to running the same request over and over again)
>
> Does such a marvel exist?
>
> Thinking about it, it doesn't necessarily need to be Python, but I
> guess I would have a chance to tweak things if it was.
>
> Thanks
>
> Dino

I have used locust with success in the past.

https://locust.io

Re: HTTP server benchmarking/load testing in Python

<4hgAL.2067293$nwq3.1326233@fx13.ams4>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21320&group=comp.lang.python#21320

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx13.ams4.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.7.0
Subject: Re: HTTP server benchmarking/load testing in Python
Newsgroups: comp.lang.python
References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<m2edriihvh.fsf@ioa48nv.localdomain>
<mailman.1611.1674673569.20444.python-list@python.org>
Content-Language: en-US
From: din...@no.spam.ar (Dino)
In-Reply-To: <mailman.1611.1674673569.20444.python-list@python.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 8
Message-ID: <4hgAL.2067293$nwq3.1326233@fx13.ams4>
X-Complaints-To: abuse@eweka.nl
NNTP-Posting-Date: Wed, 25 Jan 2023 20:27:44 UTC
Organization: Eweka Internet Services
Date: Wed, 25 Jan 2023 15:27:51 -0500
X-Received-Bytes: 1116
 by: Dino - Wed, 25 Jan 2023 20:27 UTC

On 1/25/2023 1:33 PM, orzodk wrote:
>
>
> I have used locust with success in the past.
>
> https://locust.io

First impression, exactly what I need. Thank you Orzo!

Re: HTTP server benchmarking/load testing in Python

<OigAL.2067294$nwq3.496751@fx13.ams4>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21321&group=comp.lang.python#21321

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.uzoreto.com!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx13.ams4.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.7.0
Subject: Re: HTTP server benchmarking/load testing in Python
Content-Language: en-US
Newsgroups: comp.lang.python
References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
From: din...@no.spam.ar (Dino)
In-Reply-To: <mailman.1609.1674671208.20444.python-list@python.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 10
Message-ID: <OigAL.2067294$nwq3.496751@fx13.ams4>
X-Complaints-To: abuse@eweka.nl
NNTP-Posting-Date: Wed, 25 Jan 2023 20:29:34 UTC
Organization: Eweka Internet Services
Date: Wed, 25 Jan 2023 15:29:41 -0500
X-Received-Bytes: 1225
 by: Dino - Wed, 25 Jan 2023 20:29 UTC

On 1/25/2023 1:21 PM, Thomas Passin wrote:
>
>
> I actually have a Python program that does exactly this.

Thank you, Thomas. I'll check out Locust, mentioned by Orzodk, as it
looks like a mature library that appears to do exactly what I was hoping.

Re: HTTP server benchmarking/load testing in Python

<mailman.1616.1674682270.20444.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21324&group=comp.lang.python#21324

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: lis...@tompassin.net (Thomas Passin)
Newsgroups: comp.lang.python
Subject: Re: HTTP server benchmarking/load testing in Python
Date: Wed, 25 Jan 2023 16:30:56 -0500
Lines: 12
Message-ID: <mailman.1616.1674682270.20444.python-list@python.org>
References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de vlK8Bigskf7WyvbyfsAmxQfOWGyPVA/FIGXH16jVVNPA==
Return-Path: <list1@tompassin.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=tompassin.net header.i=@tompassin.net header.b=k79fyLS+;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.024
X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'looks': 0.02;
'subject:Python': 0.12; '1:21': 0.16; 'received:10.0.0': 0.16;
'received:64.90': 0.16; 'received:64.90.62': 0.16;
'received:64.90.62.162': 0.16; 'received:dreamhost.com': 0.16;
'wrote:': 0.16; 'python': 0.16; 'pm,': 0.19; 'to:addr:python-
list': 0.20; 'library': 0.26; 'requests': 0.28; 'header:User-
Agent:1': 0.30; 'program': 0.31; 'great!': 0.32; 'received:10.0':
0.32; 'received:mailchannels.net': 0.32;
'received:relay.mailchannels.net': 0.32; "i'll": 0.33; 'server':
0.33; 'header:In-Reply-To:1': 0.34; 'this.': 0.37; 'mentioned':
0.39; 'appears': 0.40; 'potential': 0.60; 'forget': 0.67;
'header:Received:6': 0.67; 'received:64': 0.67; 'exactly': 0.68;
'subject:load': 0.84
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1674682258; a=rsa-sha256;
cv=none;
b=xDVk9J4ES/VOJNVSYV39JEQa0q0kUICiYlRbaox8siJatJHjrQ3Lx24ZGtgLIyX21GyHpK
GqFUHm7o/NNMuEmuNatPEh0bG1kO783PnFrIftT9yN9DmQfQM4lIwTmk1HuTk+486AlbGG
nbXzYcZhRM5MegqY2kLun0Mv+/8QE1kIrUfwDhAQ2pXkg7q+8KoRbThSBo8oWcN/Fz3LMY
B20lVFTUqCk+mvlvE4yWqrKAySnxbw5gootNf6rdG/pug5rVombNu3uFSFPt/y85gtpvXb
3PZqENlm/Z2W8SIi7XIiSN+MAOYTTmDoUIZfecWjNU/cLdB5u9T2gyBT7QjkKw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
d=mailchannels.net; s=arc-2022; t=1674682258;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references:dkim-signature;
bh=kEZaqn0REabxC9nRKNnJKBeVHcthNN5KEcHkPnXpp7U=;
b=0RzsheivI5ZBdfF/R5VQA1rr+guKpPRyf+/lzmuxWERljpWLNSISEOec+sC2pmIT5tdFik
3rRjLa+3kJh6ERd3S5dhvJgUc9SrzZvnDRgnD6kXLKEiFT9pN9rr8UFSMkuW4D2CyFu8+3
t3ZyoSsYquco5Ri+96GDkgDjjQEvyP7C6BMwvpo4mqr6rHOsC+BRuOwaiYBTVsaDk2fvAp
ZLjWGUuCg8wgbFeYA49mZ+tbDxgQiOD64unxODAZsgfwbE/qOoBQGhUr5r+T30qOsBu+fR
H//9u53O8fjGwUrzX/pEE28wRHw79mlyL1tSFtjVtRO/lj5uqUp5of/gSpn8Ig==
ARC-Authentication-Results: i=1; rspamd-6989874cc5-s8n4z;
auth=pass smtp.auth=dreamhost smtp.mailfrom=list1@tompassin.net
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|tpassin@tompassin.net
X-MailChannels-Auth-Id: dreamhost
X-Absorbed-Arithmetic: 4ff7665c3a20bf5d_1674682258933_705928782
X-MC-Loop-Signature: 1674682258933:1987035091
X-MC-Ingress-Time: 1674682258933
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tompassin.net;
s=dreamhost; t=1674682257;
bh=kEZaqn0REabxC9nRKNnJKBeVHcthNN5KEcHkPnXpp7U=;
h=Date:Subject:To:From:Content-Type:Content-Transfer-Encoding;
b=k79fyLS+wcijoy2vvCWbdo2+MupvdG/EL2VJMb2RTxv12eXnrlY5xLQxU8GXIoiOz
9vPeYDvtLjznjoEqVAfn8GbhONcaVzX044fIowlbsbOVDt/F3hanlsriQpQ5Yi+RyL
YAyFbCSYPARTbfshgHL3gPyIo9vAkGdP59JxKsMe49hnyIRXxoL9GC4DEdAy6BdcGW
kGl/AuizGvbwitkpgcmHK7Kyhj11/gzveXFakh+F6IbUXRLPYvL2cqIkNMN87NlKIq
rnrTZiDVREsNzR+uX4CtCxI2Z/VQL4wEUhv/8hf9mZq6IJkP52qkJnKC6T1Gvf2kJ5
fJvSXfhNEI95A==
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Content-Language: en-US
In-Reply-To: <OigAL.2067294$nwq3.496751@fx13.ams4>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
X-Mailman-Original-References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
 by: Thomas Passin - Wed, 25 Jan 2023 21:30 UTC

On 1/25/2023 3:29 PM, Dino wrote:
> On 1/25/2023 1:21 PM, Thomas Passin wrote:
>>
>>
>> I actually have a Python program that does exactly this.
>
> Thank you, Thomas. I'll check out Locust, mentioned by Orzodk, as it
> looks like a mature library that appears to do exactly what I was hoping.

Great! Don't forget what I said about potential overheating if you hit
the server with as many requests as it can handle.

Re: HTTP server benchmarking/load testing in Python

<mailman.1619.1674693517.20444.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21327&group=comp.lang.python#21327

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: hjp-pyt...@hjp.at (Peter J. Holzer)
Newsgroups: comp.lang.python
Subject: Re: HTTP server benchmarking/load testing in Python
Date: Thu, 26 Jan 2023 01:38:27 +0100
Lines: 42
Message-ID: <mailman.1619.1674693517.20444.python-list@python.org>
References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
protocol="application/pgp-signature"; boundary="rwuaxykk7juuvohn"
X-Trace: news.uni-berlin.de MVk4ZbZvDBNiBR5gj9BjCg9sHv68CmqtNHOJOK80xCcw==
Return-Path: <hjp-python@hjp.at>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.000
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'content-
type:multipart/signed': 0.05; 'hitting': 0.07; 'http': 0.07;
'content-type:application/pgp-signature': 0.09; 'filename:fname
piece:asc': 0.09; 'filename:fname piece:signature': 0.09;
'filename:fname:signature.asc': 0.09; 'subject:Python': 0.12;
'"creative': 0.16; '__/': 0.16; 'challenge!"': 0.16; 'from:addr
:hjp-python': 0.16; 'from:addr:hjp.at': 0.16; 'from:name:peter j.
holzer': 0.16; 'hjp@hjp.at': 0.16; 'holzer': 0.16; 'reality.':
0.16; 'stross,': 0.16; 'url-ip:212.17.106.137/32': 0.16; 'url-
ip:212.17.106/24': 0.16; 'url-ip:212.17/16': 0.16; 'url:hjp':
0.16; '|_|_)': 0.16; 'wrote:': 0.16; 'hardware': 0.19; 'to:addr
:python-list': 0.20; 'sense': 0.28; 'requests': 0.28; 'great!':
0.32; 'requests,': 0.32; 'server': 0.33; 'header:In-Reply-To:1':
0.34; 'put': 0.38; 'potential': 0.60; 'received:212': 0.62;
'received:userid': 0.66; 'forget': 0.67; 'url-ip:212/8': 0.69;
'received:at': 0.84; 'subject:load': 0.84
Mail-Followup-To: python-list@python.org
Content-Disposition: inline
In-Reply-To: <33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <20230126003827.bepnprceb26a4jb4@hjp.at>
X-Mailman-Original-References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
 by: Peter J. Holzer - Thu, 26 Jan 2023 00:38 UTC
Attachments: signature.asc (application/pgp-signature)

On 2023-01-25 16:30:56 -0500, Thomas Passin wrote:
> Great! Don't forget what I said about potential overheating if you
> hit the server with as many requests as it can handle.

Frankly, if you can overheat a server by hitting it with HTTP requests,
get better hardware and/or put it into a place with better airflow.

hp

--
_ | Peter J. Holzer | Story must make more sense than reality.
|_|_) | |
| | | hjp@hjp.at | -- Charles Stross, "Creative writing
__/ | http://www.hjp.at/ | challenge!"

Attachments: signature.asc (application/pgp-signature)
Re: HTTP server benchmarking/load testing in Python

<mailman.1621.1674695084.20444.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21329&group=comp.lang.python#21329

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: lis...@tompassin.net (Thomas Passin)
Newsgroups: comp.lang.python
Subject: Re: HTTP server benchmarking/load testing in Python
Date: Wed, 25 Jan 2023 20:04:32 -0500
Lines: 16
Message-ID: <mailman.1621.1674695084.20444.python-list@python.org>
References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
<44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de WGULeOL5kKQ/rg3w17HcbgTy669nFxzEy0C8z+Wfwjog==
Return-Path: <list1@tompassin.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=tompassin.net header.i=@tompassin.net header.b=UR6hvp8P;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.005
X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'cpu': 0.07; 'hitting':
0.07; 'http': 0.07; 'computing': 0.09; 'received:23.83.212': 0.09;
'received:elm.relay.mailchannels.net': 0.09; 'subject:Python':
0.12; 'grade': 0.16; 'heavy': 0.16; 'holzer': 0.16;
'received:10.0.0': 0.16; 'received:64.90': 0.16;
'received:64.90.62': 0.16; 'received:64.90.62.162': 0.16;
'received:dreamhost.com': 0.16; 'using.': 0.16; 'wrote:': 0.16;
'hardware': 0.19; 'pm,': 0.19; 'to:addr:python-list': 0.20;
'machine': 0.22; 'laptop': 0.23; 'done': 0.28; 'request.': 0.28;
'requests': 0.28; 'header:User-Agent:1': 0.30; 'great!': 0.32;
'received:10.0': 0.32; 'received:mailchannels.net': 0.32;
'received:relay.mailchannels.net': 0.32; 'requests,': 0.32; 'but':
0.32; 'server': 0.33; 'header:In-Reply-To:1': 0.34; 'running':
0.34; "it's": 0.37; 'put': 0.38; 'potential': 0.60; 'load': 0.62;
'well': 0.65; '100%': 0.66; 'consumer': 0.67; 'forget': 0.67;
'generally': 0.67; 'header:Received:6': 0.67; 'received:64': 0.67;
'per': 0.68; 'subject:load': 0.84
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1674695073; a=rsa-sha256;
cv=none;
b=6LB/VrSLdj3RxV+RYj1TCxuEu0+xZ6WGEtV/97nw73XSuEn4E9juUTeFf3QPdQ/imVeC+W
O3UzxM7sauQSho+44QRMe+c0+/oigG6UezDRl5Rax8H1jeO2oW7kQ7wiz+9rSr0cOWBKUU
LIdXjKUAW4ZoZF6mDnca4mCRnHZrTafT854lpTnhCr6zd8g0hmmziYZzvJJ04NnkCHs2bY
FOqsi5MU5vQyyBjcPZnzk7zXFkvVpBHf1lFeDUHRFm7rOxwQU9PcQgh/x/XgnwP8Q6TLkt
HDYhoXm7N1phZjUQcRwtt1L/cWApzyvQmnwHm0ue0/a6KyGkaRY3ryk1Porrdw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
d=mailchannels.net; s=arc-2022; t=1674695073;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references:dkim-signature;
bh=khcrvmlTgObuyM8dSD90/Rxqn3LrAs/ed1e4RZMWBm0=;
b=zrFd0XrGmzw2D8qurG7ChikAGjztmlM4h9Xzv3UxDjiBmFsopVHa9yrMQCNxejlp8QG80H
XhGB7vJ++fQegiHv3Y56W3567zzCPdYXd3khQYV78yOWcNi3YbGPwGIDrErMKASBpaI7Ei
agGg9B3NZGXluSE9fNv1Q10maPiFNVCHOoC5kzU7F+NYiQU7Pp9w6AfNT9VfcqiirfsHrk
WkPZupnP+8yaLNFsfIMhUDpNkdy2TevhrRdY1Uh8LcKveodfMth2x9aWFkqVaj7WgcC26Z
dPbET7GAeRe2OnihDs+ILPADStDJzxA5+PU+X4kGqRQZLg7w8OUDlFbzyhmqUg==
ARC-Authentication-Results: i=1; rspamd-65f5b7cf85-zlhgg;
auth=pass smtp.auth=dreamhost smtp.mailfrom=list1@tompassin.net
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|tpassin@tompassin.net
X-MailChannels-Auth-Id: dreamhost
X-Spill-Wipe: 694a1b2140076fde_1674695073907_2394225495
X-MC-Loop-Signature: 1674695073907:3637759017
X-MC-Ingress-Time: 1674695073907
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tompassin.net;
s=dreamhost; t=1674695073;
bh=khcrvmlTgObuyM8dSD90/Rxqn3LrAs/ed1e4RZMWBm0=;
h=Date:Subject:To:From:Content-Type:Content-Transfer-Encoding;
b=UR6hvp8P9hjdu26aoI2uVl7FKqDngyqRyIxbhXn2HFHCMA4jg+wvbltHmFPfEL9ci
kWqJVcSJgUTuqtJjQVSEN4ekuiUT3sPPR5EjYaqserL/UBjCxD/XE3vmt9HswABsDR
jioFrOqNqY9WvoxzVCd5ch3rFnU+4FKoA12Ap049pEi8gX29wimyREOtODFpGMQ3Bh
H+FCXomx2qEsxVno78T7057tyqUyYgZmBJfOVYSezgw+0+dH1v24j4pnopPkX9QYOj
3o8zoxOnbu5KMVQlOE6Zznk/ZVMUJ+0jzW+rp3I2u2LtaZGcVwb0gbYC03obf+6ayp
LZYClF23p3HbA==
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Content-Language: en-US
In-Reply-To: <20230126003827.bepnprceb26a4jb4@hjp.at>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
X-Mailman-Original-References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
 by: Thomas Passin - Thu, 26 Jan 2023 01:04 UTC

On 1/25/2023 7:38 PM, Peter J. Holzer wrote:
> On 2023-01-25 16:30:56 -0500, Thomas Passin wrote:
>> Great! Don't forget what I said about potential overheating if you
>> hit the server with as many requests as it can handle.
>
> Frankly, if you can overheat a server by hitting it with HTTP requests,
> get better hardware and/or put it into a place with better airflow.
>

Frankly, if you have a server-grade machine then well and good but if
you are running a nice quiet consumer grade laptop - my development
machine - you need to be careful. We don't know what hardware the OP is
using. And it's not servicing the requests per se that's the issue,
it's the heavy computing load that has to be done for each request. The
CPU is generally pegged at 100% for most or all of the test.

Re: HTTP server benchmarking/load testing in Python

<mailman.1622.1674696989.20444.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21330&group=comp.lang.python#21330

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: ros...@gmail.com (Chris Angelico)
Newsgroups: comp.lang.python
Subject: Re: HTTP server benchmarking/load testing in Python
Date: Thu, 26 Jan 2023 12:36:16 +1100
Lines: 27
Message-ID: <mailman.1622.1674696989.20444.python-list@python.org>
References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
<44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
<CAPTjJmpwnKz=WOz2u61nApPOESCifLPbc-OU2494jp+_pTfk_g@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de XaqzW/K/uAZ1UaVNj6GQLQsJEGCbbgGWb6TwgxPVs37w==
Return-Path: <rosuav@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=EefGO4go;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.010
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; '2023': 0.07; 'cpu': 0.07;
'hitting': 0.07; 'http': 0.07; 'computing': 0.09;
'subject:Python': 0.12; 'chrisa': 0.16; 'from:addr:rosuav': 0.16;
'from:name:chris angelico': 0.16; 'grade': 0.16; 'heavy': 0.16;
'holzer': 0.16; 'received:209.85.218': 0.16; 'using.': 0.16;
'wrote:': 0.16; 'hardware': 0.19; 'pm,': 0.19; 'thu,': 0.19;
'to:addr:python-list': 0.20; 'machine': 0.22; 'laptop': 0.23;
'done': 0.28; 'request.': 0.28; 'requests': 0.28; 'putting': 0.31;
'concerned': 0.32; 'great!': 0.32; 'requests,': 0.32; 'message-
id:@mail.gmail.com': 0.32; 'but': 0.32; "i'm": 0.33; 'server':
0.33; 'header:In-Reply-To:1': 0.34; 'received:google.com': 0.34;
'running': 0.34; 'from:addr:gmail.com': 0.35; 'request': 0.35;
"it's": 0.37; 'received:209.85': 0.37; 'means': 0.38; 'put': 0.38;
'received:209': 0.39; 'potential': 0.60; 'load': 0.62; "you'd":
0.64; 'well': 0.65; '100%': 0.66; 'consumer': 0.67; 'forget':
0.67; 'generally': 0.67; 'per': 0.68; 'subject:load': 0.84;
'worry': 0.95
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:from:to:cc:subject:date:message-id:reply-to;
bh=HUOL6PdTqAEbSNyrt/5YYwy9GJgk8fHTjZiqBNTBV28=;
b=EefGO4goVhhQzJfFJtg13YHCwn96PRoSCnKid/6InwAZ06NMjQuv5df2WYewLeIpYG
8hHIKbp6OQDMuPF3dENDLeKjEGzgaqI4DulrCunLG4FC6v+h7jUAXdSw4Qltd4vVtQYU
kcDZBMnzz5WQjpjIdgMKarTwUcjxnJRX7UdByvXFBFmmxxsZCgWP3pIMKBWZ/+WQt2KU
3HcBeThGpLXSnoCzuU6ToDDtWwspvzsOrI3hVANT6nY9l1hbt1fXNX5C5Sezg9a/PEKB
tOKvrT4t56bizzAZXvfYZggyOAYlngZcC+VSoRb53KZNZ0jbKWTe7VhRraDHUwTOfKzJ
9zDA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=HUOL6PdTqAEbSNyrt/5YYwy9GJgk8fHTjZiqBNTBV28=;
b=dr8OTlZoyZSKnYJld3N7ZQUyq0QydVjAHncgJAyDKUrkvf7Ezt3t0rbqhC+v44wLns
jX0IeYZ7wBoTN4xHzLurpBoXEekklnZFILjZhzVZ6W8GbBeiMXNq6MZyQx4zsyI4vnUY
+IzCflbdm6oIzRdc7eQCtWfZOJTWbuf1vfFWtWN34HeKl7GKPuJAohhH3F35FD4N69Y1
qQahB3QUkcPAaR1YgsXo+R3C4W/o90G+qF/qpoEvE0reWMQeG26N4SUhN3ja9yZh3dUY
75cyd+t/FYXNNrJoAVTEWniWzGP+dc3pRAyNQdU8N4y7vz9o/7xCjiDrw6WdhuL1Ixo6
RSfg==
X-Gm-Message-State: AFqh2krbCS3mqk44c2nHIWeupO7rwfTnnFldLUyAZCU+Yu8SmMuG0xJt
iYKZ89Y3fXHVFFNc2snD+h0Zn9CLnVSCQfnV3U2HoXjJ
X-Google-Smtp-Source: AMrXdXs0icDwugSvoN84DF6rXjMSJv9Om6OJq8187XGUz+9C6pvJkVobC4AcCFtnCSjbbV7XC4QpqaXgl1k4LBdvRtI=
X-Received: by 2002:a17:906:a0c3:b0:870:5b77:507c with SMTP id
bh3-20020a170906a0c300b008705b77507cmr5354759ejb.28.1674696987479; Wed, 25
Jan 2023 17:36:27 -0800 (PST)
In-Reply-To: <44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAPTjJmpwnKz=WOz2u61nApPOESCifLPbc-OU2494jp+_pTfk_g@mail.gmail.com>
X-Mailman-Original-References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
<44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
 by: Chris Angelico - Thu, 26 Jan 2023 01:36 UTC

On Thu, 26 Jan 2023 at 12:06, Thomas Passin <list1@tompassin.net> wrote:
>
> On 1/25/2023 7:38 PM, Peter J. Holzer wrote:
> > On 2023-01-25 16:30:56 -0500, Thomas Passin wrote:
> >> Great! Don't forget what I said about potential overheating if you
> >> hit the server with as many requests as it can handle.
> >
> > Frankly, if you can overheat a server by hitting it with HTTP requests,
> > get better hardware and/or put it into a place with better airflow.
> >
>
> Frankly, if you have a server-grade machine then well and good but if
> you are running a nice quiet consumer grade laptop - my development
> machine - you need to be careful. We don't know what hardware the OP is
> using. And it's not servicing the requests per se that's the issue,
> it's the heavy computing load that has to be done for each request. The
> CPU is generally pegged at 100% for most or all of the test.

If you have to worry about thermals because of CPU load, then worry
about thermals because of CPU load. The HTTP request testing is
completely separate.

Load testing means putting a system under load. I'm not sure why you'd
be concerned about one specific possible consequence, rather than, I
dunno, just put the system under load and see how it performs?

ChrisA

Re: HTTP server benchmarking/load testing in Python

<mailman.1629.1674706900.20444.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21338&group=comp.lang.python#21338

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!news.mixmin.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: lis...@tompassin.net (Thomas Passin)
Newsgroups: comp.lang.python
Subject: Re: HTTP server benchmarking/load testing in Python
Date: Wed, 25 Jan 2023 23:02:33 -0500
Lines: 44
Message-ID: <mailman.1629.1674706900.20444.python-list@python.org>
References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
<44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
<CAPTjJmpwnKz=WOz2u61nApPOESCifLPbc-OU2494jp+_pTfk_g@mail.gmail.com>
<7a71a40a-19d5-3f33-a50c-4919d4c7e111@tompassin.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de DABq2XbKAyZJkuIZ5DcYVwSITTKGIDYFa7Ay+zEfZ/4Q==
Return-Path: <list1@tompassin.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=tompassin.net header.i=@tompassin.net header.b=kAz9M8i3;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.002
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'laptop.': 0.05; '2023':
0.07; 'cpu': 0.07; 'hitting': 0.07; 'http': 0.07; '"just': 0.09;
'8:36': 0.09; 'angelico': 0.09; 'computing': 0.09;
'received:23.83.212': 0.09; 'received:elm.relay.mailchannels.net':
0.09; 'subject:Python': 0.12; '>>>>': 0.16; 'generated.': 0.16;
'grade': 0.16; 'heavy': 0.16; 'holzer': 0.16; 'intent': 0.16;
'knees': 0.16; 'protecting': 0.16; 'queries.': 0.16;
'received:10.0.0': 0.16; 'received:23.83.212.17': 0.16;
'received:64.90': 0.16; 'received:64.90.62': 0.16;
'received:64.90.62.162': 0.16;
'received:bird.elm.relay.mailchannels.net': 0.16;
'received:dreamhost.com': 0.16; 'server,': 0.16; 'using.': 0.16;
'wrote:': 0.16; 'probably': 0.17; 'hardware': 0.19; 'pm,': 0.19;
'thu,': 0.19; 'to:addr:python-list': 0.20; 'machine': 0.22;
'laptop': 0.23; 'done': 0.28; '>>>': 0.28; 'chris': 0.28;
'request.': 0.28; 'requests': 0.28; 'header:User-Agent:1': 0.30;
'takes': 0.31; 'putting': 0.31; 'concerned': 0.32; 'great!': 0.32;
'received:10.0': 0.32; 'received:mailchannels.net': 0.32;
'received:relay.mailchannels.net': 0.32; 'requests,': 0.32;
"wouldn't": 0.32; 'but': 0.32; "i'm": 0.33; 'particular': 0.33;
'server': 0.33; "didn't": 0.34; 'header:In-Reply-To:1': 0.34;
'running': 0.34; 'question.': 0.35; 'request': 0.35; "it's": 0.37;
'way': 0.38; 'means': 0.38; 'put': 0.38; 'finding': 0.39;
'potential': 0.60; 'load': 0.62; 'great': 0.63; "you'd": 0.64;
'service': 0.64; 'independent': 0.65; 'well': 0.65; '100%': 0.66;
'consumer': 0.67; 'forget': 0.67; 'generally': 0.67; 'maximum':
0.67; 'header:Received:6': 0.67; 'received:64': 0.67; 'per': 0.68;
'exactly': 0.68; 'processing,': 0.69; 'care': 0.71; 'queries':
0.81; 'happens': 0.84; 'heat': 0.84; 'subject:load': 0.84;
'worry': 0.95
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1674705755; a=rsa-sha256;
cv=none;
b=E2gvT+a5zZ8x3A+etVt1VTKyVW4m57IhP0bKG/9gOptMBYaIsL3tig6ky8GYopyuSrFb4c
YxfRKnyKuCDZetisFBbuNuKm3zwDZOQlQzGVk+DtzTMQGznAgRCF2ESTP9RmRPnhs0zglq
DW+oRrX6F+v5hsOtlHzUl3pf7PgMPYzC1fdSHIg9VQM/YmprxsYJfIcdtTWHPpnyFOO75D
Tm81dRgBURBj/Nqu3Kvq5yq1IHkpBgOSVw59EG+JeId0UrSeZHBAI+VHSUFuo4gvxSWhv2
UQDLVOEl8UNYgnZ7ZbBcmVBItvqhN/zLYCGsST3HJ5wCsYVpkmS7fkKuqGU7LQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
d=mailchannels.net; s=arc-2022; t=1674705755;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references:dkim-signature;
bh=+i3cqaCX9lnRyBToy23fj12CPxcaxkn9o3XrZ6oprwE=;
b=oldrO9Loo64iBOwc0hl66uOlVazXIZEvWtCx2T57Ag/zxLBoh4mlD7hn5KyO/C7JG7xTa5
7JD9Xol3Ilggb0J1XBfQb/0Ra/GRbDgDiu1qACIP2UZfNOyD3VBY4qm6sod7yV38Ic2tDA
TUvPFy3QkbfPqy99Bi4n5uE9C/SVrQPWKxiV8WSoVc+SDFStydrgmtkwCeWSQaPpY45sDB
/y9Xn0RI+0CJLsJoNzLTkyvrzu4/XTVzFvQfcJxlTYNX3Iat84yw0HQgCAj3auLmnyGNLf
nmZd75CL2oWYtdcqQcGJKG5LIBvguLlqTHtAs/mJklZKCVvHrGsXpuXL0GnuMA==
ARC-Authentication-Results: i=1; rspamd-6989874cc5-n2df6;
auth=pass smtp.auth=dreamhost smtp.mailfrom=list1@tompassin.net
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|tpassin@tompassin.net
X-MailChannels-Auth-Id: dreamhost
X-Tart-Tank: 04a2ab613634da06_1674705755213_697360564
X-MC-Loop-Signature: 1674705755213:1706091884
X-MC-Ingress-Time: 1674705755213
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tompassin.net;
s=dreamhost; t=1674705754;
bh=+i3cqaCX9lnRyBToy23fj12CPxcaxkn9o3XrZ6oprwE=;
h=Date:Subject:To:From:Content-Type:Content-Transfer-Encoding;
b=kAz9M8i3yakUb/q6Q8FAL8DERctIpwfpUZ2uqlPCbAaMkZUQA/plApZ04z9aUEoHZ
2S7AYlr9NQLpWf364Mvw5RB1UqjhFx22zdxk1XpugNBNB3+eI+3+/PEQWAnD4v6dTF
PtvQTWN4M5NAy6uLamo/Hh5XG9skgIE8bhBQ1UA7g1bD5LsdBSUMNasZ3qsZBSJ3hk
Ha8eRHQ4SA3NarR8L7/rbtkTPRwP1qWauXyII98MHxH626DGFJ6uRrpulAcrmzkQfR
u1JB7w9mDVEd7RIkLEZDFBHyC3rx+IQYW98UV6ZP2WWMVw9PrIFeo953MrbIZacYkG
yp555+pZIA/Hw==
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Content-Language: en-US
In-Reply-To: <CAPTjJmpwnKz=WOz2u61nApPOESCifLPbc-OU2494jp+_pTfk_g@mail.gmail.com>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <7a71a40a-19d5-3f33-a50c-4919d4c7e111@tompassin.net>
X-Mailman-Original-References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
<44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
<CAPTjJmpwnKz=WOz2u61nApPOESCifLPbc-OU2494jp+_pTfk_g@mail.gmail.com>
 by: Thomas Passin - Thu, 26 Jan 2023 04:02 UTC

On 1/25/2023 8:36 PM, Chris Angelico wrote:
> On Thu, 26 Jan 2023 at 12:06, Thomas Passin <list1@tompassin.net> wrote:
>>
>> On 1/25/2023 7:38 PM, Peter J. Holzer wrote:
>>> On 2023-01-25 16:30:56 -0500, Thomas Passin wrote:
>>>> Great! Don't forget what I said about potential overheating if you
>>>> hit the server with as many requests as it can handle.
>>>
>>> Frankly, if you can overheat a server by hitting it with HTTP requests,
>>> get better hardware and/or put it into a place with better airflow.
>>>
>>
>> Frankly, if you have a server-grade machine then well and good but if
>> you are running a nice quiet consumer grade laptop - my development
>> machine - you need to be careful. We don't know what hardware the OP is
>> using. And it's not servicing the requests per se that's the issue,
>> it's the heavy computing load that has to be done for each request. The
>> CPU is generally pegged at 100% for most or all of the test.
>
> If you have to worry about thermals because of CPU load, then worry
> about thermals because of CPU load. The HTTP request testing is
> completely separate.
>
> Load testing means putting a system under load. I'm not sure why you'd
> be concerned about one specific possible consequence, rather than, I
> dunno, just put the system under load and see how it performs?

This is not that hard, folks! I needed to know the throughput of this
system if it were hit with a great many queries at once, as if it were a
busy help desk, for instance. The intent is not to bring the server to
its knees as a load test for the server, it's to measure the maximum
throughput for independent queries. It happens that each query takes a
lot of processing, so the system is not IO bound, it's CPU bound. The
result is a large CPU load and a large amount of heat generated.

"just put the system under load and see how it performs" This is exactly
what was happening, but not in the service of stressing the computer,
but in finding the throughput for this particular Tomcat app with
representative queries. As a byproduct, I noticed very high CPU
temperatures, which probably wouldn't have occurred in a datacenter
server with much better cooling. I didn't care about that except for
protecting my own laptop.

And this is way OT for the OP's question.

Re: HTTP server benchmarking/load testing in Python

<XenAL.2925609$SIb3.221055@fx05.ams4>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21339&group=comp.lang.python#21339

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.nntp4.net!news.gegeweb.eu!gegeweb.org!usenet-fr.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!193.141.40.65.MISMATCH!npeer.as286.net!npeer-ng0.as286.net!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx05.ams4.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Subject: Re: HTTP server benchmarking/load testing in Python
Content-Language: en-US
Newsgroups: comp.lang.python
References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<m2edriihvh.fsf@ioa48nv.localdomain>
<mailman.1611.1674673569.20444.python-list@python.org>
<4hgAL.2067293$nwq3.1326233@fx13.ams4>
From: din...@no.spam.ar (Dino)
In-Reply-To: <4hgAL.2067293$nwq3.1326233@fx13.ams4>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 11
Message-ID: <XenAL.2925609$SIb3.221055@fx05.ams4>
X-Complaints-To: abuse@eweka.nl
NNTP-Posting-Date: Thu, 26 Jan 2023 04:23:19 UTC
Organization: Eweka Internet Services
Date: Wed, 25 Jan 2023 23:23:17 -0500
X-Received-Bytes: 1272
 by: Dino - Thu, 26 Jan 2023 04:23 UTC

On 1/25/2023 3:27 PM, Dino wrote:
> On 1/25/2023 1:33 PM, orzodk wrote:
>>
>> I have used locust with success in the past.
>>
>> https://locust.io
>
> First impression, exactly what I need. Thank you Orzo!

the more I learn about Locust and I tinker with it, the more I love it.
Thanks again.

Re: HTTP server benchmarking/load testing in Python

<0jvAL.2089656$odm4.145135@fx14.ams4>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21347&group=comp.lang.python#21347

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx14.ams4.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Subject: Re: HTTP server benchmarking/load testing in Python
Content-Language: en-US
Newsgroups: comp.lang.python
References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<mailman.1616.1674682270.20444.python-list@python.org>
From: din...@no.spam.ar (Dino)
In-Reply-To: <mailman.1616.1674682270.20444.python-list@python.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 10
Message-ID: <0jvAL.2089656$odm4.145135@fx14.ams4>
X-Complaints-To: abuse@eweka.nl
NNTP-Posting-Date: Thu, 26 Jan 2023 13:33:48 UTC
Organization: Eweka Internet Services
Date: Thu, 26 Jan 2023 08:33:45 -0500
X-Received-Bytes: 1350
 by: Dino - Thu, 26 Jan 2023 13:33 UTC

On 1/25/2023 4:30 PM, Thomas Passin wrote:
> On 1/25/2023 3:29 PM, Dino wrote:
> Great!  Don't forget what I said about potential overheating if you hit
> the server with as many requests as it can handle.

Noted. Thank you.

Re: HTTP server benchmarking/load testing in Python

<mailman.1636.1674742018.20444.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21348&group=comp.lang.python#21348

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: lis...@tompassin.net (Thomas Passin)
Newsgroups: comp.lang.python
Subject: Re: HTTP server benchmarking/load testing in Python
Date: Thu, 26 Jan 2023 09:06:51 -0500
Lines: 16
Message-ID: <mailman.1636.1674742018.20444.python-list@python.org>
References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<m2edriihvh.fsf@ioa48nv.localdomain>
<mailman.1611.1674673569.20444.python-list@python.org>
<4hgAL.2067293$nwq3.1326233@fx13.ams4> <XenAL.2925609$SIb3.221055@fx05.ams4>
<7df12b26-aa2d-5c42-0183-e0f44d734763@tompassin.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de V1RWC4hwQsM9EtWrPFmZPgRl8BBAmwQQpwkv23rYXhog==
Return-Path: <list1@tompassin.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=tompassin.net header.i=@tompassin.net header.b=GkCAHv2D;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.131
X-Spam-Level: *
X-Spam-Evidence: '*H*': 0.74; '*S*': 0.01; 'subject:Python': 0.12;
'received:10.0.0': 0.16; 'received:64.90': 0.16;
'received:64.90.62': 0.16; 'received:64.90.62.162': 0.16;
'received:dreamhost.com': 0.16; 'wrote:': 0.16; 'pm,': 0.19;
'to:addr:python-list': 0.20; 'tried': 0.26; '>>>': 0.28; 'it,':
0.29; 'header:User-Agent:1': 0.30; 'url-ip:188/8': 0.31; 'think':
0.32; 'received:10.0': 0.32; 'received:mailchannels.net': 0.32;
'received:relay.mailchannels.net': 0.32; 'header:In-Reply-To:1':
0.34; 'trying': 0.35; 'thanks': 0.38; 'learn': 0.40; 'love': 0.62;
'days': 0.62; 'header:Received:6': 0.67; 'received:64': 0.67;
'exactly': 0.68; 'success': 0.73; 'out.': 0.80; 'need.': 0.84;
'subject:load': 0.84
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1674742012; a=rsa-sha256;
cv=none;
b=evcV9gq4U5d3BJ10jvQlYMnMlF+RTGKGBCLynXdVEOSCpa7RWVxFl4FervNyzPs1J0fyiQ
PRtvmx4RPF+sDGAp1hPRaSicx17V6iaBTt35Rt9E7Ukd3xyKhG8b2XFGMPfP+eeHt5dmqQ
ozEpHIOPKFreZRc+/+o/imfUBKZf+GU+XXVAasng6Npgbnk+CAzPYCfx2LWRfkcmKOiV4/
pxEkH2u/pnReeA82i85rSQ5k1GbrRRYQGl5+xoDjQZiSHophSncJA6SkElcYiNizzGjhYc
6PrmCQLW/giJR7JJCZP67vMxl4W6vAGX/aONLOjYUuu7EMS1R3XBfA8/O2RUZg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
d=mailchannels.net; s=arc-2022; t=1674742012;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references:dkim-signature;
bh=f2TvqnjQp+BqAH6Z4yjAi8kXHJNb/0ksjCnvt4qjwDI=;
b=v8RJUvpF5VQP50qiPGJBE7LkXJzv35stDOC4jT33/VdPiqYJ0PTB1qiNijHRKNXPOFOlQJ
ojbjLnMdBPHl0qlxRt2sIlFnyJuUM5qwjiGIimjpYHpEwkpTJqVP51kr5f8zWpM/Y8ap4W
ELrSNYKCc/6P+QAq1vP7X0cSEQ7NlYkOlNab3mDsI88DSmZVr2cNDL1oip2LkUk1EBopSM
UAv7D/hQCZy8cUxYVNqRrHtzc1igXjTps2ZAX8tlmzNKkedStypDra67SQ+641Df/YARLZ
/Ft3fl+SSfyusBuYjoovGUr/zr+eukNjPwq5s3HK6ThDzhqSqBBlRE6vx/sQ8Q==
ARC-Authentication-Results: i=1; rspamd-65f5b7cf85-m2zgw;
auth=pass smtp.auth=dreamhost smtp.mailfrom=list1@tompassin.net
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|tpassin@tompassin.net
X-MailChannels-Auth-Id: dreamhost
X-Squirrel-Oafish: 4aee55014184468a_1674742012699_3704091681
X-MC-Loop-Signature: 1674742012698:1420221965
X-MC-Ingress-Time: 1674742012698
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tompassin.net;
s=dreamhost; t=1674742012;
bh=f2TvqnjQp+BqAH6Z4yjAi8kXHJNb/0ksjCnvt4qjwDI=;
h=Date:Subject:To:From:Content-Type:Content-Transfer-Encoding;
b=GkCAHv2DvRP6SbJHrHVWoGA31NpSLwbQwVZ/JTcg9IDrZPMfTq5U0OPQy75kdEwAT
Q0eW72WQ1/AjrxZax10UbYWvX/uRfBnArPZQUUZjCbcITh0OtbFxsS7KfEgi9Waf9k
r8CtD1+2bYLeucQ/QJ8lcoRkkP+HSus96XXOcR9ijmYIeyJrf0t7ESSxn1cnn6cIAo
QVTC16pS56wRxjhAvcUyEOTFD+DtVYbpSoQZml7uH8S848eGHrovmjVjaq74mopZVF
WmwyQ2sHGLXpEdXu9yeYOEcdfUOcT7M2ht0pcXlROWoquk8NKLKeVfbP1qbIiRnhQF
AQQ4jGeZyrmYQ==
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Content-Language: en-US
In-Reply-To: <XenAL.2925609$SIb3.221055@fx05.ams4>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <7df12b26-aa2d-5c42-0183-e0f44d734763@tompassin.net>
X-Mailman-Original-References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<m2edriihvh.fsf@ioa48nv.localdomain>
<mailman.1611.1674673569.20444.python-list@python.org>
<4hgAL.2067293$nwq3.1326233@fx13.ams4> <XenAL.2925609$SIb3.221055@fx05.ams4>
 by: Thomas Passin - Thu, 26 Jan 2023 14:06 UTC

On 1/25/2023 11:23 PM, Dino wrote:
> On 1/25/2023 3:27 PM, Dino wrote:
>> On 1/25/2023 1:33 PM, orzodk wrote:
>>>
>>> I have used locust with success in the past.
>>>
>>> https://locust.io
>>
>> First impression, exactly what I need. Thank you Orzo!
>
> the more I learn about Locust and I tinker with it, the more I love it.
> Thanks again.

That's the one I was trying to remember! I think it was in in its early
days when I tried it out.

Re: HTTP server benchmarking/load testing in Python

<mailman.1639.1674748935.20444.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21352&group=comp.lang.python#21352

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: grant.b....@gmail.com (Grant Edwards)
Newsgroups: comp.lang.python
Subject: Re: HTTP server benchmarking/load testing in Python
Date: Thu, 26 Jan 2023 08:02:11 -0800 (PST)
Lines: 24
Message-ID: <mailman.1639.1674748935.20444.python-list@python.org>
References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
<44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
<63d2a403.050a0220.21432.10c7@mx.google.com>
X-Trace: news.uni-berlin.de DGnidCqYO58hKYZKDEecUAvEYF+35U1EOWgyjZkrwBow==
Return-Path: <grant.b.edwards@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=oNpPKeek;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.036
X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'hitting': 0.07; 'http':
0.07; 'computing': 0.09; 'subject:Python': 0.12;
'from:addr:grant.b.edwards': 0.16; 'from:name:grant edwards':
0.16; 'grade': 0.16; 'holzer': 0.16; 'wrote:': 0.16; 'grant':
0.17; 'hardware': 0.19; 'pm,': 0.19; 'to:addr:python-list': 0.20;
'machine': 0.22; 'laptop': 0.23; '>>>': 0.28; 'requests': 0.28;
'header:User-Agent:1': 0.30; 'great!': 0.32; 'requests,': 0.32;
'but': 0.32; 'server': 0.33; 'received:google.com': 0.34;
'running': 0.34; 'received:209.85.166': 0.35;
'from:addr:gmail.com': 0.35; 'received:209.85': 0.37; 'put': 0.38;
'received:209': 0.39; 'potential': 0.60; 'load': 0.62; 'your':
0.64; 'well': 0.65; 'consumer': 0.67; 'forget': 0.67;
'subject:load': 0.84; 'fan': 0.91; 'fixed.': 0.91
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=to:user-agent:references:subject:from:date:message-id:from:to:cc
:subject:date:message-id:reply-to;
bh=Y3xxiodPK2kvB1PdagToRmLzJ4/G5YjKlhOQwIwuUL4=;
b=oNpPKeekZXqwKkj/UQWa56vRWf9wz4x1P2BdLm/ZmNX7UDGe7x120fFAxt8Ve83E9W
/jj3Ud77NJ8d06ruDMiUmGGod96oXKRYcbT5MnKYr4Pdx/YpmZbtl9P5Mudy/p2WIdcs
3tpSMVyibWXK7+J0AnOrjUVsG6llMZBuqpbPtYr4QysKjSv8y3nWGRI96a4aGvoktQLI
NYgTXWldyeezXIwQmTi8h9zWqy8IdqQB8Mds357xw1zL+0zWU3fzQH1NrLVORLeGy25l
r5SOnq/MutoZGYzWNE5WINKSxbia0Jh4JGcstY2eBXRI1MvZzxq41mvCW9PBEIcBbqhL
lugQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=to:user-agent:references:subject:from:date:message-id
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=Y3xxiodPK2kvB1PdagToRmLzJ4/G5YjKlhOQwIwuUL4=;
b=K8F1QZrpWrjRusue8B548f452/sm5D23nP5xEGWnCaWkC+5IffBsn+FKS9Q4Wi0fQC
E3H9cbP6NPtnglbZIDGeKVQ9k0xXQk0KRP9pdJGfSRQ7Xv+kOWVSfxrUBTNOKYvQOHwm
xF7fDwrCGEiPZ1il1reJbwKttIMNTdL/Zp88Tvs7ICdnwDMUO+lPjfzuctrvioiCijc5
pJY4QX0uHZjTlWruPsme/ECFu2weoogckdPCmEtPnNwQoz+f3B3x2d6iyEoVvQ2V+poK
eE2AanbEWv3X8ZQxn4CMoMONAvclUbYH/wYXTJI9WlsmwOA0DqqkHhHEk7Q/o2AYc4LN
apug==
X-Gm-Message-State: AFqh2kote9xLdjd9yTYVRG6tu1/MSGg4d/jz6DFwTQOM+jsMXg294Srz
S965q6BTGV+UrzJQbkEM+Xy3McVwgu8=
X-Google-Smtp-Source: AMrXdXvB8hKWrJs7/xkR1V+MZ3LjiKq6GzxqMs/DyIpmmsDd30KMMymSCIlcO3IUeOdKlk/O69VNFw==
X-Received: by 2002:a05:6e02:1d09:b0:30d:c6b1:b5de with SMTP id
i9-20020a056e021d0900b0030dc6b1b5demr33458793ila.15.1674748932512;
Thu, 26 Jan 2023 08:02:12 -0800 (PST)
User-Agent: slrn/1.0.3 (Linux)
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <63d2a403.050a0220.21432.10c7@mx.google.com>
X-Mailman-Original-References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
<44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
 by: Grant Edwards - Thu, 26 Jan 2023 16:02 UTC

On 2023-01-26, Thomas Passin <list1@tompassin.net> wrote:
> On 1/25/2023 7:38 PM, Peter J. Holzer wrote:
>> On 2023-01-25 16:30:56 -0500, Thomas Passin wrote:
>>> Great! Don't forget what I said about potential overheating if you
>>> hit the server with as many requests as it can handle.
>>
>> Frankly, if you can overheat a server by hitting it with HTTP requests,
>> get better hardware and/or put it into a place with better airflow.
>>
>
> Frankly, if you have a server-grade machine then well and good but if
> you are running a nice quiet consumer grade laptop - my development
> machine - you need to be careful.

A properly designed laptop with a non-broken OS will not overheat
regardless of the computing load you throw at it. The fan might get
annoying loud, but if it overheats either your hardware or OS needs
to be fixed.

--
Grant

Re: HTTP server benchmarking/load testing in Python

<mailman.1641.1674749627.20444.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21354&group=comp.lang.python#21354

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: bscholln...@schollnick.net (Benjamin Schollnick)
Newsgroups: comp.lang.python
Subject: Re: HTTP server benchmarking/load testing in Python
Date: Thu, 26 Jan 2023 11:13:32 -0500
Lines: 42
Message-ID: <mailman.1641.1674749627.20444.python-list@python.org>
References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
<44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
<63d2a403.050a0220.21432.10c7@mx.google.com>
<8A5E292A-56AC-4203-AA97-09748059866E@schollnick.net>
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.400.51.1.1\))
Content-Type: text/plain;
charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de WNtys6pcaEraZ+lj2fMuOQbOFSj/pn0Nsql3sAXsElzA==
Return-Path: <bschollnick@schollnick.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="1024-bit key; unprotected key"
header.d=schollnick.net header.i=@schollnick.net header.b=HBm3YApJ;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.003
X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; '(which': 0.04; '26,':
0.07; 'cpu': 0.07; 'hitting': 0.07; 'http': 0.07; 'cc:addr:python-
list': 0.09; 'computing': 0.09; 'didn\xe2\x80\x99t': 0.09;
'subject:Python': 0.12; 'cc:no real name:2**0': 0.14; '>>>>':
0.16; 'assuming': 0.16; 'grade': 0.16; 'holzer': 0.16;
'protecting': 0.16; 'received:209.85.160.171': 0.16;
'received:apple': 0.16; 'received:mail-qt1-f171.google.com': 0.16;
'received:smtpclient.apple': 0.16; 'wrote:': 0.16; 'grant': 0.17;
'hardware': 0.19; 'pm,': 0.19; 'cc:addr:python.org': 0.20;
'machine': 0.22; 'laptop': 0.23; 'cc:2**0': 0.25; 'do,': 0.26;
'>>>': 0.28; 'thinking': 0.28; 'requests': 0.28; 'am,': 0.31;
'received:209.85.160': 0.31; 'cool': 0.32; 'great!': 0.32;
'requests,': 0.32; 'but': 0.32; 'server': 0.33; 'header:In-Reply-
To:1': 0.34; 'received:google.com': 0.34; 'running': 0.34;
'people': 0.36; 'received:209.85': 0.37; 'put': 0.38;
'received:209': 0.39; 'enough': 0.39; 'seeing': 0.39; 'potential':
0.60; 'skip:o 10': 0.61; '8bit%:20': 0.61; 'load': 0.62; 'your':
0.64; 'well': 0.65; 'consumer': 0.67; 'forget': 0.67;
'manufacturer': 0.69; 'attribute': 0.84; 'exactly.': 0.84;
'subject:load': 0.84; 'fan': 0.91; 'fixed.': 0.91
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=schollnick.net; s=schollnick;
h=references:to:cc:in-reply-to:date:subject:mime-version:message-id
:from:from:to:cc:subject:date:message-id:reply-to;
bh=IsXiVhjVxJlZR1z2P5/StzHAtRViIydPreHn2uchqMk=;
b=HBm3YApJLtfvHg95ImO/cc/aA9+IL3OFZj5lWn5i0wUioqX2Y02H6Wq3RI6542ktxs
Nt44W3si7PsOLe5um4O8nPxe3s7yAhDanfX5Yof6m0ZlJqK3mHjvEBdM32omR85Klapc
KVLkqE+Eoau9a4TYPEzArd90Jfzuu6lZ7BtD4=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=references:to:cc:in-reply-to:date:subject:mime-version:message-id
:from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=IsXiVhjVxJlZR1z2P5/StzHAtRViIydPreHn2uchqMk=;
b=tMKDGP1+tKxqXa0/12+avDAHfd2+hFRPDcbcF7XCMEZxsC2Kl3K8fkoEOzECwrxOB0
CM6igg5BQluYpjIMCIYSb+zSWtBzAlJQVvr3D36s+ceBvzhxa+XMMQXFFpH1cnsGPz0b
IhYCQwZptaJIe69ujgzF+qs19rW9NiGIfPF/XSMhwGIuRbVCnfP391igWdn6HTpkJ39+
fF2qAHXzXku0NR5UzzTKAEKmgq4tL01TQbi+B16EOajiKkRKYOH0taFkIy+YhWsip0Q1
qija0saOoRapE9yudNHj7PTKUYsXUMBWHHhDgGVDEv6e9BheC3Kh828/t1DxIDiG3JWe
ZE/w==
X-Gm-Message-State: AO0yUKVtv2r+V94ZnIszdpv7HZRvjW18YSovsksyIqGaJHaET31uKf4t
EuWH5cMMZAcfbIgldE3PyWKSBw==
X-Google-Smtp-Source: AK7set/caxMfkelZ8VUHSRL1HjlXSCVOZRoQmfnwFAIuivnAGEBMhLIzLDcyUqbUQBZ3rMcr1TG2cQ==
X-Received: by 2002:a05:622a:1206:b0:3b6:32f6:c14d with SMTP id
y6-20020a05622a120600b003b632f6c14dmr11760695qtx.29.1674749624327;
Thu, 26 Jan 2023 08:13:44 -0800 (PST)
In-Reply-To: <63d2a403.050a0220.21432.10c7@mx.google.com>
X-Mailer: Apple Mail (2.3731.400.51.1.1)
X-Content-Filtered-By: Mailman/MimeDel 2.1.39
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <8A5E292A-56AC-4203-AA97-09748059866E@schollnick.net>
X-Mailman-Original-References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
<44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
<63d2a403.050a0220.21432.10c7@mx.google.com>
 by: Benjamin Schollnick - Thu, 26 Jan 2023 16:13 UTC

> On Jan 26, 2023, at 11:02 AM, Grant Edwards <grant.b.edwards@gmail.com> wrote:
>
> On 2023-01-26, Thomas Passin <list1@tompassin.net> wrote:
>> On 1/25/2023 7:38 PM, Peter J. Holzer wrote:
>>> On 2023-01-25 16:30:56 -0500, Thomas Passin wrote:
>>>> Great! Don't forget what I said about potential overheating if you
>>>> hit the server with as many requests as it can handle.
>>>
>>> Frankly, if you can overheat a server by hitting it with HTTP requests,
>>> get better hardware and/or put it into a place with better airflow.
>>>
>>
>> Frankly, if you have a server-grade machine then well and good but if
>> you are running a nice quiet consumer grade laptop - my development
>> machine - you need to be careful.
>
> A properly designed laptop with a non-broken OS will not overheat
> regardless of the computing load you throw at it. The fan might get
> annoying loud, but if it overheats either your hardware or OS needs
> to be fixed.

Exactly.

But what he might be thinking about is Thermal Throttling, which I keep seeing people attribute
to overheating….

Overheating is not thermal throttling, it’s the OS and CPU protecting themselves from overheating.
Usually because the manufacturer didn’t add enough cooling to keep the system cool enough with a continuous load. (Which to be honest, almost no laptop designers do, because they assuming you are going to be having a spiky load instead…

- Benjamin

Re: HTTP server benchmarking/load testing in Python

<mailman.1643.1674750731.20444.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21356&group=comp.lang.python#21356

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: lis...@tompassin.net (Thomas Passin)
Newsgroups: comp.lang.python
Subject: Re: HTTP server benchmarking/load testing in Python
Date: Thu, 26 Jan 2023 11:32:02 -0500
Lines: 34
Message-ID: <mailman.1643.1674750731.20444.python-list@python.org>
References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
<44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
<63d2a403.050a0220.21432.10c7@mx.google.com>
<9de8830a-cc0e-6150-0127-839326783829@tompassin.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de FzacUVCIxOKOSungIEAL6Q4lclfrzhFyg/JKwFV69zBg==
Return-Path: <list1@tompassin.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=tompassin.net header.i=@tompassin.net header.b=VIm8T2ID;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.004
X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'issue.': 0.05; 'cpu':
0.07; 'hitting': 0.07; 'http': 0.07; 'anyway,': 0.09; 'computing':
0.09; 'theory': 0.09; 'subject:Python': 0.12; '>>>>': 0.16;
'gaming': 0.16; 'grade': 0.16; 'holzer': 0.16; 'laptops': 0.16;
'noise': 0.16; 'noisy': 0.16; 'received:10.0.0': 0.16;
'received:64.90': 0.16; 'received:64.90.62': 0.16;
'received:64.90.62.162': 0.16; 'received:dreamhost.com': 0.16;
'wrote:': 0.16; 'grant': 0.17; 'probably': 0.17; 'concern,': 0.19;
'hardware': 0.19; 'pm,': 0.19; 'to:addr:python-list': 0.20;
'machine': 0.22; "i've": 0.22; 'maybe': 0.22; 'laptop': 0.23;
'done': 0.28; '>>>': 0.28; 'requests': 0.28; 'header:User-
Agent:1': 0.30; 'am,': 0.31; 'program': 0.31; 'great!': 0.32;
'received:10.0': 0.32; 'received:mailchannels.net': 0.32;
'received:relay.mailchannels.net': 0.32; 'requests,': 0.32;
"wouldn't": 0.32; 'but': 0.32; 'server': 0.33; 'core': 0.34;
'header:In-Reply-To:1': 0.34; 'running': 0.34; 'fix': 0.36;
'people': 0.36; 'could': 0.38; 'put': 0.38; 'program.': 0.40;
'should': 0.40; 'potential': 0.60; 'load': 0.62; 'hear': 0.64;
'your': 0.64; 'well': 0.65; 'wish': 0.66; 'let': 0.66; 'consumer':
0.67; 'forget': 0.67; 'invest': 0.67; 'header:Received:6': 0.67;
'received:64': 0.67; 'from.': 0.84; 'subject:load': 0.84; 'fan':
0.91; 'fixed.': 0.91
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1674750725; a=rsa-sha256;
cv=none;
b=PfZeHGoYmsF5dS7rbAiSHGzSE9CL3L7b5r82clyNL78rGFN9KIk43TAnZcmZUfP4KEf+M4
Os8ijMPmzt2dG5qxZ8RoX3C0q4320h3B2EDDTe8WsaLU6cfBtDhE8PK6uU5wMW0i8qFomN
PXAzFUDCJlSSCPqU6zC6a0kMOkH2cGh/0uw+SaeTKACf2euJHNqni6I1wGelWBD2foxyip
21xIth45eVT8pk4tDebQg2cjoy3YtNnHnP6r4cbtiARuT75Z6vOWv+OrFeqzUl+/5uyAP9
24HunpLyelWA8UB6PFLxKINSET+P+2/sQufFeH9hl5+QVqYSLDzyd6pRaHFGNg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
d=mailchannels.net; s=arc-2022; t=1674750725;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references:dkim-signature;
bh=NtF16G0SxzkTTTNw0v3fsLq8Yuy+CuHfJ3vTGImWdbw=;
b=xVwZGLHVzapHqJ2nRcC5DyQs/lK0LJ5yzPzkBvypMN7FFz0ZOdLYWkplDgobIqSWVXxEw6
IdS+zIIetnWg5DciSucPNtcqXJFDTXyngB2Vlk6y2SSYTMmVgquytUYPq39YUS4QbC8A6P
K1n0dX5pkHN5nHe2YkMJFuUaNumk3PkkT+ZU+7dgsVsawMgU4fv5NaWYvV/9mJ4T/HkCmL
3xOCE39H/jZtSAZG8YU3Hjfkin3Ga3+VSJz3YnyJaVHY4NfB41R7Nns0qhQCD64nFOy8e8
5gNH/C1Jch50wIFuhhDrKTc9M5M00jaSoWUBqbYgb58ZjE6SDrACUVtrcpMT2Q==
ARC-Authentication-Results: i=1; rspamd-9476994bd-kbl4q;
auth=pass smtp.auth=dreamhost smtp.mailfrom=list1@tompassin.net
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|tpassin@tompassin.net
X-MailChannels-Auth-Id: dreamhost
X-Scare-Bubble: 3e4f6ff717d9cd5f_1674750725285_2921029284
X-MC-Loop-Signature: 1674750725285:3090900268
X-MC-Ingress-Time: 1674750725285
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tompassin.net;
s=dreamhost; t=1674750724;
bh=NtF16G0SxzkTTTNw0v3fsLq8Yuy+CuHfJ3vTGImWdbw=;
h=Date:Subject:To:From:Content-Type:Content-Transfer-Encoding;
b=VIm8T2IDCnY+AKmtleFBVDJqmlmmsKQwDgJaebhBKK39NaCt23OtM6hy02DEGrQZM
vPvbRKsR/QBHJCe+/Fbt+Upf6kpO1z9fEqw5GeOQuSbVNpTBA3PFLBFI7wrvz3QVuZ
nr4tDO6GyiNNL5LkZtXVHzdlAOmG6CbSmhN35Z6h5aM4C6SBqAbbUX5Ldu7+bMWNSx
cxKQYIefetn+s69eYRhNlkd5U+e2A5bFcosv9fObIVlHNvyTlx0/BCIM9at3s0wEd8
SEFE+GuVDmSdiiBiMHhPVvkbcxiwMu1BwMQtVXWheMpOyAcdG8bJk3JLUNzvBI5eOa
iku4jCx2wP0bQ==
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Content-Language: en-US
In-Reply-To: <63d2a403.050a0220.21432.10c7@mx.google.com>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <9de8830a-cc0e-6150-0127-839326783829@tompassin.net>
X-Mailman-Original-References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
<44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
<63d2a403.050a0220.21432.10c7@mx.google.com>
 by: Thomas Passin - Thu, 26 Jan 2023 16:32 UTC

On 1/26/2023 11:02 AM, Grant Edwards wrote:
> On 2023-01-26, Thomas Passin <list1@tompassin.net> wrote:
>> On 1/25/2023 7:38 PM, Peter J. Holzer wrote:
>>> On 2023-01-25 16:30:56 -0500, Thomas Passin wrote:
>>>> Great! Don't forget what I said about potential overheating if you
>>>> hit the server with as many requests as it can handle.
>>>
>>> Frankly, if you can overheat a server by hitting it with HTTP requests,
>>> get better hardware and/or put it into a place with better airflow.
>>>
>>
>> Frankly, if you have a server-grade machine then well and good but if
>> you are running a nice quiet consumer grade laptop - my development
>> machine - you need to be careful.
>
> A properly designed laptop with a non-broken OS will not overheat
> regardless of the computing load you throw at it. The fan might get
> annoying loud, but if it overheats either your hardware or OS needs
> to be fixed.

A nice theory but nothing to do with the real world. I've had a number
of laptops that overheat (or would, if I let test program continue)
running this test program. They have been different brands, different
CPUs, different levels of noisy fans. I don't know how I would find one
of your "properly designed laptops with a non-broken OS", or what could
be done to fix it. Maybe a high-end gaming machine... which I don't
wish to invest in or hear the fan noise from.

Anyway, the point was to warn other people - who probably also wouldn't
have a "properly designed laptop with a non-broken OS" - that they
should keep an eye on their CPU core temperatures. In my experience,
that's a real concern, whether or not it "should not" be an issue.

Re: HTTP server benchmarking/load testing in Python

<mailman.1645.1674751291.20444.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21358&group=comp.lang.python#21358

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: ros...@gmail.com (Chris Angelico)
Newsgroups: comp.lang.python
Subject: Re: HTTP server benchmarking/load testing in Python
Date: Fri, 27 Jan 2023 03:41:18 +1100
Lines: 23
Message-ID: <mailman.1645.1674751291.20444.python-list@python.org>
References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
<44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
<63d2a403.050a0220.21432.10c7@mx.google.com>
<9de8830a-cc0e-6150-0127-839326783829@tompassin.net>
<CAPTjJmp7=3QaZj8SBFKxUKPiZi5YeDjmPK8TmHm8PLrffAkQOQ@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de o/sHTYi8qQrlET5Qkr7qWgARX0QdocC4uPZKszkTiDiQ==
Return-Path: <rosuav@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=CZ0hrbVP;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.077
X-Spam-Evidence: '*H*': 0.85; '*S*': 0.00; 'laptop.': 0.05; '2023':
0.07; 'cpu': 0.07; "shouldn't": 0.09; 'theory': 0.09; 'though.':
0.09; 'subject:Python': 0.12; '"be': 0.16; 'annoyed': 0.16;
'chrisa': 0.16; 'crypto': 0.16; 'from:addr:rosuav': 0.16;
'from:name:chris angelico': 0.16; 'laptops': 0.16; 'wrote:': 0.16;
'reduce': 0.19; 'to:addr:python-list': 0.20; "i've": 0.22; 'fri,':
0.22; 'maybe': 0.22; 'way.': 0.22; "i'd": 0.24; 'saying': 0.25;
"isn't": 0.27; 'requests': 0.28; 'program': 0.31; 'message-
id:@mail.gmail.com': 0.32; 'unless': 0.32; 'but': 0.32; 'server':
0.33; 'able': 0.34; 'same': 0.34; 'header:In-Reply-To:1': 0.34;
'received:google.com': 0.34; 'running': 0.34; '"the': 0.35;
'from:addr:gmail.com': 0.35; 'change': 0.36; 'received:209.85':
0.37; 'though': 0.37; 'way': 0.38; 'could': 0.38; 'received:209':
0.39; 'received:209.85.208': 0.39; 'define': 0.40; 'program.':
0.40; 'should': 0.40; 'skip:h 10': 0.61; 'feel': 0.63; 'your':
0.64; 'let': 0.66; 'numbers': 0.67; 'nearly': 0.67; 'accept':
0.67; 'that,': 0.67; 'attached': 0.68; 'per': 0.68; 'varying':
0.69; 'began': 0.70; 'free': 0.72; 'damage': 0.80; 'absolutely':
0.84; 'heat': 0.84; 'subject:load': 0.84; 'surprised': 0.84;
'warning': 0.84; 'fan': 0.91; 'immediate': 0.97
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:from:to:cc:subject:date:message-id:reply-to;
bh=Et4310SOnCdXZhZRTx0Otu1PfWmnzNKAgiiRpQV/4CU=;
b=CZ0hrbVPqgvwQJEtTGLKkS4eSxjLdvoSj9VSx32cPMznAGeUIs118xfqUnXIPM8snF
cwq1hGS5ExwP1e1RyK0TITlBCO14zWQQsHaXerBvGmXr0Ff0O46ResQRjUYXmeI0/IdD
S16HOQqbbMzdT7/e6JfvngBgw/iRfWtmcU1gMFVYjJRplotdkT06PWxGWBx//5/vJr1S
iTgGCrVdGrywsgqPCmAopfJJsZLYo37Nq6DuLDgYAqQFht0gZveTMgDeaFmAogzoz0sb
GTl93FKUvJ9rQU/lk5xPpI2Pxyl6z7bgYBxwzghzI+9maMNKSUvcNQecE/yC81fSsfka
mXRA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=Et4310SOnCdXZhZRTx0Otu1PfWmnzNKAgiiRpQV/4CU=;
b=uyVk2Qd/x2i567z5ZUcLXQKsyKLelte4GI9G4YSVcWNtT/cqooesGAg6nU5snSLQC+
eIhiDmJrsXQg5epHdqi8FjCuaqwSFsyQK4iKIiFQS+kbwMcHFEJnhGRxkgr6daMk9rP9
jgyBSEsr44osKTKaogJd11Rqb6x73aLUP8+PzvX5ckFzPhPX8uOu2uB1Wl1pIcJp1g32
1Vxp5C6n15x5A7P2eskeh9fd2W34Z0xV/+9C+isRhOH4M/wXdrEQ3oUsBCNWhnCwtATD
lxBtajPBZ6X/3IUe049QYgW2kzrajFAU0Y+biqSGWfbGrTtre5LEML6+YQ1ilb/yUQF4
JF9A==
X-Gm-Message-State: AFqh2koVVC7pgizGjZzf4DqImDwEreEjrOSp8gzzNj3bFHZmCVQMV30F
H2O6a3bFG/O0x1d+u9KCWe77bq096T8KtvDNZLBBycw3
X-Google-Smtp-Source: AMrXdXujo0HiPds/hqY3lDgNHJJRqbwBsZLfagzTYwr1vi6OS6broTsGUelOQqUCzUqWbUbD83hQC4GB+P4U+NhOXk4=
X-Received: by 2002:aa7:cacb:0:b0:499:70a8:f914 with SMTP id
l11-20020aa7cacb000000b0049970a8f914mr6147946edt.23.1674751289355; Thu, 26
Jan 2023 08:41:29 -0800 (PST)
In-Reply-To: <9de8830a-cc0e-6150-0127-839326783829@tompassin.net>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAPTjJmp7=3QaZj8SBFKxUKPiZi5YeDjmPK8TmHm8PLrffAkQOQ@mail.gmail.com>
X-Mailman-Original-References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
<44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
<63d2a403.050a0220.21432.10c7@mx.google.com>
<9de8830a-cc0e-6150-0127-839326783829@tompassin.net>
 by: Chris Angelico - Thu, 26 Jan 2023 16:41 UTC

On Fri, 27 Jan 2023 at 03:34, Thomas Passin <list1@tompassin.net> wrote:
> A nice theory but nothing to do with the real world. I've had a number
> of laptops that overheat (or would, if I let test program continue)
> running this test program.

Define "overheat". If all you're saying is "the fan began to whine and
I got annoyed so I shut off the program", that is absolutely NOT
overheating. I would accept "the CPU thermally throttled to the point
where the test was non-indicative" as a form of overheating, though
then the warning should be "be aware that, if your web server is
CPU-limited, this test may result in hard-to-interpret numbers due to
requests per second varying with the change in CPU temperature", which
isn't nearly as punchy.

But unless you have a system where the heat sink isn't attached to the
CPU properly, I'd be very surprised if you were able to actually
damage your CPU this way. Maybe you could reduce the lifetime that way
(the same way that crypto mining can shorten the lifespan of a GPU),
but it shouldn't cause any sort of immediate damage. Even on a laptop.

Feel free to prove me wrong, though.

ChrisA

Re: HTTP server benchmarking/load testing in Python

<mailman.1646.1674753268.20444.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21360&group=comp.lang.python#21360

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: grant.b....@gmail.com (Grant Edwards)
Newsgroups: comp.lang.python
Subject: Re: HTTP server benchmarking/load testing in Python
Date: Thu, 26 Jan 2023 09:14:24 -0800 (PST)
Lines: 24
Message-ID: <mailman.1646.1674753268.20444.python-list@python.org>
References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
<44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
<63d2a403.050a0220.21432.10c7@mx.google.com>
<9de8830a-cc0e-6150-0127-839326783829@tompassin.net>
<63d2b4f0.050a0220.c9e0b.11a2@mx.google.com>
X-Trace: news.uni-berlin.de RC3inEj4pRpJPUAPbHudQgnDOP6jar/vl/cJtRnava6g==
Return-Path: <grant.b.edwards@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=RknNjYnJ;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.038
X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'cpu': 0.07; 'computing':
0.09; 'received:209.85.166.180': 0.09; 'theory': 0.09;
'subject:Python': 0.12; 'from:addr:grant.b.edwards': 0.16;
'from:name:grant edwards': 0.16; 'laptops': 0.16; 'wrote:': 0.16;
'grant': 0.17; 'hardware': 0.19; 'to:addr:python-list': 0.20;
"i've": 0.22; 'laptop': 0.23; 'header:User-Agent:1': 0.30; 'am,':
0.31; 'program': 0.31; 'but': 0.32; 'core': 0.34; 'mean': 0.34;
'received:google.com': 0.34; 'running': 0.34;
'received:209.85.166': 0.35; 'from:addr:gmail.com': 0.35;
'received:209.85': 0.37; 'received:209': 0.39; 'program.': 0.40;
'load': 0.62; 'down': 0.64; 'your': 0.64; 'let': 0.66; 'within':
0.69; 'subject:load': 0.84; 'fan': 0.91; 'fixed.': 0.91
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=to:user-agent:references:subject:from:date:message-id:from:to:cc
:subject:date:message-id:reply-to;
bh=+BOVvRko0tN/TY48TY7X/QKA5fUEICh23hGhVKh8mAg=;
b=RknNjYnJjCNbMLr1q3lXYvLnOms7ZfmM3zRkIDrLYAcObkVmwshlrSgRZ9seXrVnil
y6tNqwOpwT8t2Ji8ytnny6s2zWsksQ+9d6hjiCdYknRkfZNIhV+g00x3xJL8atf1oIH5
u1GWdhuAlXyd3mPBoM7SsAHCLgu7s6MwzSYzTWbFXdCwTCV9s3byaRT5r9RJZrr4L8Cg
+HPkgPa47UfoTZLYDW/6eppbZwyZ3iIvqhiUyQgnfv+Mqs2wfllKMOgeE17i+nb1ivX0
DdXeVDO5oD6ACI2ub+Hypc/Dc/h+MRio/q24kzvH/81McTFOj5lhjhfPEcDZ9WNCQbad
jUVA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=to:user-agent:references:subject:from:date:message-id
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=+BOVvRko0tN/TY48TY7X/QKA5fUEICh23hGhVKh8mAg=;
b=abx7urSA47p3fD1spjO6L56nL+ZyJzI028Mq/fYJKs/F3uQhZ41yn5tba1w2e2zHFc
N9Kdx4UAlgJdWRwpTo7A4cxcmGRhBWVtXKohSamvkrasYSL93AMzP9j3yWKta8g31Qju
hsu9yN9kelXRxMMUwLl5/dWEs4/enn0szN3CG3ZvhzPXJAgRG/vN764Nb15mL5nxyXKF
4zkNMaR/6GT1tBkWJSM5rmKbZdWiuQ849mSkot+qLSRFSejwnG0GlDL7Ou9pRlOzmPbE
JOSedp5qio5gdxD/aqvD/JOiyLf6Iymd7TibTP6iFE35BrqY7VvNzvIkGSQT7HN3Dkcv
l3jA==
X-Gm-Message-State: AO0yUKWmVAWjFVlHVuJwhAzDB9wMl6LG6g4L9nh363KaOn+8nhSmcMSJ
KH4MgmMd5Ybrx1LU+Wl3D3Io82QHeIk=
X-Google-Smtp-Source: AK7set++9bjTq/BunSlnKPmOzcBatQWoDIeA5uPtD5Bcz23tF3y9kAj6nbjxpcAB4vkL77kEpgBXDw==
X-Received: by 2002:a05:6e02:1a25:b0:310:a331:b020 with SMTP id
g5-20020a056e021a2500b00310a331b020mr5930405ile.27.1674753265427;
Thu, 26 Jan 2023 09:14:25 -0800 (PST)
User-Agent: slrn/1.0.3 (Linux)
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <63d2b4f0.050a0220.c9e0b.11a2@mx.google.com>
X-Mailman-Original-References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
<44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
<63d2a403.050a0220.21432.10c7@mx.google.com>
<9de8830a-cc0e-6150-0127-839326783829@tompassin.net>
 by: Grant Edwards - Thu, 26 Jan 2023 17:14 UTC

On 2023-01-26, Thomas Passin <list1@tompassin.net> wrote:
> On 1/26/2023 11:02 AM, Grant Edwards wrote:
>
>[...]
>
>> A properly designed laptop with a non-broken OS will not overheat
>> regardless of the computing load you throw at it. The fan might get
>> annoying loud, but if it overheats either your hardware or OS needs
>> to be fixed.
>
> A nice theory but nothing to do with the real world. I've had a number
> of laptops that overheat (or would, if I let test program continue)
> running this test program.

You mean they actually fail/crash?

Or they just throttle the fans up and the CPU down to keep the core
temperature within limits?

--
Grant

Re: HTTP server benchmarking/load testing in Python

<mailman.1648.1674754203.20444.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21362&group=comp.lang.python#21362

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: lis...@tompassin.net (Thomas Passin)
Newsgroups: comp.lang.python
Subject: Re: HTTP server benchmarking/load testing in Python
Date: Thu, 26 Jan 2023 12:29:50 -0500
Lines: 19
Message-ID: <mailman.1648.1674754203.20444.python-list@python.org>
References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
<44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
<63d2a403.050a0220.21432.10c7@mx.google.com>
<9de8830a-cc0e-6150-0127-839326783829@tompassin.net>
<CAPTjJmp7=3QaZj8SBFKxUKPiZi5YeDjmPK8TmHm8PLrffAkQOQ@mail.gmail.com>
<d64e9de9-b4ba-b082-163b-ba7331d494b2@tompassin.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de DXuaHDN8aDPRyOn7JoIdqQMP3Eaiy1eshTL/Bo5hkiKA==
Return-Path: <list1@tompassin.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=tompassin.net header.i=@tompassin.net header.b=Xd7QeeTx;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.066
X-Spam-Evidence: '*H*': 0.87; '*S*': 0.00; '2023': 0.07; 'cpu': 0.07;
'angelico': 0.09; 'received:23.83.212': 0.09;
'received:elm.relay.mailchannels.net': 0.09; 'theory': 0.09;
'subject:Python': 0.12; 'annoyed': 0.16; 'difference,': 0.16;
'laptops': 0.16; 'received:10.0.0': 0.16; 'received:64.90': 0.16;
'received:64.90.62': 0.16; 'received:64.90.62.162': 0.16;
'received:dreamhost.com': 0.16; 'utilities': 0.16; 'wrote:': 0.16;
'to:addr:python-list': 0.20; "i've": 0.22; 'fri,': 0.22; 'maybe':
0.22; 'saying': 0.25; 'chris': 0.28; 'header:User-Agent:1': 0.30;
'am,': 0.31; 'program': 0.31; 'received:10.0': 0.32;
'received:mailchannels.net': 0.32;
'received:relay.mailchannels.net': 0.32; "wouldn't": 0.32; 'but':
0.32; '100': 0.33; 'core': 0.34; 'header:In-Reply-To:1': 0.34;
'running': 0.34; '"the': 0.35; 'months': 0.35; 'define': 0.40;
'program.': 0.40; 'want': 0.40; 'including': 0.60; 'ten': 0.61;
'above': 0.62; 'let': 0.66; 'header:Received:6': 0.67;
'received:64': 0.67; 'pressure': 0.69; 'began': 0.70; 'risk':
0.71; 'low': 0.74; 'five': 0.75; 'oil': 0.81; 'absolutely': 0.84;
'car': 0.84; 'junction': 0.84; 'reducing': 0.84; 'subject:load':
0.84; 'temperatures': 0.84; 'warning': 0.84; 'fan': 0.91
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1674754191; a=rsa-sha256;
cv=none;
b=rNKALEAVVffyrRW47bZnsdpP7SJPN+gfKSG0iI8LyLbea5aqnyqz0CrgnnThE9EL3LLiq9
tay2rEq6Hzcs77uGStODRd+fm7Z1nQKQ62lBrLSrBdgqdau5p0CcsP03/XCtxpOVylcs/y
OrEg7V44QS6pArpGQLWLo3jRh1RBxlAb/uS9sNCKSFEv0xO5QARBycbetc/CEtXVg2bRQg
d+mGqwsnij3cUbaGLB3raxjlAH0Q9du93edvk3W4xJ35yHKAibqCK4MeYtVc8t8Hn3mK9Y
l8GWQmtNY/8NHO5YmifYKs0EJlu9xiDPaMAFIYOgMLL8J6h6AaA/aOT66enwGw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
d=mailchannels.net; s=arc-2022; t=1674754191;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references:dkim-signature;
bh=Hhg29m1/r1aZd5BKcluizgEaRcW4Xrt7vZ3pmGmsLms=;
b=3H/wgGqzl6FGP1PUvEg/5MN3ipcQDArteUumP3eWNtX/k+nRD6sdsQdjDKsvoWjMFYiH0i
5Xq22v5Uw/IJhaLKLYaNC3LKuhgoCTsvHbfRttom6Lex0rSdFplDSqfKuGXiXy+99D060g
oQi5JMWr1N3EIUbltGCH57+cBvY5tBDklVz45O+cY1v7MBz3j8VMlEeAK7RhQLxHdkIa03
AwC//Z+ox7PIdMgH38T6ml7ElPkAhymSmkHm1+owYci5+pkwtBaIOxlEulZR7VbftSGEOm
GJPn0ayr+2sE6wZCegZKJ+H+5TlQ+sCExoulsZ1YZ3FoOdwa3lPp0SgSU8ge6Q==
ARC-Authentication-Results: i=1; rspamd-9476994bd-bdpd7;
auth=pass smtp.auth=dreamhost smtp.mailfrom=list1@tompassin.net
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|tpassin@tompassin.net
X-MailChannels-Auth-Id: dreamhost
X-Arch-Blushing: 52f912a42f0d9502_1674754192181_858458124
X-MC-Loop-Signature: 1674754192181:3437136657
X-MC-Ingress-Time: 1674754192181
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tompassin.net;
s=dreamhost; t=1674754191;
bh=Hhg29m1/r1aZd5BKcluizgEaRcW4Xrt7vZ3pmGmsLms=;
h=Date:Subject:To:From:Content-Type:Content-Transfer-Encoding;
b=Xd7QeeTxHjHoH4AjJKwroavweHotG94m5/clnOubiFAF1nDW9UarQ6ks/ebUaVFt/
/SifJTUyf9lHmeqMZJNwY5TPintZtipeB/HUPh8waDeAlHyrhV/Y+RlBfXEJTerh5/
HwkEorKwSIZipZ2UHrQhK+jsNWy68or1C6xrNmw2S/39ISad59CkpkKAcQpRme7tvS
aCIhqgqQR6lN3t5SDxSe8pDTDay8PVJNr/23Imbieob26jtt8vbZwnnBoHH+2KZlxN
FFMAur/pi0FhRxbRnbs4sEHZRpHnR7UE6FPT33ryh48uRjyQzm6RWxlEmEMsuhhqWe
O78MVM3szq5/A==
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Content-Language: en-US
In-Reply-To: <CAPTjJmp7=3QaZj8SBFKxUKPiZi5YeDjmPK8TmHm8PLrffAkQOQ@mail.gmail.com>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <d64e9de9-b4ba-b082-163b-ba7331d494b2@tompassin.net>
X-Mailman-Original-References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
<44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
<63d2a403.050a0220.21432.10c7@mx.google.com>
<9de8830a-cc0e-6150-0127-839326783829@tompassin.net>
<CAPTjJmp7=3QaZj8SBFKxUKPiZi5YeDjmPK8TmHm8PLrffAkQOQ@mail.gmail.com>
 by: Thomas Passin - Thu, 26 Jan 2023 17:29 UTC

On 1/26/2023 11:41 AM, Chris Angelico wrote:
> On Fri, 27 Jan 2023 at 03:34, Thomas Passin <list1@tompassin.net> wrote:
>> A nice theory but nothing to do with the real world. I've had a number
>> of laptops that overheat (or would, if I let test program continue)
>> running this test program.
>
> Define "overheat". If all you're saying is "the fan began to whine and
> I got annoyed so I shut off the program", that is absolutely NOT
> overheating.

CPU core temperatures up to 95 deg C and rising rapidly, as reported by
a number of utilities including NZXT and CoreTemp. Max junction
temperature is given as 100 deg C, and I don't want to risk reducing the
lifetime of my CPU.

Maybe five or ten minutes at or above 100 deg C every few months might
not make a noticeable lifetime difference, who knows? I don't want to
make a habit of it. I wouldn't drive my car very long with a low oil
pressure warning active, either.

Re: HTTP server benchmarking/load testing in Python

<throttling-20230126194436@ram.dialup.fu-berlin.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21363&group=comp.lang.python#21363

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: ram...@zedat.fu-berlin.de (Stefan Ram)
Newsgroups: comp.lang.python
Subject: Re: HTTP server benchmarking/load testing in Python
Date: 26 Jan 2023 18:46:28 GMT
Organization: Stefan Ram
Lines: 12
Expires: 1 Jan 2024 11:59:58 GMT
Message-ID: <throttling-20230126194436@ram.dialup.fu-berlin.de>
References: <4gcAL.2393259$JNZ4.383220@fx12.ams4> <e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net> <mailman.1609.1674671208.20444.python-list@python.org> <OigAL.2067294$nwq3.496751@fx13.ams4> <33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net> <20230126003827.bepnprceb26a4jb4@hjp.at> <44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net> <63d2a403.050a0220.21432.10c7@mx.google.com> <9de8830a-cc0e-6150-0127-839326783829@tompassin.net> <63d2b4f0.050a0220.c9e0b.11a2@mx.google.com> <mailman.1646.1674753268.20444.python-list@python.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de suxegHczlDzTOErz5RmiuQDYF+DiDeF7sl577VEB7RvdlU
X-Copyright: (C) Copyright 2023 Stefan Ram. All rights reserved.
Distribution through any means other than regular usenet
channels is forbidden. It is forbidden to publish this
article in the Web, to change URIs of this article into links,
and to transfer the body without this notice, but quotations
of parts in other Usenet posts are allowed.
X-No-Archive: Yes
Archive: no
X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some
services to mirror the article in the web. But the article may
be kept on a Usenet archive server with only NNTP access.
X-No-Html: yes
Content-Language: en-US
Accept-Language: de-DE, en-US, it, fr-FR
 by: Stefan Ram - Thu, 26 Jan 2023 18:46 UTC

Grant Edwards <grant.b.edwards@gmail.com> writes:
>Or they just throttle the fans up and the CPU down to keep the core
>temperature within limits?

I always took it for granted (no pun intended) that my system
behaves this way. Sometimes, however, when I let a process that
uses a lot of CPU run through the night, I activate "power save"
settings which I have configured to throttle the CPU to an even
lower state to avoid to even get close to the limit where the
system throttling sets in.

Re: HTTP server benchmarking/load testing in Python

<mailman.1649.1674761486.20444.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21364&group=comp.lang.python#21364

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: ros...@gmail.com (Chris Angelico)
Newsgroups: comp.lang.python
Subject: Re: HTTP server benchmarking/load testing in Python
Date: Fri, 27 Jan 2023 04:57:58 +1100
Lines: 37
Message-ID: <mailman.1649.1674761486.20444.python-list@python.org>
References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
<44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
<63d2a403.050a0220.21432.10c7@mx.google.com>
<9de8830a-cc0e-6150-0127-839326783829@tompassin.net>
<CAPTjJmp7=3QaZj8SBFKxUKPiZi5YeDjmPK8TmHm8PLrffAkQOQ@mail.gmail.com>
<d64e9de9-b4ba-b082-163b-ba7331d494b2@tompassin.net>
<CAPTjJmr58Zh77sfBCPcPKxrLqMu8FN1o_qpy7NS9=CRHOTc1Bg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de WyLeLl+S0c8vMTWgSh8eKgsMt5my00J+bSCS8l8Ac4uQ==
Return-Path: <rosuav@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=NmkNecZI;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: UNSURE 0.216
X-Spam-Level: **
X-Spam-Evidence: '*H*': 0.58; '*S*': 0.02; '2023': 0.07; 'cpu': 0.07;
'angelico': 0.09; 'theory': 0.09; 'subject:Python': 0.12;
'annoyed': 0.16; 'chrisa': 0.16; 'difference,': 0.16; 'easiest':
0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16;
'laptops': 0.16; 'received:209.85.218': 0.16; 'throttling': 0.16;
'utilities': 0.16; 'wrote:': 0.16; 'to:addr:python-list': 0.20;
"i've": 0.22; 'fri,': 0.22; 'maybe': 0.22; 'saying': 0.25;
'chris': 0.28; 'am,': 0.31; 'program': 0.31; 'assume': 0.32;
"wouldn't": 0.32; 'message-id:@mail.gmail.com': 0.32; 'but': 0.32;
'100': 0.33; 'core': 0.34; 'header:In-Reply-To:1': 0.34;
'received:google.com': 0.34; 'running': 0.34; '"the': 0.35;
'months': 0.35; 'from:addr:gmail.com': 0.35; 'received:209.85':
0.37; 'way': 0.38; 'received:209': 0.39; 'decide': 0.39; 'define':
0.40; 'program.': 0.40; 'seconds': 0.40; 'want': 0.40;
'including': 0.60; 'ten': 0.61; 'above': 0.62; 'personal': 0.64;
'your': 0.64; 'let': 0.66; '100%': 0.66; 'away': 0.67; 'that,':
0.67; 'pressure': 0.69; 'began': 0.70; 'risk': 0.71; 'low': 0.74;
'five': 0.75; 'degree': 0.76; 'oil': 0.81; 'absolutely': 0.84;
'car': 0.84; 'frequency': 0.84; 'junction': 0.84; 'mere': 0.84;
'reducing': 0.84; 'subject:load': 0.84; 'temperatures': 0.84;
'warning': 0.84; 'fan': 0.91; 'clock': 0.93
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=content-transfer-encoding:to:subject:message-id:date:from
:in-reply-to:references:mime-version:from:to:cc:subject:date
:message-id:reply-to;
bh=XpWWoe7OXVhWawlzXHOqSKqtiGJx3GwHIsfMQCOvegM=;
b=NmkNecZIam+SWUfCAm+wFxjTnnG2yckBs25pDAy+UBpq72YXOE0EUmZaqMGA2rs1vd
nWOR4MCq/lJB451bjqjulGh8HM0lOiqVDHcPrgmyytaKm9LedbtOmYVZITNO6QxSFc+r
A/xmnzwDtlznVDr5fXnlCk5fz3z7vQYfMEnpRZhjy/6c/z2qi5RQF72hMNr7BHZFDLWv
qAMtqvMNH0i/G3vWP0DGz6ANqOd89MKrjT3wZ7vT+HqMIaVYi0pt9w+d/cK+7hKoka1A
LAnjsB/SmABPWpKuu1gAD9vjgBCgxUUV30PB32hLJLgj9ytSnjZYMi9N0NIKHEcDguNd
xLCQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=content-transfer-encoding:to:subject:message-id:date:from
:in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
:subject:date:message-id:reply-to;
bh=XpWWoe7OXVhWawlzXHOqSKqtiGJx3GwHIsfMQCOvegM=;
b=hX/eSoym3ajU0TUmccocnuw088JvedeMeHorP03+ueCiI6cEFs5irsHxXs1neZatIG
CJfBNXCNeThNmgzmapIYq/hvOZR/Oxsnyt++2ce9fNkkIeFzFLbULd+ofeOv3pYNMFSV
NC0A0Z/3rZZGSnAzH0SILuP32RNrHuQaPYMXizXBGQ4CXFBnTwgmqqyZUAgTEM/ka7N8
Uk7BWhvB2pzUeJ3ISt8bODBKMa+kluGwIWqKqqRrHn3tqtjkv4AekDTwteFHXnlT51wi
Tz2pWw31Nl4G1Zs8eCmq1x4MXweCHBXj6jWQtSDx7exilh09PLJvvYCbPbLCjjiNStp4
Sv5w==
X-Gm-Message-State: AFqh2kqOUtzIPQuhWWvVyw6HmBbnq/e8v7Y1MHdUaYqlZHYgt5k6W2S0
cfZo0VCT08Q/GHtGkKV9SSfHHYU2uSvg43WugBtv1ZfP
X-Google-Smtp-Source: AMrXdXuzPax6V9TejmsDC18a1fzRI3hU3YpBFwbNi5Gt5nfxktMX4a6FvJ4pfrshMYkIe90y3uDhFOKmBdWwW9eNl1g=
X-Received: by 2002:a17:906:c283:b0:835:57c9:6432 with SMTP id
r3-20020a170906c28300b0083557c96432mr4742653ejz.254.1674755889931; Thu, 26
Jan 2023 09:58:09 -0800 (PST)
In-Reply-To: <d64e9de9-b4ba-b082-163b-ba7331d494b2@tompassin.net>
X-Mailman-Approved-At: Thu, 26 Jan 2023 14:31:26 -0500
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAPTjJmr58Zh77sfBCPcPKxrLqMu8FN1o_qpy7NS9=CRHOTc1Bg@mail.gmail.com>
X-Mailman-Original-References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
<44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
<63d2a403.050a0220.21432.10c7@mx.google.com>
<9de8830a-cc0e-6150-0127-839326783829@tompassin.net>
<CAPTjJmp7=3QaZj8SBFKxUKPiZi5YeDjmPK8TmHm8PLrffAkQOQ@mail.gmail.com>
<d64e9de9-b4ba-b082-163b-ba7331d494b2@tompassin.net>
 by: Chris Angelico - Thu, 26 Jan 2023 17:57 UTC

On Fri, 27 Jan 2023 at 04:31, Thomas Passin <list1@tompassin.net> wrote:
>
> On 1/26/2023 11:41 AM, Chris Angelico wrote:
> > On Fri, 27 Jan 2023 at 03:34, Thomas Passin <list1@tompassin.net> wrote:
> >> A nice theory but nothing to do with the real world. I've had a number
> >> of laptops that overheat (or would, if I let test program continue)
> >> running this test program.
> >
> > Define "overheat". If all you're saying is "the fan began to whine and
> > I got annoyed so I shut off the program", that is absolutely NOT
> > overheating.
>
> CPU core temperatures up to 95 deg C and rising rapidly, as reported by
> a number of utilities including NZXT and CoreTemp. Max junction
> temperature is given as 100 deg C, and I don't want to risk reducing the
> lifetime of my CPU.
>
> Maybe five or ten minutes at or above 100 deg C every few months might
> not make a noticeable lifetime difference, who knows? I don't want to
> make a habit of it. I wouldn't drive my car very long with a low oil
> pressure warning active, either.

Did you get a warning, or did you just decide to stop the test?

Did you continue the test and see what would happen?

Did you, when the temperature got up to 95°, check what the CPU's
clock frequency was? The easiest way to recognize thermal throttling
is a reduction in frequency while at 100% utilization.

Or did you just assume that, with a mere five degree buffer and your
own personal analysis, that the CPU was just seconds away from total
destruction?

ChrisA

Re: HTTP server benchmarking/load testing in Python

<mailman.1650.1674762802.20444.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21365&group=comp.lang.python#21365

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: lis...@tompassin.net (Thomas Passin)
Newsgroups: comp.lang.python
Subject: Re: HTTP server benchmarking/load testing in Python
Date: Thu, 26 Jan 2023 14:53:07 -0500
Lines: 55
Message-ID: <mailman.1650.1674762802.20444.python-list@python.org>
References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
<44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
<63d2a403.050a0220.21432.10c7@mx.google.com>
<9de8830a-cc0e-6150-0127-839326783829@tompassin.net>
<CAPTjJmp7=3QaZj8SBFKxUKPiZi5YeDjmPK8TmHm8PLrffAkQOQ@mail.gmail.com>
<d64e9de9-b4ba-b082-163b-ba7331d494b2@tompassin.net>
<CAPTjJmr58Zh77sfBCPcPKxrLqMu8FN1o_qpy7NS9=CRHOTc1Bg@mail.gmail.com>
<bdf6fac4-a5b2-055d-10c1-f0ef21419364@tompassin.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de MMfIYoCego7TO4qsOa7pEQTm50Z7/4hX1nLLwwNs5VlQ==
Return-Path: <list1@tompassin.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=tompassin.net header.i=@tompassin.net header.b=gHzS44xP;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.189
X-Spam-Level: *
X-Spam-Evidence: '*H*': 0.63; '*S*': 0.01; 'message:': 0.03; '2023':
0.07; 'cpu': 0.07; 'angelico': 0.09; 'theory': 0.09;
'subject:Python': 0.12; '>>>>': 0.16; 'annoyed': 0.16;
'anything,': 0.16; 'difference,': 0.16; 'easiest': 0.16;
'laptops': 0.16; 'received:10.0.0': 0.16; 'received:64.90': 0.16;
'received:64.90.62': 0.16; 'received:64.90.62.162': 0.16;
'received:dreamhost.com': 0.16; 'signs,': 0.16; 'throttling':
0.16; 'utilities': 0.16; 'wrote:': 0.16; 'hardware': 0.19; 'pm,':
0.19; 'to:addr:python-list': 0.20; "i've": 0.22; 'fri,': 0.22;
'maybe': 0.22; 'past': 0.25; 'saying': 0.25; 'leave': 0.27; '>>>':
0.28; 'chris': 0.28; 'purpose': 0.28; 'header:User-Agent:1': 0.30;
'am,': 0.31; 'program': 0.31; 'assume': 0.32; 'received:10.0':
0.32; 'received:mailchannels.net': 0.32;
'received:relay.mailchannels.net': 0.32; "wouldn't": 0.32; 'but':
0.32; "i'll": 0.33; 'there': 0.33; '100': 0.33; 'core': 0.34;
'header:In-Reply-To:1': 0.34; 'running': 0.34; '"the': 0.35;
'months': 0.35; 'really': 0.37; 'hard': 0.37; 'way': 0.38;
'could': 0.38; 'decide': 0.39; 'define': 0.40; 'program.': 0.40;
'seconds': 0.40; 'want': 0.40; 'including': 0.60; 'ten': 0.61;
'above': 0.62; 'point.': 0.62; 'personal': 0.64; 'your': 0.64;
'let': 0.66; '100%': 0.66; 'numbers': 0.67; 'forget': 0.67;
'header:Received:6': 0.67; 'away': 0.67; 'received:64': 0.67;
'that,': 0.67; 'pressure': 0.69; 'began': 0.70; 'risk': 0.71;
'low': 0.74; 'quote': 0.74; 'five': 0.75; 'degree': 0.76;
'ground': 0.76; 'damage': 0.80; 'oil': 0.81; 'absolutely': 0.84;
'car': 0.84; 'danger': 0.84; 'frequency': 0.84; 'junction': 0.84;
'mere': 0.84; 'reducing': 0.84; 'subject:load': 0.84;
'temperatures': 0.84; 'utilities,': 0.84; 'warning': 0.84; 'fan':
0.91; 'zone.': 0.91; 'clock': 0.93
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1674762790; a=rsa-sha256;
cv=none;
b=JAdam8ubqdhYegCpxE5syihBSJGXSjeHJ1EOStcdz6SpIRcyPr1D1lvFcAnf0mgZSdbVCv
yDl6ts87BCSYIxA4mzPugUdrO8UdstoHDkoT+XBmdU8fZTLsdTL2aJIvy3R7GhLj2yNkEy
pIaGXLuRMLsIhKhopEuWMqQRsvVpJ3XOiKDvIzbtzVi9XI7w73JXvIxUTc5hUitfpWf4OD
6XTPY0TFvCvFKxKJ9rB82W6TQz+GEVum8FyfnGJQq93ffidO/5vZ5ZNfttO8SYBNzsXNxw
SL26nEuIxgOEtRE+8bTcKcg0lJ8r24DZOxK/otS/B52GS9BQMdusu2O8uQ4LSw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
d=mailchannels.net; s=arc-2022; t=1674762790;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references:dkim-signature;
bh=eq3syzOUmi32iUtSUdwR45TbIhCjcwce2Gn/gpC6UnY=;
b=NxGzZMXxeXqJ4hioXjrungRCfENyCJJZKtLJ7mxU4LR46fmhr5uhlrcPKhAFBR7YNfA1dt
7XEBFOylQbFeRkaSq7QFW92F9xr7aTL79xod1lNC96kQyVxGKnxNOoyQ25TGYKXgBYfhqc
6/cb8k/Eu6ZvvBVgYyNYw7j4bNulLOCQTYUrTcCgyVP0OnrH12Z6BN5jCHGw/V3lCglbF5
I4Xj8b16ErzkjnuawkwemdIQKHdqjqaLiaqfDoBRYH/yx7sRd+R05qcnw8tis4jU7RZ2YR
ZIiQ6gG0Rn7xrjSU/gP3vc4Yr/sizAtgq5TRx1w6big1EMDu8OhHW94CyISOcg==
ARC-Authentication-Results: i=1; rspamd-9476994bd-nq87h;
auth=pass smtp.auth=dreamhost smtp.mailfrom=list1@tompassin.net
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|tpassin@tompassin.net
X-MailChannels-Auth-Id: dreamhost
X-Tasty-Chemical: 0f02c1390ac2f95d_1674762791117_583672801
X-MC-Loop-Signature: 1674762791117:2667963733
X-MC-Ingress-Time: 1674762791117
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tompassin.net;
s=dreamhost; t=1674762789;
bh=eq3syzOUmi32iUtSUdwR45TbIhCjcwce2Gn/gpC6UnY=;
h=Date:Subject:To:From:Content-Type:Content-Transfer-Encoding;
b=gHzS44xP3AZoXm1Z2HvQO11f7DqcRjSLIYLQBGsyF8QoMsX0OrDVzUSsVoJSk1fjn
cNcEI8ZAbaxRbmyGj2WDtdrV6xqw7n8ipl3PfS7h3f0UvDp0QBl5Dr65IwkFsn4FDx
RNyYqLTDcDY9rA0s5Px7Xu7BIt0aXJRZADc7pL8Uy6j96V0CE1K8NiOWvhinqc+gaF
EGDT8dWc471KCqO8gsrMTJpd9jIDB7ELSftc/YwzuDRTw2wINR6xn4rGZaKeS9U+xm
QxRJDjX0dUIAHk5pEYdrosRsfgagI34SOGiQd15mn4Wolu+gu2EZXef4/UNjNsjvHV
iAROi8SM08MDA==
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Content-Language: en-US
In-Reply-To: <CAPTjJmr58Zh77sfBCPcPKxrLqMu8FN1o_qpy7NS9=CRHOTc1Bg@mail.gmail.com>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <bdf6fac4-a5b2-055d-10c1-f0ef21419364@tompassin.net>
X-Mailman-Original-References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
<44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
<63d2a403.050a0220.21432.10c7@mx.google.com>
<9de8830a-cc0e-6150-0127-839326783829@tompassin.net>
<CAPTjJmp7=3QaZj8SBFKxUKPiZi5YeDjmPK8TmHm8PLrffAkQOQ@mail.gmail.com>
<d64e9de9-b4ba-b082-163b-ba7331d494b2@tompassin.net>
<CAPTjJmr58Zh77sfBCPcPKxrLqMu8FN1o_qpy7NS9=CRHOTc1Bg@mail.gmail.com>
 by: Thomas Passin - Thu, 26 Jan 2023 19:53 UTC

On 1/26/2023 12:57 PM, Chris Angelico wrote:
> On Fri, 27 Jan 2023 at 04:31, Thomas Passin <list1@tompassin.net> wrote:
>>
>> On 1/26/2023 11:41 AM, Chris Angelico wrote:
>>> On Fri, 27 Jan 2023 at 03:34, Thomas Passin <list1@tompassin.net> wrote:
>>>> A nice theory but nothing to do with the real world. I've had a number
>>>> of laptops that overheat (or would, if I let test program continue)
>>>> running this test program.
>>>
>>> Define "overheat". If all you're saying is "the fan began to whine and
>>> I got annoyed so I shut off the program", that is absolutely NOT
>>> overheating.
>>
>> CPU core temperatures up to 95 deg C and rising rapidly, as reported by
>> a number of utilities including NZXT and CoreTemp. Max junction
>> temperature is given as 100 deg C, and I don't want to risk reducing the
>> lifetime of my CPU.
>>
>> Maybe five or ten minutes at or above 100 deg C every few months might
>> not make a noticeable lifetime difference, who knows? I don't want to
>> make a habit of it. I wouldn't drive my car very long with a low oil
>> pressure warning active, either.
>
> Did you get a warning, or did you just decide to stop the test?

(At least) one of the utilities, I forget which one, did show the
temperature in a danger zone.

> Did you continue the test and see what would happen?

No, why would I? Would you go up to the edge of a cliff, past the
warning signs, and when the ground started to crumble take another step
to see if it would really collapse?

> Did you, when the temperature got up to 95°, check what the CPU's
> clock frequency was? The easiest way to recognize thermal throttling
> is a reduction in frequency while at 100% utilization.

No, there was no point. Maybe it would have throttled, maybe no damage
would have occurred. But doing so would not have accomplished anything,
since I already had the throughput numbers I needed and the purpose of
the test was not to see how hard I could drive the system before
hardware failure. I'll leave that to Tom's Hardware or some gamers' site.

> Or did you just assume that, with a mere five degree buffer and your
> own personal analysis, that the CPU was just seconds away from total
> destruction?

To quote myself from my last message:

"Maybe five or ten minutes at or above 100 deg C every few months might
not make a noticeable lifetime difference, who knows? I don't want to
make a habit of it. I wouldn't drive my car very long with a low oil
pressure warning active, either."

Re: HTTP server benchmarking/load testing in Python

<mailman.1652.1674770446.20444.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21368&group=comp.lang.python#21368

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!lilly.ping.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: ros...@gmail.com (Chris Angelico)
Newsgroups: comp.lang.python
Subject: Re: HTTP server benchmarking/load testing in Python
Date: Fri, 27 Jan 2023 09:00:32 +1100
Lines: 14
Message-ID: <mailman.1652.1674770446.20444.python-list@python.org>
References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
<44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
<63d2a403.050a0220.21432.10c7@mx.google.com>
<9de8830a-cc0e-6150-0127-839326783829@tompassin.net>
<CAPTjJmp7=3QaZj8SBFKxUKPiZi5YeDjmPK8TmHm8PLrffAkQOQ@mail.gmail.com>
<d64e9de9-b4ba-b082-163b-ba7331d494b2@tompassin.net>
<CAPTjJmr58Zh77sfBCPcPKxrLqMu8FN1o_qpy7NS9=CRHOTc1Bg@mail.gmail.com>
<bdf6fac4-a5b2-055d-10c1-f0ef21419364@tompassin.net>
<CAPTjJmpif0jqJwRGqdKCSd-xX1L8LtCy3M77iu2XpPE+3R-eOg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de +NmDmaMNCp7Y7u74eWLuOgoczvoAskw/eaSy3dGpZ0fQ==
Return-Path: <rosuav@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=czCWqmGk;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.153
X-Spam-Level: *
X-Spam-Evidence: '*H*': 0.74; '*S*': 0.05; '2023': 0.07; 'threshold':
0.09; 'subject:Python': 0.12; '06:54,': 0.16; 'chrisa': 0.16;
'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16;
'received:209.85.218': 0.16; 'wrote:': 0.16; 'to:addr:python-
list': 0.20; 'fri,': 0.22; 'actual': 0.25; 'message-
id:@mail.gmail.com': 0.32; "i'm": 0.33; 'header:In-Reply-To:1':
0.34; 'received:google.com': 0.34; 'from:addr:gmail.com': 0.35;
'received:209.85': 0.37; 'received:209': 0.39; 'decide': 0.39;
'on.': 0.39; "there's": 0.61; 'basis': 0.62; 'your': 0.64;
'entire': 0.67; 'forget': 0.67; 'manufacturer': 0.69; 'danger':
0.84; 'subject:load': 0.84; 'utilities,': 0.84; 'zone.': 0.91;
'degrees': 0.93
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:from:to:cc:subject:date:message-id:reply-to;
bh=gNArIiNTX64rR3wr7Rjf09E04jwPSiXORYUU/hhouYU=;
b=czCWqmGk17E8Akqdpxw+WboxgOA9ygaYCRvHeWKb4VYLeabz7BSpCMs62W+P47eK5V
mlZujoCP9olmX4hM2oSETHFmy6ezfYaomR58ii0ZjNyQ57edwaNYje+egr+W8STYaCcl
9TqoFLNJaa9Ijh9FwdFkqejYwg8U8Eau5RU+2GSHps9hQqMGMe5iRsRNwAb/WPPcwGyV
hLN3/FIJ7pwSmgRe/2msJjZTWqDkoZt4aw+9yvXFsBlxG/jkdTR3h6hp+fggQfzjG8cC
P/BtEuzrTLxadvV34rM1ncHTvlqslNAmakiuJjGINqnG1nvbwqvtItvdJ+hxG1P8b3Vn
0PWg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=gNArIiNTX64rR3wr7Rjf09E04jwPSiXORYUU/hhouYU=;
b=BxqMnW1hfFsSZpM3jWs7JEmVgYAEMqDoZIuyGeyKI64TdDqyVHTvNX+n3+6F/OXhsE
8lkRTjwCP+AuNOvldvcXFTy59/MTRwLUgxEWN5VzS3G2eLPmCi24T8n8gTuvN9ml5HN1
X+u6Z9n/i0YYTiLfwQDuRY4zusalfaixGKYi8QpkNb9PF2BFfctc728c6pNoV9XgFTuw
DmPy9jJ8dRjx08lfQ1ICN+d5i7FmyHOtaBAqsiNHvEgmZ9J5UJmLyv51VGan0Fb/vmjE
Gy20kgqs/Nte7qyfNq0qnQGnuiddsdZa/Uhq+EqNbO5bf3Adj4xHou46Yp+tb8pSc/Xi
cwig==
X-Gm-Message-State: AFqh2kqa3UP0tn8GM3XQRph5HDJ3ap5QSWtaYPjkovkT0fz6Z9LkbKhf
cQUXtsGt4Skv780Nia8gbqdhS8WVkTFoHGSrPNhU7zd2
X-Google-Smtp-Source: AMrXdXvjZBrzQf3i3Zk/EEMfR0cfV8w2cycTLvJFXjtgLh9zr74NRa21VZPuiFE7XTdW7IdIWGolcsjssfDaJYDVWr8=
X-Received: by 2002:a17:906:850e:b0:86c:3890:1bec with SMTP id
i14-20020a170906850e00b0086c38901becmr6011464ejx.136.1674770444081; Thu, 26
Jan 2023 14:00:44 -0800 (PST)
In-Reply-To: <bdf6fac4-a5b2-055d-10c1-f0ef21419364@tompassin.net>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAPTjJmpif0jqJwRGqdKCSd-xX1L8LtCy3M77iu2XpPE+3R-eOg@mail.gmail.com>
X-Mailman-Original-References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
<44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
<63d2a403.050a0220.21432.10c7@mx.google.com>
<9de8830a-cc0e-6150-0127-839326783829@tompassin.net>
<CAPTjJmp7=3QaZj8SBFKxUKPiZi5YeDjmPK8TmHm8PLrffAkQOQ@mail.gmail.com>
<d64e9de9-b4ba-b082-163b-ba7331d494b2@tompassin.net>
<CAPTjJmr58Zh77sfBCPcPKxrLqMu8FN1o_qpy7NS9=CRHOTc1Bg@mail.gmail.com>
<bdf6fac4-a5b2-055d-10c1-f0ef21419364@tompassin.net>
 by: Chris Angelico - Thu, 26 Jan 2023 22:00 UTC

On Fri, 27 Jan 2023 at 06:54, Thomas Passin <list1@tompassin.net> wrote:
> > Did you get a warning, or did you just decide to stop the test?
>
> (At least) one of the utilities, I forget which one, did show the
> temperature in a danger zone.

I'm very curious as to which utility, and on what basis it called it
"danger". Notably, whether there's any sort of actual manufacturer
threshold that that was based on.

Personally? Very dubious. Your entire premise is "five degrees MUST be
a problem", without any visible basis.

ChrisA

Re: HTTP server benchmarking/load testing in Python

<mailman.1659.1674789618.20444.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21375&group=comp.lang.python#21375

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: lis...@tompassin.net (Thomas Passin)
Newsgroups: comp.lang.python
Subject: Re: HTTP server benchmarking/load testing in Python
Date: Thu, 26 Jan 2023 22:10:34 -0500
Lines: 70
Message-ID: <mailman.1659.1674789618.20444.python-list@python.org>
References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
<44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
<63d2a403.050a0220.21432.10c7@mx.google.com>
<9de8830a-cc0e-6150-0127-839326783829@tompassin.net>
<CAPTjJmp7=3QaZj8SBFKxUKPiZi5YeDjmPK8TmHm8PLrffAkQOQ@mail.gmail.com>
<d64e9de9-b4ba-b082-163b-ba7331d494b2@tompassin.net>
<CAPTjJmr58Zh77sfBCPcPKxrLqMu8FN1o_qpy7NS9=CRHOTc1Bg@mail.gmail.com>
<bdf6fac4-a5b2-055d-10c1-f0ef21419364@tompassin.net>
<CAPTjJmpif0jqJwRGqdKCSd-xX1L8LtCy3M77iu2XpPE+3R-eOg@mail.gmail.com>
<f7a95eb8-edc6-1a6d-cb4a-97258fa5b8a0@tompassin.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de vIY2GF76/ukvp27rUAy37gRAK0Azqn5ZR1uiLCweO9+A==
Return-Path: <list1@tompassin.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=tompassin.net header.i=@tompassin.net header.b=nYuDdH5v;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.141
X-Spam-Level: *
X-Spam-Evidence: '*H*': 0.72; '*S*': 0.00; 'issue.': 0.05;
'url:support': 0.05; '2023': 0.07; 'angelico': 0.09; 'approaches':
0.09; 'bridges': 0.09; 'intel': 0.09; 'processor': 0.09;
'threshold': 0.09; 'typically': 0.09; 'subject:Python': 0.12;
'possible,': 0.15; 'problem.': 0.15; '"is': 0.16; '"what': 0.16;
'06:54,': 0.16; '5:00': 0.16; 'constantly': 0.16; 'electronics':
0.16; 'excessive': 0.16; 'frequently': 0.16; 'lesson.': 0.16;
'limiting': 0.16; 'mechanisms': 0.16; 'received:10.0.0': 0.16;
'received:64.90': 0.16; 'received:64.90.62': 0.16;
'received:64.90.62.162': 0.16; 'received:dreamhost.com': 0.16;
'remember,': 0.16; 'sustained': 0.16; 'throttling': 0.16;
'utilities': 0.16; 'word,': 0.16; 'wrote:': 0.16; 'says': 0.17;
'pm,': 0.19; 'reduce': 0.19; 'to:addr:python-list': 0.20; 'fri,':
0.22; 'maybe': 0.22; 'actual': 0.25; 'sensitive': 0.26; "wasn't":
0.26; "isn't": 0.27; 'old': 0.27; '>>>': 0.28; 'chris': 0.28;
'header:User-Agent:1': 0.30; 'think': 0.32; "doesn't": 0.32;
'good.': 0.32; 'rapidly': 0.32; 'received:10.0': 0.32;
'received:mailchannels.net': 0.32;
'received:relay.mailchannels.net': 0.32; 'technology,': 0.32;
'but': 0.32; "i'm": 0.33; '100': 0.33; 'particular': 0.33; 'mean':
0.34; 'header:In-Reply-To:1': 0.34; 'running': 0.34; 'automatic':
0.35; 'one.': 0.35; 'yes,': 0.35; "we're": 0.35; 'built': 0.36;
'necessarily': 0.37; 'using': 0.37; "it's": 0.37; 'use': 0.39;
'decide': 0.39; 'on.': 0.39; 'still': 0.40; 'should': 0.40;
'stated': 0.60; 'detail': 0.61; 'likely': 0.61; 'remember': 0.61;
'stay': 0.61; "there's": 0.61; 'basis': 0.62; 'gives': 0.62;
'lower': 0.62; 'internal': 0.63; 'between': 0.63; 'clear': 0.64;
'your': 0.64; '200': 0.65; 'years': 0.65; 'time.': 0.66; 'back':
0.67; 'bad': 0.67; 'entire': 0.67; 'forget': 0.67; 'maximum':
0.67; 'prevent': 0.67; 'header:Received:6': 0.67; 'away': 0.67;
'received:64': 0.67; 'per': 0.68; 'during': 0.69; 'boost': 0.69;
'climb': 0.69; 'manufacturer': 0.69; 'strength': 0.69; 'url:us':
0.69; 'reach': 0.69; 'performance': 0.71; 'product': 0.71; 'loss':
0.75; 'operate': 0.75; 'near': 0.76; 'quickly': 0.80; 'monitor':
0.81; 'activation': 0.84; 'chemical': 0.84; 'danger': 0.84;
'dozen': 0.84; 'frequency': 0.84; 'heat': 0.84; 'junction': 0.84;
'reduces': 0.84; 'subject:load': 0.84; 'temperatures': 0.84;
'utilities,': 0.84; 'varies': 0.84; 'deliberately': 0.91; 'zone.':
0.91; 'degrees': 0.93; 'url:content': 0.93; 'highest': 0.97
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1674789036; a=rsa-sha256;
cv=none;
b=tuSHPx0XSPpfDXIcgRFOgAEUa2r9yGqSZtZrmXUoxuvxHhod3iU37pPTXUkFIaLjlA7/Ud
xd8g7vWMj2CMKegbzpYVQHhwfCB6eiier8nWxZF29TGRAdnznncJg8KPK8cEENUHBXYoss
x4Y6LNeppdy3eXe5Bu6c+HcLrWsDRrEg4REvc/7ge3UhTh7Ms1LW43lzwnEAtalOaBHB3z
Qj7GSCkVhRGn+BDcPItlHFi4mM0uE2nxrylKPpLeCohYpwBuCJPmi4vOHcOEVWVNCi4fQ5
vRBxu1UKWh23oE5GMwWMwzVgtBUC7a6M3xHaCGPjaRig1/d26f2tOZhfE6Z0Zw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
d=mailchannels.net; s=arc-2022; t=1674789036;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references:dkim-signature;
bh=tsKQlOnYfRr5JmRO3pYZdCzskodCSAr2HC6rd60dOK4=;
b=sGwby7eomDCzu7ZZ8HyOeUuk1AoBepV6N2j3B/siaSVv0cexj4rq51YPO66IvKAzAeon4G
JhEN0SsGCMHUsu8W8iGix4ZFQfi7cwy/ye0tnor/nVbfaLCVBsBv6IsgNPGqq6sAmja9Ev
uwvle0AnfHr2MJ+LraVIoUs5LFPtXgUBayYZSB7zRfcfQ5MOgrX1E+uRhbigr5/64zz4fA
bdfEl7ZSxuMnyHzuz1KBz4AX8r7yQQYumHybTyIfDXeGyfs3A8LDCRnLAs2WNL52bLIahb
qTJQ2t/Ks2s+/tasD70EGNsW6G+z6I024KnHjmtWjemgbx8yoDHN7etofW1i6g==
ARC-Authentication-Results: i=1; rspamd-9476994bd-kvs5j;
auth=pass smtp.auth=dreamhost smtp.mailfrom=list1@tompassin.net
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|tpassin@tompassin.net
X-MailChannels-Auth-Id: dreamhost
X-Lettuce-Reign: 7f160b2e07e7caf5_1674789036469_3270804635
X-MC-Loop-Signature: 1674789036469:3332627148
X-MC-Ingress-Time: 1674789036469
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tompassin.net;
s=dreamhost; t=1674789036;
bh=tsKQlOnYfRr5JmRO3pYZdCzskodCSAr2HC6rd60dOK4=;
h=Date:From:Subject:To:Content-Type:Content-Transfer-Encoding;
b=nYuDdH5vC403jU7wyfF9/jZR37/k7QLVBqhoVd1omzntQz9S8YIHiky34on8IFQlo
L8hpZtHALiuXLR1V85gKYUXwQtLfk9KMDj7ZRDfgr8mVkxJwRwY+Cp2UvVL0dAe8r9
GlNfN4dAvGvsXEEyP+V+PipDbwrGmAkUKSzFnBJN7YXnrnAwygEIxFpug3Y4VifHV5
fXQ9jKsiuSc9Qd4imxx+rmsNqCO4sw7NX9S9azvaeL4VrYXl44X0mhVpbrqhNxreyi
R/bsxJx7EIIW0Un97ZeOeX8wPrVDG4e76TrGbV9MC66yY8mgGDl43QiArZl92SxC3k
LVMXs39F/Tf3Q==
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Content-Language: en-US
In-Reply-To: <CAPTjJmpif0jqJwRGqdKCSd-xX1L8LtCy3M77iu2XpPE+3R-eOg@mail.gmail.com>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <f7a95eb8-edc6-1a6d-cb4a-97258fa5b8a0@tompassin.net>
X-Mailman-Original-References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
<44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
<63d2a403.050a0220.21432.10c7@mx.google.com>
<9de8830a-cc0e-6150-0127-839326783829@tompassin.net>
<CAPTjJmp7=3QaZj8SBFKxUKPiZi5YeDjmPK8TmHm8PLrffAkQOQ@mail.gmail.com>
<d64e9de9-b4ba-b082-163b-ba7331d494b2@tompassin.net>
<CAPTjJmr58Zh77sfBCPcPKxrLqMu8FN1o_qpy7NS9=CRHOTc1Bg@mail.gmail.com>
<bdf6fac4-a5b2-055d-10c1-f0ef21419364@tompassin.net>
<CAPTjJmpif0jqJwRGqdKCSd-xX1L8LtCy3M77iu2XpPE+3R-eOg@mail.gmail.com>
 by: Thomas Passin - Fri, 27 Jan 2023 03:10 UTC

On 1/26/2023 5:00 PM, Chris Angelico wrote:
> On Fri, 27 Jan 2023 at 06:54, Thomas Passin <list1@tompassin.net> wrote:
>>> Did you get a warning, or did you just decide to stop the test?
>>
>> (At least) one of the utilities, I forget which one, did show the
>> temperature in a danger zone.
>
> I'm very curious as to which utility, and on what basis it called it
> "danger". Notably, whether there's any sort of actual manufacturer
> threshold that that was based on.

1. we're talking maybe a dozen years ago, I don't remember every detail
about wordings. Coretemp e.g., gives clear warnings (though at what I
think are lower temperatures than necessary).

2. "What is Tjunction max temperature?"
Tjunction max is the maximum thermal junction temperature that a
processor will allow prior to using internal thermal control mechanisms
to reduce power and limit temperature. Activation of the processor's
thermal control system may cause performance loss as the processor
typically reduces frequency and power to prevent overheating. The
maximum junction temperature limit varies per product and usually is
between 100°C-110°C."

https://www.intel.com/content/www/us/en/support/articles/000005597/processors.html

The utilities I used always stated a 100 deg limit for Tj.

3. "Is it bad if my processor frequently approaches or reaches its
maximum temperature?

Not necessarily. Many Intel® processors make use of Intel® Turbo Boost
Technology, which allows them to operate at very high frequency for a
short amount of time. When the processor is operating at or near its
maximum frequency it's possible for the temperature to climb very
rapidly and quickly reach its maximum temperature. In sustained
workloads, it's possible the processor will operate at or near its
maximum temperature limit. Being at maximum temperature while running a
workload isn't necessarily cause for concern. Intel processors
constantly monitor their temperature and can very rapidly adjust their
frequency and power consumption to prevent overheating and damage."

(same source)

But automatic throttling wasn't common back when I first noticed the
heating issue.

> Personally? Very dubious. Your entire premise is "five degrees MUST be
> a problem", without any visible basis.

Bridges are built with 150 - 200 % strength margin. This doesn't mean
you should deliberately overload one.

Heat is the enemy of electronics - a very old lesson. Tj =~ 100 deg C
for CPUs, a familiar figure.

My premise, to use your word, is not what you say. It is to avoid
excessive heat if at all possible, and if the manufacturer says the max
junction temperature is 100 deg, I'm going to avoid approaching 100 deg
if possible - or to minimize the stay there. Most chemical effects are
exponentially sensitive to temperature and problems with semiconductors
are likely to be chemical - remember, e.g., the purple plague? A
chemical problem.

So yes, checking with HWiNFO, my current system is throttling and power
limiting during this particular test. That's good. And I'm still going
to stay away from the highest temperatures when possible.

Nuff said!

Re: HTTP server benchmarking/load testing in Python

<mailman.1660.1674790333.20444.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21376&group=comp.lang.python#21376

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: ros...@gmail.com (Chris Angelico)
Newsgroups: comp.lang.python
Subject: Re: HTTP server benchmarking/load testing in Python
Date: Fri, 27 Jan 2023 14:32:00 +1100
Lines: 19
Message-ID: <mailman.1660.1674790333.20444.python-list@python.org>
References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
<44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
<63d2a403.050a0220.21432.10c7@mx.google.com>
<9de8830a-cc0e-6150-0127-839326783829@tompassin.net>
<CAPTjJmp7=3QaZj8SBFKxUKPiZi5YeDjmPK8TmHm8PLrffAkQOQ@mail.gmail.com>
<d64e9de9-b4ba-b082-163b-ba7331d494b2@tompassin.net>
<CAPTjJmr58Zh77sfBCPcPKxrLqMu8FN1o_qpy7NS9=CRHOTc1Bg@mail.gmail.com>
<bdf6fac4-a5b2-055d-10c1-f0ef21419364@tompassin.net>
<CAPTjJmpif0jqJwRGqdKCSd-xX1L8LtCy3M77iu2XpPE+3R-eOg@mail.gmail.com>
<f7a95eb8-edc6-1a6d-cb4a-97258fa5b8a0@tompassin.net>
<CAPTjJmpQPdHk-W411aVZ3Be0bBxMGao37PmTxc0WFn=sEC8Z1w@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de gRWNcC78Bhh8xepkDQwhgQaIyCm7Nl0zYg4D7vJDTfjA==
Return-Path: <rosuav@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=SENpcT9a;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.137
X-Spam-Level: *
X-Spam-Evidence: '*H*': 0.78; '*S*': 0.05; 'url:support': 0.05;
'2023': 0.07; 'processor': 0.09; 'typically': 0.09;
'subject:Python': 0.12; '"what': 0.16; 'chrisa': 0.16;
'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16;
'mechanisms': 0.16; 'received:209.85.218': 0.16; 'utilities':
0.16; 'wrote:': 0.16; 'reduce': 0.19; 'to:addr:python-list': 0.20;
'fri,': 0.22; 'message-id:@mail.gmail.com': 0.32; '100': 0.33;
'header:In-Reply-To:1': 0.34; 'received:google.com': 0.34;
'from:addr:gmail.com': 0.35; 'using': 0.37; 'received:209.85':
0.37; 'received:209': 0.39; 'stated': 0.60; 'internal': 0.63;
'between': 0.63; 'maximum': 0.67; 'prevent': 0.67; 'per': 0.68;
'url:us': 0.69; 'performance': 0.71; 'product': 0.71; 'loss':
0.75; 'activation': 0.84; 'frequency': 0.84; 'junction': 0.84;
'reduces': 0.84; 'subject:load': 0.84; 'varies': 0.84;
'url:content': 0.93
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=content-transfer-encoding:to:subject:message-id:date:from
:in-reply-to:references:mime-version:from:to:cc:subject:date
:message-id:reply-to;
bh=tieHWyKbi/XoF/AAfH7urU6MhIMKcoxKm5mQGddAsEE=;
b=SENpcT9atDqW0oM5hnc8cmtX1INUHoDypGt62Glc/MLZVUeA7juTLxlHio+xw9Mlyw
qzPOuZtGSR87FB22ibmqLDHAxJb8JkCHumfhxXhcJeneOAq3VQDPdaBiswCs1TgpPjWo
Vv/NXPLe7Jb4sH3cbwROoqh60PZxDYMo6yqqHnd6ARqnpkk6kL3BNceG1TedTEoKBjbW
SBWV74ZPlfxVqszlIkQn8vyuutFovQLajmMcyDpVQl65JkhlJUn7XCWvCac9fzJnukKb
AkT9+3HzLm5E8io26rZ3EnMWR2erBYe5c1OhFifQwhYn1n+lOmyGodkdirnwfkKW4zmg
AWPw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=content-transfer-encoding:to:subject:message-id:date:from
:in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
:subject:date:message-id:reply-to;
bh=tieHWyKbi/XoF/AAfH7urU6MhIMKcoxKm5mQGddAsEE=;
b=cKbDZOC+kgD5fYGRL6ZjTVR9vjik69gUDAVNBBKBJx8Ws9UeeHiwTRvSC2j+Bhq/hY
0Huz9RTR0yCGV314mMRMGOwMDP62j3pwznsl/UM4db2up+zUA3Iqx5/JEeEqYewvmYSi
IlJl7ETZMWabOSdo8eqiYi1fNCZqgJfpKTo5gTMZGVIXOy3fHba6u0Zr2fnC2xlH3Qhs
IbQNcIRVvCaFr3vxMlPfqrwG7fjkv/Q44/fiIIQ6C9OC6pr2xI5EGbeOcBJ2PV6MVrEu
C3ovpnrX54iPJomAOYwrvGLAivKS3EX0GechJSujk11EQajxB+j44HG/m5Rw5owqz7u/
F6Hg==
X-Gm-Message-State: AFqh2koIV7ov2PbZeo/indnVClbhANkcxUBU/TcaDN56bZsNb6fJUXLi
EQzpDr4cvGclmlwFk+vmt7dHY0MEfbLQkSgZkNKWx+/R
X-Google-Smtp-Source: AMrXdXuudztc365b7MrjtzqlLM7WKHnwONKy8xkGEEybJV/Z+SSLzqYCkMjsX9DaBYROh/62zaJHwk/hlqwRfz1q26Y=
X-Received: by 2002:a17:907:9145:b0:7ad:84c7:502d with SMTP id
l5-20020a170907914500b007ad84c7502dmr5400171ejs.177.1674790331525; Thu, 26
Jan 2023 19:32:11 -0800 (PST)
In-Reply-To: <f7a95eb8-edc6-1a6d-cb4a-97258fa5b8a0@tompassin.net>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAPTjJmpQPdHk-W411aVZ3Be0bBxMGao37PmTxc0WFn=sEC8Z1w@mail.gmail.com>
X-Mailman-Original-References: <4gcAL.2393259$JNZ4.383220@fx12.ams4>
<e46f7b33-e014-7939-34f4-2f461a4c2939@tompassin.net>
<mailman.1609.1674671208.20444.python-list@python.org>
<OigAL.2067294$nwq3.496751@fx13.ams4>
<33eaf8a0-02e2-ae19-30ba-c60815142930@tompassin.net>
<20230126003827.bepnprceb26a4jb4@hjp.at>
<44ce3f73-45eb-7148-3f1f-91ddaf624f73@tompassin.net>
<63d2a403.050a0220.21432.10c7@mx.google.com>
<9de8830a-cc0e-6150-0127-839326783829@tompassin.net>
<CAPTjJmp7=3QaZj8SBFKxUKPiZi5YeDjmPK8TmHm8PLrffAkQOQ@mail.gmail.com>
<d64e9de9-b4ba-b082-163b-ba7331d494b2@tompassin.net>
<CAPTjJmr58Zh77sfBCPcPKxrLqMu8FN1o_qpy7NS9=CRHOTc1Bg@mail.gmail.com>
<bdf6fac4-a5b2-055d-10c1-f0ef21419364@tompassin.net>
<CAPTjJmpif0jqJwRGqdKCSd-xX1L8LtCy3M77iu2XpPE+3R-eOg@mail.gmail.com>
<f7a95eb8-edc6-1a6d-cb4a-97258fa5b8a0@tompassin.net>
 by: Chris Angelico - Fri, 27 Jan 2023 03:32 UTC

On Fri, 27 Jan 2023 at 14:21, Thomas Passin <list1@tompassin.net> wrote:
> 2. "What is Tjunction max temperature?"
> Tjunction max is the maximum thermal junction temperature that a
> processor will allow prior to using internal thermal control mechanisms
> to reduce power and limit temperature. Activation of the processor's
> thermal control system may cause performance loss as the processor
> typically reduces frequency and power to prevent overheating. The
> maximum junction temperature limit varies per product and usually is
> between 100°C-110°C."
>
> https://www.intel.com/content/www/us/en/support/articles/000005597/processors.html
>
> The utilities I used always stated a 100 deg limit for Tj.
>

Yeah, so "maximum" is "before performance loss", not "before damage".

ChrisA


devel / comp.lang.python / Re: HTTP server benchmarking/load testing in Python

Pages:12
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor