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 codegen Date: Thu, 13 Jun 2024 20:54:10 +0200 Message-ID: References: <87le3b43qi.fsf@gmail.com> <86r0d21tqj.fsf@gnu.org> <877cetgqiz.fsf_-_@gmail.com> <87wmmsg2e4.fsf@gmail.com> <87plskg035.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21782"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jun 13 20:55:08 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 1sHpbI-0005XT-6p for ged-emacs-devel@m.gmane-mx.org; Thu, 13 Jun 2024 20:55:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sHpaT-0000yY-HQ; Thu, 13 Jun 2024 14:54:17 -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 1sHpaR-0000y7-SR for emacs-devel@gnu.org; Thu, 13 Jun 2024 14:54:16 -0400 Original-Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sHpaQ-0004RB-BG; Thu, 13 Jun 2024 14:54:15 -0400 Original-Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-a6ef8e62935so189923666b.3; Thu, 13 Jun 2024 11:54:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718304852; x=1718909652; darn=gnu.org; h=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=63LiJdN+OM64bgXN1/Noln7vcSVvBf4kjCFJMK9AWVY=; b=SHlONEw7tZH2NAV68I7Pc14se7wqPpoK9Mly8X4dumnBQAKBcphsajOectdmE2g8Uf aHiQYwHDU8fbIDU69TfwTbDebhZsK0dZvR2haQSsEd+9JbJW/YBaoTpXGpQUAgS2w/so 61Ndw8RLdY+a/DnBMcHhtcekWlGd1XuB9Rnd/+R3Pn9sIMxJneWJ5zxZpvn0LkchibEQ 6Hoa9q0r71HVoAcksm16KmFDT/AOROQ3b77EsGT4ptJZeC3e+2WrtS9TlpQ6Zml4zbAi lYp4UCeBVOCYdk/wpge/L6f9z7Wt7kV/pMPr0L4yH0Sr7qTOGwlf+W6Rsjs3iC49ypCu t8IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718304852; x=1718909652; h=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=63LiJdN+OM64bgXN1/Noln7vcSVvBf4kjCFJMK9AWVY=; b=NaFFIYcGUxnUAFueN66K7NesD/d+4JpeV/jlQ45hmHjnQ/HevDv9lR1AUsPYiPKdQd UkrE1oNugFOW7nI4546+v0HxJqfrc0VpiH8RcmY40/BPTYgI6PWARaDAD+eiZWtJ433c Txsdg6H8MK6Iak/Mx/5rxOTKGusquiaT60iESaJ7bSsdYZQNL96OmyLJQCG6vRJ660J1 KQcqUdahny7XlBAgNGmSV+P4P4P6BlGVVNCNSwqiwfbtigUB4G52LVg2CpPnFZMm/kbc sh/Wk3EHrBK8CqwpALnKIoGinWodpnEmn1vgMUbqaEtaD2ycqMFBgSzVQq6N6SYszfeE ZHTw== X-Forwarded-Encrypted: i=1; AJvYcCU4Qw/05U1KfLNLc+PW7ST2YlXFT2YJ2zXxbgNzV7uoBMuwbN2xCJh0QoRkB/UDkCeJDGfzomcG72jImSGFrbnislXl X-Gm-Message-State: AOJu0YyhKeFZbynstEFUbOW0UM+13zSchIuVP3wzykb860J7dBlOmZq7 nGd/Th5ySlfE38aS5CAcbFT9DrVnZNjbO++tK3W/U9flXh8j8fmbL5+Bhg== X-Google-Smtp-Source: AGHT+IGDm83QztmaJDy95Fa/4AoiB77E0rWpRfxyF+4jUFDhMsBIVilaGb/tk4oBe54LFBVoJ/uq1g== X-Received: by 2002:a17:906:a0c:b0:a6f:d57:aedc with SMTP id a640c23a62f3a-a6f60dc50eamr49252166b.57.1718304851739; Thu, 13 Jun 2024 11:54:11 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3aa9f.dip0.t-ipconnect.de. [79.227.170.159]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56db6f34sm99211266b.89.2024.06.13.11.54.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 11:54:11 -0700 (PDT) In-Reply-To: <87plskg035.fsf@gmail.com> (Helmut Eller's message of "Thu, 13 Jun 2024 20:38:06 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::630; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x630.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, T_SCC_BODY_TEXT_LINE=-0.01 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:320035 Archived-At: Helmut Eller writes: >> OTOH, on my machine, the whole copying of the dump to MPS, mirroring and >> redirecting roots takes ca. 38ms ATM. Where the copying and mirroring >> are the two main contributors and take about the same time. Maybe >> there's not much to win. > > The win would be that no code for copying and mirroring would be needed. > One downside would be that the hot and cold section end up in the same > pool. Then I didn't understand what you meant. How would you avoid the copying? I don't remember seeing something in the MPS docs by which one could let it manage a area of memory the user can allocate or specify.