From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109156 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sylvain Hubert Newsgroups: gmane.comp.tex.context Subject: Re: Bug: context/mtxrun makes Firefox eat up cpu Date: Fri, 30 Oct 2020 20:14:02 +0100 Message-ID: References: <3940DC89-A350-4034-B34A-1BDE401C46D5@elvenkind.com> <95C43E90-CC1A-430E-85F8-E08C25DB566B@scorecrow.com> <6D6F2B63-5B6B-4083-822F-097266E5F6C3@elvenkind.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4892310187690706567==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2282"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 30 20:14:52 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kYZrQ-0000Sb-10 for gctc-ntg-context-518@m.gmane-mx.org; Fri, 30 Oct 2020 20:14:52 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A66031A9C3B; Fri, 30 Oct 2020 20:14:18 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1sTP3rzE0ttD; Fri, 30 Oct 2020 20:14:16 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 56ECA1A9C2C; Fri, 30 Oct 2020 20:14:16 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EDF2E1A9C23 for ; Fri, 30 Oct 2020 20:14:15 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yLe1GGj43her for ; Fri, 30 Oct 2020 20:14:15 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.43; helo=mail-io1-f43.google.com; envelope-from=champignoom@gmail.com; receiver= Original-Received: from mail-io1-f43.google.com (mail-io1-f43.google.com [209.85.166.43]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id E4F541A9C04 for ; Fri, 30 Oct 2020 20:14:14 +0100 (CET) Original-Received: by mail-io1-f43.google.com with SMTP id s24so1790325ioj.13 for ; Fri, 30 Oct 2020 12:14:14 -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; bh=Gr12n0uKNkvugfp09xxShCW0Nzf8khSoS4K/1xG0NwY=; b=TPYHoY35GCZQudLNG32qblh/PhekSdAAyWkcQZ4BQQNFieAUoGkwlix20Dp3MHOKOF 7d0vJ+0yqQyE5xCD2M/qvhTjcP7HDh0uzMYlWWJYeBbX0TXTdSvEPMdHtbZoer0Q8a/c vjD3bcktAwIB6JZP3FYvIjz/suDhg2c5AgH8QMCg3ELjow2ab3eESBBIn5L5+9cKpvqC tnVN6/EgTecFr9uG3bMCG7/Xhlza8JdxdMETwE1Gqeda0sar8SNIBKr7OE1V7n8vuizJ Naj3/JjTSal4dk7mGgWfqxF+zNmuxj+faH+FsoJDnrfmIsY/eTPSJPxESAbQrDkAMmaF Anag== 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; bh=Gr12n0uKNkvugfp09xxShCW0Nzf8khSoS4K/1xG0NwY=; b=qO2vuRHhaaIqJ7OTpliHGjmsKrf1kbEwUFgRNpkxnGjeklSGLnvr7zAEbmuk3ul89O aRjQhLNLKNoLm4ul/pf9ahxvW2t93+cfuBcZT1Q6GVQBcehCAhqMYQPIIHXfh3gKkfVc s+KOcG5xbwi4NfvDmUlqERjebbAwmM8sHyzgaBTyDzc7dP4FC9L2t6G14YeNN0XsfXYF 961dEnBzV2Rct9CgHtUBc3b0c+eZ9VgcF0c38Xsane99FzimtTBLTCA4aw8orn2Qmnut cg6Ld6WQ7/TUlKMTr7q9LCvI20aKK59QKUmoVol6WrcqwmHOi43pEP+WKJbdXWK08hAU +hSg== X-Gm-Message-State: AOAM533CY/+I1VwMyhKbRthJeWIWPLHWziruoH9Qn4BVEH67AHWgKlzb fCjJzL3br9c0oq6pUP9YKRNtdyU9WwmEuWklMMMOmUa6eC4= X-Google-Smtp-Source: ABdhPJzDJwNqoj9yACuCbOGv1ZV4uIb3Y+WFPlzXIfGR4HdfWZbxy9oxmdIvM87XTP9BNXmZyNWtUpUUh+TCl1jTZYU= X-Received: by 2002:a6b:1542:: with SMTP id 63mr2953854iov.64.1604085253680; Fri, 30 Oct 2020 12:14:13 -0700 (PDT) In-Reply-To: <6D6F2B63-5B6B-4083-822F-097266E5F6C3@elvenkind.com> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:109156 Archived-At: --===============4892310187690706567== Content-Type: multipart/alternative; boundary="000000000000bc34ed05b2e8336b" --000000000000bc34ed05b2e8336b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable A few new experiments: 1. `firefox --headless` stays quite no matter what 2. when `gimp` is running, `context --help` causes a rise of cpu usage of gimp up to 60% for ~1s 3. when only xfce4-terminal is running, I tried `context --help` for a few times and for each time, one of the following experiences a cpu usage rise up to >50% for ~1s: libwhispermenu.so libpulseaudio.so xfce4-appfinder nm-applet Thunar xfce4-terminal On Fri, 30 Oct 2020 at 10:07, Taco Hoekwater wrote: > > > > On 30 Oct 2020, at 09:34, ntg@scorecrow.com wrote: > > > > Hi Sylvain, > > > > This bug tracker report < > https://bugzilla.mozilla.org/show_bug.cgi?id=3D1599329> describes lagging= / > freezing (which are symptoms of excessive CPU usage, of course) for > versions of Firefox from 70 to 74 inclusive on Manjaro. They also report > Chromium seeing the same problem. > > This basically says it is a bug in the video driver. > > You could test that theory by switching to a text terminal for running th= e > =E2=80=98context=E2=80=99 command (assuming the text-only terminal is sti= ll accessible in > Manjaro) and see whether the output of =E2=80=98context =E2=80=94help=E2= =80=99 causes lag there as > well. Even a really, really crappy video driver should be able to handle > the output stream in full-screen text mode, so if it still lags in that > environment, that moves the needle toward a problem in ConTeXt (however > unlikely Hans and I think that is). > > Best wishes, > Taco > > _________________________________________________________________________= __________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > _________________________________________________________________________= __________ > --000000000000bc34ed05b2e8336b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
A few new experiments:
1. `firefox --headle= ss` stays quite no matter what
2. when `gimp` is running, `co= ntext --help` causes a rise of cpu usage of gimp up to 60% for ~1s
3. when only xfce4-terminal is running, I tried `context --help` for = a few times and for each time, one of the following experiences a cpu usage= rise up to >50% for ~1s:

