From nobody Thu Jul 01 23:41:34 2021 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 644E511F08CF for ; Thu, 1 Jul 2021 23:41:38 +0000 (UTC) (envelope-from sblachmann@gmail.com) Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GGF9G2HFmz3kTh; Thu, 1 Jul 2021 23:41:38 +0000 (UTC) (envelope-from sblachmann@gmail.com) Received: by mail-lj1-x231.google.com with SMTP id q4so10788256ljp.13; Thu, 01 Jul 2021 16:41:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=tlTGxkCaheZunq8mxxpZIHuatFMT4vrtPv8WgriT3aM=; b=qhHF6HMnxWn/tNs+LicgvCn+Z7Pq8MQUaPAPnh/mKCnPQko/YVYyn3PFyOi36Fwv7t 9O3+F4Vnvd8Pt3vi39oqoV9e5JzrDdvZenYvPkMp+SnouG6mFmX/YIyJqLKFgduK/Cd6 /dT4MbLpo4ZTdMEQOj6w8vbjy2oJ00J+9Y0CMqkt8jyzKaNEU1YnEc+BGv4u+X8hNSon hnP/7BqzDXVIUFsE4murLiA6WJALWorqvSVdHEdB1pDsTD2Eot9rGGlmPA0wckpTbTsZ M7Fq61piv6Ki01jHk2UM1wxgJ/Cloibrhq/Dbx0/vBBQ4pZt9lcvc6y0dYebWTuA7L7U +X0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=tlTGxkCaheZunq8mxxpZIHuatFMT4vrtPv8WgriT3aM=; b=WilXsZ7SYakvOStR/wTOudrt2KvmXjXuuYHUpRbleq+ddlQGF4hi46+nbPTQJTmaH+ HC2tVyNAiyaT2QKeBDkrDW0u6+7JpssvfOQH+wTYsj8RNw3/Xjnp6Xt2bXsaKzsvnz7U fx2jLC+F920KKuCmuRdUQRjpICBEcRvHNNxZfffTqP/syWIWmkHRSgnuFxKwI4+sewLt btBgkj1pyB9Vpn2TwXYzMqIo/rmFVmsRbgwFKv6aV8W+df1/YSL/opv/Y35HD0knWV6e hHrL3YUTPeUTFlKXvn/1WDoFYgjw3tRshcE+2x/mcjEcp3R86fQpHkJnayvD7RGNypmL IUtA== X-Gm-Message-State: AOAM532z59OeocrA4szGLPaT/AP7kA1bZVgTkuMrcIhHbSuJfzhKM4qO idfbn3ZX89kTBoOI3GD5lqMKJcwdwLkvMdIQXR+8mbm1 X-Google-Smtp-Source: ABdhPJzqJ52/TUaMfWPDM/i8fViNgooSslm/q21Ub0tmRvaPoOL+3lc9DCTIor/OViSVZhWqYfFVS87UfOJpYHXPq9U= X-Received: by 2002:a2e:8e2d:: with SMTP id r13mr1594906ljk.262.1625182895914; Thu, 01 Jul 2021 16:41:35 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Received: by 2002:a2e:9c1a:0:0:0:0:0 with HTTP; Thu, 1 Jul 2021 16:41:34 -0700 (PDT) In-Reply-To: <37fe2be4-a142-c49e-e1b0-0e9a8fd07a74@freebsd.org> References: <37fe2be4-a142-c49e-e1b0-0e9a8fd07a74@freebsd.org> From: Stefan Blachmann Date: Fri, 2 Jul 2021 01:41:34 +0200 Message-ID: Subject: Re: firefox is slow and uses a lot of memory To: Craig Leres Cc: freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4GGF9G2HFmz3kTh X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N FF is an insane memory hog. Still v. 88 here. According to "ps axu", currently uses ~25GB resident. "virtual size" ~60GB. BTW... # pkg install www/chromium Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. pkg: No packages available to install matching 'www/chromium' have been found in the repositories # Any idea why I cannot install Chromium on 12.2? On 7/1/21, Craig Leres wrote: > Starting with firefox 89 or so, I've found it starts using a LOT of > memory and actually makes the system sluggish and causes momentary X > freezes. I have 32G of ram/swap, is it reasonable for firefox to use 15G? > > Craig > > ice 95 % uname -a > FreeBSD ice.alameda.xse.com 12.2-RELEASE-p8 FreeBSD 12.2-RELEASE-p8 r18 > LBL amd64 > > > >>>> top -osize > > last pid: 71913; load averages: 0.52, 0.53, 0.47 up 1+00:29:04 > 12:46:04 > 215 processes: 2 running, 206 sleeping, 6 stopped, 1 zombie > CPU: 1.9% user, 0.0% nice, 0.3% system, 0.1% interrupt, 97.7% idle > Mem: 2931M Active, 3479M Inact, 1874M Laundry, 19G Wired, 1192M Buf, > 4116M Free > ARC: 13G Total, 3822M MFU, 8686M MRU, 172K Anon, 270M Header, 553M Other > 11G Compressed, 81G Uncompressed, 7.38:1 Ratio > Swap: 32G Total, 32G Free > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU > COMMAND > 63858 leres 35 20 0 15G 506M select 7 0:40 0.08% > firefox > 3610 leres 3 20 0 6268M 61M select 2 4:54 1.00% > Xorg > 3159 telegraf 19 23 0 4926M 47M uwait 3 0:26 0.00% > telegraf > 63845 leres 125 20 0 4612M 1794M select 7 18:49 4.61% > firefox > 33553 leres 60 20 0 4579M 2077M CPU2 2 9:18 3.10% > thunderb > 63859 leres 34 20 0 2916M 559M select 3 1:11 0.08% > firefox > 63857 leres 34 20 0 2812M 466M select 0 2:00 0.18% > firefox > 63850 leres 37 20 0 2723M 377M select 2 1:51 0.24% > firefox > 63849 leres 34 20 0 2708M 394M select 3 1:05 0.02% > firefox > 63856 leres 34 20 0 2608M 275M select 6 0:30 0.01% > firefox > 63861 leres 34 20 0 2491M 189M select 6 0:05 0.05% > firefox > 63847 leres 34 20 0 2471M 171M select 1 0:04 0.05% > firefox > 70198 leres 27 20 0 2436M 142M select 5 0:01 0.05% > firefox > 63860 leres 26 20 0 2422M 130M select 2 0:01 0.00% > firefox > 3132 influxd 18 52 0 997M 185M uwait 2 6:16 0.06% > influxd > 3214 root 6 20 0 510M 491M select 0 2:38 0.19% > pcscd > 2897 bind 26 52 0 349M 281M sigwai 0 0:15 0.00% > named > 22334 www 4 52 0 108M 77M select 3 0:02 0.00% > httpd > >