From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?B?R29uZy1ZaSBMaWFvIOW7luWuruavhQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Where is the eln search path defined Date: Mon, 25 May 2020 10:01:02 -0500 Message-ID: References: <87v9kxd18j.fsf@linaro.org> <873681cdzc.fsf@linaro.org> <87sgg0c2ve.fsf@linaro.org> <87h7we9680.fsf@linaro.org> <87eeri8y4r.fsf@linaro.org> <871rnhl1n5.fsf@linaro.org> <87mu65jj6d.fsf@linaro.org> <87eergi4z2.fsf@linaro.org> <87tv0bhiwv.fsf@linaro.org> <87blmcrtku.fsf@linaro.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000162fe505a67a407b" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="107923"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, Andrea Corallo To: =?UTF-8?B?QWxleCBCZW5uw6ll?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 25 17:02:30 2020 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 1jdEcX-000Ry9-Ko for ged-emacs-devel@m.gmane-mx.org; Mon, 25 May 2020 17:02:29 +0200 Original-Received: from localhost ([::1]:49450 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jdEcW-000218-N2 for ged-emacs-devel@m.gmane-mx.org; Mon, 25 May 2020 11:02:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jdEbQ-0001CU-Ic for emacs-devel@gnu.org; Mon, 25 May 2020 11:01:21 -0400 Original-Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]:43529) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jdEbN-00054U-GO for emacs-devel@gnu.org; Mon, 25 May 2020 11:01:20 -0400 Original-Received: by mail-ej1-x631.google.com with SMTP id a2so20712898ejb.10 for ; Mon, 25 May 2020 08:01:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=K92TC+lxjRScYmKUn2FtD3iI7UQuC98DHQWzMA2honQ=; b=lC1rYMustE6OzK/EP6kA7L5G5FFvvtJUpKM6EZaNkzLhaBReZlbjVF5onztiSDgtam UY02VtNszvSIjIZpTe2l9Vz9yAMRR1+zwQ40MxmKblGGv5njzcZwEXzHnttGjNv5FWWd FI5y26pP7oajdD7hha9vLn2+mJBoWXWxTp4TXFLrBr0K6f05ovSaMzKhsHqX6Goh4Dn0 01NmX7jvaWiz1SWN96YxfZxxCKj0jH90ZhBdgZgCRlhG9FcgZ9th1crSkag1MTthf/mO RGH+fz0AXA0pvQqyAc1Cgb5x6k2/aSM8tf+JLHyDCE/BeSTgdlAuRoaXziCdGZzmljLH KRNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=K92TC+lxjRScYmKUn2FtD3iI7UQuC98DHQWzMA2honQ=; b=Ldb9lrIbMhA5g12PDux5PtKaWD6N3l4CbQCC+Bxr1czgQmpHJp25OijUuiWY/02CHT c86XKZY0cHQ8C4LgMupNepxff5684IB5+GMNMvTzJLjLPjpQGLm2q7Wmx+yPgdfm5Y1U SANu7HbTsjQwei6evyPshBUax7oClqBHWI197X4nJc0uMHrLIV0ZGMooWbqGMn3KkU/1 kqRdR/FEDA3HekLiHvLhDVqboIz8t/NAYFXw8QVAnrIEG/EV2oHF2hwAX+poX7Fl37/X NhkTDyrObUYAbqfvlNfYLrA2GBfJ+ssshqiulgpFPLSo3Pa8F7bGEyeDGdcImyjsD9FR FnNg== X-Gm-Message-State: AOAM533Rn8d4OOlOWXTfSbE/oP5DDW38upeFEN+OxLpMWTSM/0PCltnq bxbmldgzcWNdknarcYEIt/KqIPQDv9yqyDiYScc= X-Google-Smtp-Source: ABdhPJxnE/pqj3QO69MByF2YrD9ikNDPss00dQ4RASL+JMTfC8Cfr7/1kQuQm7eTONt5cH/1r9SKJQCdh9cw1w2wgLQ= X-Received: by 2002:a17:906:1c10:: with SMTP id k16mr18307862ejg.511.1590418874968; Mon, 25 May 2020 08:01:14 -0700 (PDT) In-Reply-To: <87blmcrtku.fsf@linaro.org> Received-SPF: pass client-ip=2a00:1450:4864:20::631; envelope-from=gongyi.liao@gmail.com; helo=mail-ej1-x631.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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, FROM_EXCESS_BASE64=0.979, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:251366 Archived-At: --000000000000162fe505a67a407b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Can (native-comp-speed 3) help here? On Mon, May 25, 2020, 09:16 Alex Benn=C3=A9e wrote= : > > Andrea Corallo writes: > > > Alex Benn=C3=A9e writes: > > > >> Andrea Corallo writes: > >> > >>> Andrea Corallo writes: > >>> > > >> > |----------------+----------------+------------+---------+-------------+= -----------------| > >> | total | 130.97 | 7.81 | 5 | > 138.78 | 7.21 | > > > > Does that means that we are observing a 15x perf uplift? > > > > What's the uarch are we looking at? > > > > Simple uarch usually benefit more, 15x is a lot tho. > > I've recently updated the host OS to the latest Ubuntu LTS so I was > trying to gather details with the system emacs for comparison: > > "GNU Emacs 26.3 (build 2, aarch64-unknown-linux-gnu) > of 2020-03-26, modified by Debian" > > But I don't seem to be able to get through one iteration. Could it be a > .elc breakage between 26 and master or something else? > > Compiling... > /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/pidigits.el > Compiling > /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/pidigits.el...do= ne > Wrote > /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/pidigits.elc > Loading > /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/pidigits.elc...d= one > Loading > /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/bubble-no-cons..= .done > Loading > /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/bubble...done > Loading > /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/dhrystone...done > Loading > /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/fibn-rec...done > Loading > /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/fibn-tc...done > Loading > /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/fibn...done > Loading > /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/inclist...done > Loading > /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/listlen-tc...don= e > Loading > /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/nbody...done > Loading > /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/pidigits...done > Iteration number: 1 > Running bubble-no-cons... > Running bubble... > Running dhrystone... > Running fibn-rec... > Running fibn-tc... > Running fibn... > Running inclist... > Running listlen-tc... > Re-entering top level after C stack overflow > > I've tried various combinations of: > > (setq max-specpdl-size 650) > (setq max-lisp-eval-depth 400) > > but I'm mainly just guessing without any concrete idea of what numbers I > should be going for. Any ideas? > > -- > Alex Benn=C3=A9e > > --000000000000162fe505a67a407b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Can (native-comp-speed 3) help here?

