From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109153 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 19:48:25 +0100 Message-ID: References: <3940DC89-A350-4034-B34A-1BDE401C46D5@elvenkind.com> <95C43E90-CC1A-430E-85F8-E08C25DB566B@scorecrow.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1202841006526436879==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14436"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 30 19:50:54 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 1kYZUD-0003dl-Ug for gctc-ntg-context-518@m.gmane-mx.org; Fri, 30 Oct 2020 19:50:53 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C82E41A9C1B; Fri, 30 Oct 2020 19:48:40 +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 cZNROx2rScIV; Fri, 30 Oct 2020 19:48:39 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D47011A9C1E; Fri, 30 Oct 2020 19:48:39 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 14CD41A9C1C for ; Fri, 30 Oct 2020 19:48:39 +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 LBI9FxO6YG9n for ; Fri, 30 Oct 2020 19:48:38 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.181; helo=mail-il1-f181.google.com; envelope-from=champignoom@gmail.com; receiver= Original-Received: from mail-il1-f181.google.com (mail-il1-f181.google.com [209.85.166.181]) (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 EAEF41A9C09 for ; Fri, 30 Oct 2020 19:48:37 +0100 (CET) Original-Received: by mail-il1-f181.google.com with SMTP id c11so7370384iln.9 for ; Fri, 30 Oct 2020 11:48:37 -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=cvTG4sLPBzJVsAybeXp7Z2SkSdREWCrgPx+TVA6YBMk=; b=F2aJAPIY/q5xLoahsjMTRzXhmwyJm8KUgsMAb8t9i73eKiV7r6LnwVFW350o6LSDvY B8mW69+gNzCNsqJNr5/ZvgxWH5UusMAKx74V/ON8J+zjZsXhgSFSz2V1Y7teUBJ5YHAi QaL5uQFtBSCAeuiBjUuaB3ykZlsjA4Q1LtVvbcGz2GQkDz1uBJ2aHub7WypJKekAy7GB WcWKNWqXLKcQbSPDoW8Lr/TG09W3eLihoeOC3uDsJh47ixYl0NKkNR6JeFox0CtznGUO c6Df3AEP1QzGARAhr+tIlnRpQvbCKRYZX9hkZ9C4eBm82iYg83olnt1cA6h6c8TWOwXI UF4A== 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=cvTG4sLPBzJVsAybeXp7Z2SkSdREWCrgPx+TVA6YBMk=; b=SDrlxex9BvUTauSd4UKf5D75xnyztx5+M37SZUru9hCnViijEQBEAk+kuUCFHE3Ma8 jp5TESjmXxi63GGegKaRGZTG6sbLjnAn892WMBzw6JoOqFh61wjUzkMNEdpf1xER73/6 SLZBke0+onlIxEDhdNjt9MfXcn0hzfPSEtfpU3JmMi4o+2o8LvuGC3gVlutIksXNV0FB hD0UMGxsnma1elWq/IcExUrjV/nCuV6AdijbKAJyZVpqtkOyYYm7UZH6m6XU1Pr4lPyq 1IVsY3HdIKDvAb1dkf2KNMsmBiGM0ZbfHxQH8aG/cX3U/Kf3MHibd0YXP4euwBoPStAF gV2w== X-Gm-Message-State: AOAM532B5J6zaEY8Mb52oBOdMcbGYiv/3IRT14d1QceIGFvA+EvFH4Tu kp1DKvZDbnIGbFFpBYFgY7MGlQCI17uMCy+ojITYiwo4biYuIg== X-Google-Smtp-Source: ABdhPJwuXVBGsicXveAR8sgsN76lVqNs5ROdlLlqMSGw21vPKqosJyI6ILu50wzBsVDjF+f8hm1/U4sfoPP7ZUe7w1w= X-Received: by 2002:a92:9e94:: with SMTP id s20mr3142675ilk.102.1604083716829; Fri, 30 Oct 2020 11:48:36 -0700 (PDT) In-Reply-To: <95C43E90-CC1A-430E-85F8-E08C25DB566B@scorecrow.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:109153 Archived-At: --===============1202841006526436879== Content-Type: multipart/alternative; boundary="00000000000021b88305b2e7d83f" --00000000000021b88305b2e7d83f Content-Type: text/plain; charset="UTF-8" Hi Bruce, > Could you please try their steps to reproduce - namely view a video in Firefox - and do so from a fresh reboot without starting or invoking ConTeXt so we can be sure that it is excluded from the equation? Thanks for the suggestion but firefox here has never had any issue playing a youtube video with 6 other video pages and 20 other news pages opened at the same time, and the bug can be reproduced here with just an about:blank and no video opened. On Fri, 30 Oct 2020 at 09:50, wrote: > Hi Sylvain, > > This bug tracker report < > https://bugzilla.mozilla.org/show_bug.cgi?id=1599329> 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. > > These symptoms seem to be very similar to yours. Could you please try > their steps to reproduce - namely view a video in Firefox - and do so from > a fresh reboot without starting or invoking ConTeXt so we can be sure that > it is excluded from the equation? > > If you get excessive CPU usage following their steps then it is Firefox at > fault. If you don't then it might not be - unfortunately it only narrows it > down to a 'might'. > > Regards, > > > On 29 Oct 2020, at 11:44, Sylvain Hubert wrote: > > > > I've just tried chromium which behaves a bit better but still > experiences a sudden raise of cpu usage from <10% to >70% during ~1s. > > I've also noticed that, even without any browser running, each time > after I compile a file with `context`, my terminal get stuck for ~1s. > > So I'm pretty sure this is a context bug, probably caused by unnecessary > excessive disk operations or something. > > > > On Thu, 29 Oct 2020 at 12:33, Taco Hoekwater wrote: > > > > > > > On 29 Oct 2020, at 12:19, Sylvain Hubert > wrote: > > > > > > And using safe mode here is just to make sure that the problem is not > caused by extensions. > > > The annoyance started long before I bothered opening firefox with an > extra argument. > > > > I am baffled then. I do not see the connection, at all. > > -- > Bruce Horrocks > Hampshire, UK > > > ___________________________________________________________________________________ > 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 > > ___________________________________________________________________________________ > --00000000000021b88305b2e7d83f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Bruce,