libwhis= permenu.so
libpulseaudio.so
xfce4-appfinder
n= m-applet
Thunar
xfce4-terminal
On Fri, 3= 0 Oct 2020 at 10:07, Taco Hoekwater <taco@elvenkind.com> wrote:


> On 30 Oct 2020, at 09:34, ntg@scorecrow.com wrote:
>
> Hi Sylvain,
>
> This bug tracker report <https://bugzi= lla.mozilla.org/show_bug.cgi?id=3D1599329> describes lagging / freez= ing (which are symptoms of excessive CPU usage, of course) for versions of = Firefox from 70 to 74 inclusive on Manjaro. They also report Chromium seein= g the same problem.

This basically says it is a bug in the video driver.

You could test that theory by switching to a text terminal for running the = =E2=80=98context=E2=80=99 command (assuming the text-only terminal is still= accessible in Manjaro) and see whether the output of =E2=80=98context =E2= =80=94help=E2=80=99 causes lag there as well. Even a really, really crappy = video driver should be able to handle the output stream in full-screen text= mode, so if it still lags in that environment, that moves the needle towar= d a problem in ConTeXt (however unlikely Hans and I think that is).

Best wishes,
Taco
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--000000000000bc34ed05b2e8336b-- --===============4892310187690706567== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============4892310187690706567==--