From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: MPS: weak hash tables Date: Sun, 07 Jul 2024 05:55:53 +0200 Message-ID: References: <87msmu1uy5.fsf@gmail.com> <87cynq1sx0.fsf@gmail.com> <878qyeffjh.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9476"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Pip Cet , Helmut Eller , Eli Zaretskii , emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jul 07 05:56:58 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sQJ1G-0002Dc-Dr for ged-emacs-devel@m.gmane-mx.org; Sun, 07 Jul 2024 05:56:58 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQJ0M-00079N-1n; Sat, 06 Jul 2024 23:56:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sQJ0L-00078F-50 for emacs-devel@gnu.org; Sat, 06 Jul 2024 23:56:01 -0400 Original-Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sQJ0J-0005By-EO; Sat, 06 Jul 2024 23:56:00 -0400 Original-Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-52ea2f58448so3332073e87.1; Sat, 06 Jul 2024 20:55:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720324556; x=1720929356; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=e9ZQ38r2UAgOU/eBwOC2Jei0CeCrCmgsb0/OoBENDPw=; b=DPW0l67lTwZiYsmOsUQydS8jVbXtsI8AyprUAP7uZhjCgCAzWuxR9k09bNtrHhENJS pxt/bwuBwQGHjelJAravkcsbBqkOVyYDtuWywp0vbT9EDHMyN6HLBF4QoJWzzAhX+Stt oY18ckvodu6wmPdX/GbK4hA0KipOQDoAyx1uq5XQ4OTpKdoTiq6wanB+SIDhRJ1sIkRw s9IZjV27j7atID/9ZtP5bdl4uwlGZaXQQPhSxweK6TZpGEk+0zk87k7lOkzrNia+cV3a dT69zfWyVaHEXU/3+efHN68tmgYSXQy5gmV5eOWEHC+VlXsI+t/i8yzWKI+v2Z4bcaFF yp2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720324556; x=1720929356; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=e9ZQ38r2UAgOU/eBwOC2Jei0CeCrCmgsb0/OoBENDPw=; b=hdQzfEMxPc+1ukdqnFDnKS20YX+/sdH3UWiDsg+w7Jg4OZUnNRdzxhF8LlgLPSFmun DGRQXtQI+zmxA9PcWfaYnHJTalUSQH1YAQcLrrP7eORpxvVAUx3NFXulDZaqv6ifb5L5 M0UZU4hiOXoxJ6Bgd7gkANBPsHfnl+YM7n+xB1o9az6M3FX5zSdwzLEM2jBxSLrGoiuI Z8pGk726RCXFxhMzhdhqjG5cQ9V6SgOUtgOTLQskoGwGKlQR9Apbde943z19HVCC5oyN i5zYnS62imqpyAa/P6DK12sPOirE51B0j9JIJi+bxMKWKhGelASA/IlxrL/GBaOv3o+O XJ3w== X-Forwarded-Encrypted: i=1; AJvYcCVzgoHOLGIJguCREUG891sW3IW/N8aOVBWCB9AEpnGcsAWHxTgzA+FKZ2liq3GsRzNL9N07EEpHA+I1aev0ndATpGiBTlMyvGjNOagescW4468= X-Gm-Message-State: AOJu0YzBrUfLABnJmT3mJXRSyydWNDYbFr6YxoFY2u4Ct0es2XyrWSgI vVb6fiaigL09r1K1bFEdNLRhJJ+RTpUaf6uO39yAzCao0rEO09d2TPlHvw== X-Google-Smtp-Source: AGHT+IGpMPMBLeC5CsieOLfZtNMiB1gGpEpBxCj4TWZ4k+60tWu8A0Mg+g0/AUajC4btGrEJU6Rnpg== X-Received: by 2002:ac2:5299:0:b0:52e:9cf0:69cf with SMTP id 2adb3069b0e04-52ea06e2985mr5907575e87.62.1720324555237; Sat, 06 Jul 2024 20:55:55 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3a778.dip0.t-ipconnect.de. [79.227.167.120]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5861324feb7sm11483684a12.37.2024.07.06.20.55.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jul 2024 20:55:54 -0700 (PDT) In-Reply-To: <878qyeffjh.fsf@localhost> (Ihor Radchenko's message of "Sat, 06 Jul 2024 20:09:54 +0000") Received-SPF: pass client-ip=2a00:1450:4864:20::129; envelope-from=gerd.moellmann@gmail.com; helo=mail-lf1-x129.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:321465 Archived-At: Ihor Radchenko writes: > Gerd M=C3=B6llmann writes: > >> So, we had 14 * 64M total before, and 16 * 64M afterwards. A bit more >> makes sense since we now have GMP objects, but a dramatic improvement? >> ... >> >> That's the only thing I can come up with ATM. Complete guesswork, of >> course. I wonder how one would find an "optimal" configuration at all. > > I feel kind of silly, but > https://memory-pool-system.readthedocs.io/en/latest/guide/perf.html > maybe? It has an example of "dramatic improvement". Thanks, Ihor! (Shows it again - I don't listen, I don't read ... :-))