> Could you ple= ase try their steps to reproduce - namely view a video in=20 Firefox - and do so from a fresh reboot without starting or invoking=20 ConTeXt so we can be sure that it is excluded from the equation?
=
Thanks for the suggestion but firefox here has never had any= issue playing a youtube video with 6 other video pages and 20 other news p= ages opened at the same time, and the bug can be reproduced here with just = an about:blank and no video opened.

On Fri, 30 Oct 2020 at 09:50, = <ntg@scorecrow.com> wrote:
Hi Sylvain,

This bug tracker report <https://bugzilla.m= ozilla.org/show_bug.cgi?id=3D1599329> describes lagging / freezing (= which are symptoms of excessive CPU usage, of course) for versions of Firef= ox from 70 to 74 inclusive on Manjaro. They also report Chromium seeing the= same problem.

These symptoms seem to be very similar to yours. Could you please try their= steps to reproduce - namely view a video in Firefox - and do so from a fre= sh reboot without starting or invoking ConTeXt so we can be sure that it is= excluded from the equation?

If you get excessive CPU usage following their steps then it is Firefox at = fault. If you don't then it might not be - unfortunately it only narrow= s it down to a 'might'.

Regards,

> On 29 Oct 2020, at 11:44, Sylvain Hubert <champignoom@gmail.com> wrote:
>
> I've just tried chromium which behaves a bit better but still expe= riences a sudden raise of cpu usage from <10% to >70% during ~1s.
> I've also noticed that, even without any browser running, each tim= e after I compile a file with `context`, my terminal get stuck for ~1s.
> So I'm pretty sure this is a context bug, probably caused by unnec= essary excessive disk operations or something.
>
> On Thu, 29 Oct 2020 at 12:33, Taco Hoekwater <taco@elvenkind.com> wrote:
>
>
> > On 29 Oct 2020, at 12:19, Sylvain Hubert <champignoom@gmail.com> wrote:=
> >
> > And using safe mode here is just to make sure that the problem is= not caused by extensions.
> > The annoyance started long before I bothered opening firefox with= an extra argument.
>
> I am baffled then. I do not see the connection, at all.

--
Bruce Horrocks
Hampshire, UK

___________________________________________________________________________= ________
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
___________________________________________________________________________= ________
--00000000000021b88305b2e7d83f-- --===============1202841006526436879== 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== --===============1202841006526436879==--