On Mon, May 25, 2020= , 09:16 Alex Benn=C3=A9e <alex= .bennee@linaro.org> wrote:
<= br> Andrea Corallo <akrl@sdf.org> writes:

> Alex Benn=C3=A9e <alex.bennee@linaro.org> writes:
>
>> Andrea Corallo <akrl@sdf.org> writes:
>>
>>> Andrea Corallo <akrl@sdf.org> writes:
>>>
<snip>
>>=C2=A0 =C2=A0|----------------+----------------+------------+------= ---+-------------+-----------------|
>>=C2=A0 =C2=A0| total=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0130.97 |=C2=A0 =C2=A0 =C2=A0 =C2=A07.81 |=C2=A0 =C2= =A0 =C2=A0 =C2=A05 |=C2=A0 =C2=A0 =C2=A0 138.78 |=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 7.21 |
>
> Does that means that we are observing a 15x perf uplift?
>
> What's the uarch are we looking at?
>
> Simple uarch usually benefit more, 15x is a lot tho.

I've recently updated the host OS to the latest Ubuntu LTS so I was
trying to gather details with the system emacs for comparison:

=C2=A0 "GNU Emacs 26.3 (build 2, aarch64-unknown-linux-gnu)
=C2=A0 =C2=A0of 2020-03-26, modified by Debian"

But I don't seem to be able to get through one iteration. Could it be a=
.elc breakage between 26 and master or something else?

=C2=A0 Compiling... /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmark= s/pidigits.el
=C2=A0 Compiling /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/p= idigits.el...done
=C2=A0 Wrote /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/pidig= its.elc
=C2=A0 Loading /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/pid= igits.elc...done
=C2=A0 Loading /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/bub= ble-no-cons...done
=C2=A0 Loading /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/bub= ble...done
=C2=A0 Loading /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/dhr= ystone...done
=C2=A0 Loading /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/fib= n-rec...done
=C2=A0 Loading /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/fib= n-tc...done
=C2=A0 Loading /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/fib= n...done
=C2=A0 Loading /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/inc= list...done
=C2=A0 Loading /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/lis= tlen-tc...done
=C2=A0 Loading /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/nbo= dy...done
=C2=A0 Loading /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/pid= igits...done
=C2=A0 Iteration number: 1
=C2=A0 Running bubble-no-cons...
=C2=A0 Running bubble...
=C2=A0 Running dhrystone...
=C2=A0 Running fibn-rec...
=C2=A0 Running fibn-tc...
=C2=A0 Running fibn...
=C2=A0 Running inclist...
=C2=A0 Running listlen-tc...
=C2=A0 Re-entering top level after C stack overflow

I've tried various combinations of:

=C2=A0 (setq max-specpdl-size 650)
=C2=A0 (setq max-lisp-eval-depth 400)

but I'm mainly just guessing without any concrete idea of what numbers = I
should be going for. Any ideas?

--
Alex Benn=C3=A9e

--000000000000162fe505a67a407b--