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: Some experience with the igc branch Date: Sat, 28 Dec 2024 10:20:51 +0100 Message-ID: References: <87o713wwsi.fsf@telefonica.net> <86zfkjznat.fsf@gnu.org> <86ldw2zy6s.fsf@gnu.org> <87h66p5fy6.fsf@protonmail.com> <86cyhdw3ey.fsf@gnu.org> 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="35120"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , Pip Cet , ofv@wanadoo.es, emacs-devel@gnu.org, eller.helmut@gmail.com, acorallo@gnu.org To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 28 10:21:57 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 1tRT1B-00090u-7Q for ged-emacs-devel@m.gmane-mx.org; Sat, 28 Dec 2024 10:21:57 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRT0I-0004mG-Rg; Sat, 28 Dec 2024 04:21:02 -0500 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 1tRT0G-0004lr-9c for emacs-devel@gnu.org; Sat, 28 Dec 2024 04:21:00 -0500 Original-Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tRT0E-0007YJ-Rl; Sat, 28 Dec 2024 04:21:00 -0500 Original-Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-aaf0f1adef8so375068866b.3; Sat, 28 Dec 2024 01:20:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735377654; x=1735982454; 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=+gwRWbZRn8gwXCk/fUDJRy7pk4AVq2/yVQ5dRnEz00Y=; b=e0mYfAQ7qVZgxHkvDOo+qXGKee9WbBEKO/M4wkogIfXEWcSJUobTBr+Q7j/1FyAAme XS6vy/nOS8O8eGwoX+PUdVymuXCKVo577BT3Ykzsp4INz55/UVFiDNzG4notx4lq8Xsm 2N3mixte2FOYGIBfqA/RZud+ILTyWAa9pTUNZZ7XFL2lGazw4L2z6P8ukvyF/haau1Ch lpqr0xB7J865N/XhRwLxxq/m9fL2QQ7ehzyUVXi59KQQSUoV0KbD7FP+LZ1AiPbIpc/f U7KSkZpFpPjrXQ1/cpPQQvDNpiK730fXjiPTbtytX0YppDal/SwcllS6fiEBngGKy92A 4OnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735377654; x=1735982454; 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=+gwRWbZRn8gwXCk/fUDJRy7pk4AVq2/yVQ5dRnEz00Y=; b=Bv6Nrk/uTrDSN73nXJOwCh4nfB1p55PgmB+kWJFwCGCIk1GeKhCawvDXeLTxEsNb+Z DmeqpBDa+xnioSlbOmCBaIVEFTQFAE+D8VDOYqYQj8aOL/+GtuYeSaduuQ7kpGXWlOlk ifr4j+xmUOL6D0bTGu9cqbcmo2Z+We4uwc61M3QDI3J1DjUHUSGANdRsHwIb6l4JCIoD qgbhw6tSydatLvfgGe45QUt8MAy8elTJBjGWnndGt95pLPJcRQPksO5vGgtCN5sEF2F6 yMpZzAEiz3r64nLgT8I1HDiqOIRl0bIUN01G5sDTTHnNRaoFH12AVzvp2Kf5nz9a8CEQ IlYA== X-Forwarded-Encrypted: i=1; AJvYcCW+k37+wHoY0f4tyUf+9Hnny+XPq9iaXbf0FCcewSN7NBRSVOuFv2G4O/SopyRJbOTgOUNGA5fxhWVNTVc=@gnu.org, AJvYcCXzbVX4EVzggRwotSoxzrtr3fSrghqKGXWnldnupqwr5+DQ/igq81usbprgIgpn5W/GufPQtvRWKg==@gnu.org X-Gm-Message-State: AOJu0Ywya5n/cfiRUw9yv6pGL54feme3LhvVrJaZTSGQ7NHtACms3nFU 99FbdZ9fkpj/ky8I9qIVHNUhCNOkr8ki+ZqFfBBZp4adGBlxZHLiP6o9Dg== X-Gm-Gg: ASbGnctuEzF/+o8MnR0DBmTl8D+Z4khfd4YVf5kM9S/OGqE0sT723mBzRCLIpioz+ST ALXUZL1GQQAjceSMUSpiwYthwt7MASRqAAE6qBxwT7bfXer5pXzHGi0rvu9cvE09ciz5ss1shb8 +MeUVKntJ0qG4abim0J7b7EHveyeeWSz3bmzFfnLnRvpg79oGdYDfUmQRAFKcWgdv+DoMi67fJN whZtdSuQCeG9+3BSY8/EhzMdxf+uFcyPM4jJKgCsg23UqyqVDW1UvsgpAMSK81rI413LQofG+2a 6vgMRvpehuzY9sU6tox7CUXRtKg7MdtZuv0iiAzITzMB0KSNvC91D2LsM6vsa2rK7RUiNh7zrGP rUhRTBnS9 X-Google-Smtp-Source: AGHT+IGEbixS9/YzLPrVd9WFI4TkrqKw7hylAE7cPCreBlA2gasjAOue2Rl6olD5IpeqnC+O/0qUyA== X-Received: by 2002:a17:907:7d94:b0:aa6:c04e:240 with SMTP id a640c23a62f3a-aac344302abmr2862434866b.60.1735377653732; Sat, 28 Dec 2024 01:20:53 -0800 (PST) Original-Received: from pro2 (p200300e0b706e400c44cad3d21adb953.dip0.t-ipconnect.de. [2003:e0:b706:e400:c44c:ad3d:21ad:b953]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aac0e82f60asm1241777366b.28.2024.12.28.01.20.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Dec 2024 01:20:52 -0800 (PST) In-Reply-To: (Stefan Kangas's message of "Sat, 28 Dec 2024 09:10:36 +0000") Received-SPF: pass client-ip=2a00:1450:4864:20::62b; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x62b.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:327244 Archived-At: Stefan Kangas writes: > Gerd M=C3=B6llmann writes: > >> MPS is concurrent. >> >> One can tell MPS that one has a certain amount of time to spare, so it >> can do work then, which I think runs in the main thread. I do that when >> Emacs thinks it's idle. > > Apologies if this is a naive question, but: > > What do we gain from using the main thread for this, instead of always > letting it run in a separate thread? It's just an assumption I made: I thought if Emacs is idle anyway, why not let MPS do some work _in addition_ to its normal work, in Emacs' thread. And my hope would be to further reduce pause times, for example for the collection fo older generations. It it does that I don't know. It's a knob one could play with.