From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: MPS: weak hash tables Date: Sat, 06 Jul 2024 16:44:43 +0200 Message-ID: <87cynq1sx0.fsf@gmail.com> References: <-plQctKgNkvp-LJ9ov2QAiXQKxd9V-hI0yz_opRGxQtbknubCjH4rH2-ymgbw_Qr1ZhB1rtlmiEW8XtuIVNr7nR_Yj20AH6WkH6kUGp68g0=@protonmail.com> <_mNcR6ailVKpYHLxgfo_tJlYGeR0AQIzQWluspYYp5_g5pIIKkHLNfFkklQQgOKNiVW8jn8NS3i2dJ7_B2Qyx9v-Dq3MQ9mP8HNL30UWsqY=@protonmail.com> <878qyf4sgm.fsf@gmail.com> <878qye3l81.fsf@gmail.com> <86a5iu4tiy.fsf@gnu.org> <87msmu1uy5.fsf@gmail.com> 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="17919"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , pipcet@protonmail.com, emacs-devel@gnu.org To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jul 06 16:45:43 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 1sQ6fX-0004W5-Bg for ged-emacs-devel@m.gmane-mx.org; Sat, 06 Jul 2024 16:45:43 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQ6ek-0007YY-CK; Sat, 06 Jul 2024 10:44:54 -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 1sQ6eh-0007Y8-8o for emacs-devel@gnu.org; Sat, 06 Jul 2024 10:44:51 -0400 Original-Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sQ6ef-0003Mw-PM; Sat, 06 Jul 2024 10:44:51 -0400 Original-Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-52ea79e6979so1576172e87.2; Sat, 06 Jul 2024 07:44:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720277087; x=1720881887; 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=F+8sOPu55ql9Z+n9mOGI41ypJeUD4iGFEQ+MtJeg3/g=; b=DPwgyvYV1pzZz2tq/v1wAA+eTSW78n7dzVtNBTLgmspLsk63qXE/JvshwGeOvu5F4g BeQT2QeF/vcfKdFaw+wgS1VoA6N/6q7cDjYMpkxUxJ2BWxBSLlumLGWZIeAesgB5Q0gc 7ocgzzily0YFzVG+4E/PvDnxSel1EQQ38R0sgCufqkUJ+F+n3sETwBBpi+Lr2fWJzIwN bJ0fYWimkbsLrlADzRjbchkxYwMLDVjMR0ZvMbwKuhb2aFPvr3FCP0je3aqNDCoAMyOB /EXr4sFUwRXzspNlG8JSWfB9w8QawClEQ7NYEHPy2No2a1YHNSznbJqBbkx6Fnmybs6v jNzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720277087; x=1720881887; 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=F+8sOPu55ql9Z+n9mOGI41ypJeUD4iGFEQ+MtJeg3/g=; b=eBucmse7bTM8rTUvU1EKa9zucbuuY3TRKn8Ut+46HMrYjSsroJCH0allUqxmQ3v88b xguJehabdO70sOPN/WnHQtK4IO7fkqUXGFhquHVsGSH95DbK5AQyfpkyfIqZoQ+gEjNC N7mvBzMZi5ap/j2z4JBge/WnxTE4pK0cZhMiQA+Jc+2hmhUFcCTvyNqEp1lqZpQN2d0C Yn1nTBF6mvf2oxT93oeTR9tGv6DdQf42EFf1BlPzO6pY6BKMRmNpc6Ta62953y/QyF6M znSojqlrTWA3dIIHTgRL2ylBhGZVAvB2+YOzVwRrhQ0RgrJCuMeVY5vDfXuG5YbxVH7N cohw== X-Forwarded-Encrypted: i=1; AJvYcCXvbvWVLpjjomunpWYwvgC8mFHhgPFrxvk933VyzoydakWD5nkFVfSZumqyVk0vMz+YnhegVYQ+CEsUD2s5RX1ZKnjr X-Gm-Message-State: AOJu0YwBMf9HAdEdVGZlqwvm3sfR5JkYqi3pjt1gmmXHYX+SY8sFUxst EZ/iKXmWFCtOGFpcfCoklJT8U4dVEsZVPNqk1xBmqQtEo/is+F5711u+HA== X-Google-Smtp-Source: AGHT+IFspNOqFCuEMq77cArWu2Pc4IGmio5JDrw9abZdf4DERoQqQa+9o5A12ZkpfrABmoGtCXC/Lg== X-Received: by 2002:ac2:5322:0:b0:52b:8c88:2d6b with SMTP id 2adb3069b0e04-52ea0622e41mr4322770e87.11.1720277087139; Sat, 06 Jul 2024 07:44:47 -0700 (PDT) Original-Received: from caladan (dial-190152.pool.broadband44.net. [212.46.190.152]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4264a2518f9sm99363235e9.31.2024.07.06.07.44.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jul 2024 07:44:46 -0700 (PDT) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Sat, 06 Jul 2024 16:08:11 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::136; envelope-from=eller.helmut@gmail.com; helo=mail-lf1-x136.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:321441 Archived-At: On Sat, Jul 06 2024, Gerd M=C3=B6llmann wrote: >> finishes and requires 41.82 seconds compared to the 12.26 of the non-MPS >> version. And it uses something like 2.8 GB compared to 350 MB of the >> non-MPS version (estimated by looking at the RES column in top). Scratch that. That had some MPS_KEY_COMMIT_LIMIT in there. > So 1000 is probably to high for that that use case, or 0.1s is too low, > especially in batch mode. Grmpf. Could you try with 100 instead of 1000? This is should be better: N Seconds RES 1 65.10 920MB 10 49.59 1GB 50 45.75 1.4GB 100 43.50 2.8GB 500 42.14 2.6GB 1000 41.98 2.6GB As before the RES column is what I saw in top (sampled every 3 seconds).