From owner-freebsd-questions@freebsd.org Mon Nov 9 11:25:32 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9E9A82EEFA0 for ; Mon, 9 Nov 2020 11:25:32 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) (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 4CV7vv46x2z4fyR for ; Mon, 9 Nov 2020 11:25:31 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-ed1-x52a.google.com with SMTP id p93so8313541edd.7 for ; Mon, 09 Nov 2020 03:25:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5bncISe4a8iHcfWtk7DErMQrhNU0+a++pdCykWAv1Fk=; b=LMh/Eph6fxRrEzBGLZJU6PdSZknJh0vhE9Ngm5w6D4xrYuLpIbrIKRSKx5qN46SutX nXW7wEOduBy7PSpUIfVh0j0LzONxh8AnBAGRiPFLf29WdoydE8/bENC8gnGz9JfODcUB 128c1qckx90dOAAQIh9UzzWrXeZNIigq0K5CAx6Db+/4iaqQaA6qeEqUcIi93/xhsgve iHxWIbq1xiqtEhmTCf4qAsTst/acJwDRQjiuVbix18lMoERH6jBOi6ubphaVFpEeB+Ph 8qUBzz65NkTIPPhQVLbrGJGTZaHum/36quo5JReXCDhh5eig5jpp9iPkzgiQWdpqGWiZ CjYw== 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=5bncISe4a8iHcfWtk7DErMQrhNU0+a++pdCykWAv1Fk=; b=ib0+aVsatAAQEijTthpZK6i+xrPPb9SZAXGqUcmKvBlhqWtEKPeEaoydcN/7OCCtpm giudnVrPIsTxXngE1xk2t09GdbbptRSB/yW9h+RFfB9acdsVVK1Perwn6YSwPtDQK+hE ceAncxkOp4XZmxD4RXvPOKyQPlaA1nJeAri3MiLm9VhCuEaMoib8o+BN/elBGagMHOA9 J1C3OK0pX2vtjyyCCSZ4pXI79WKe3NVQOkEB/oBNM3dnfcvSCzVRhfWv3rccgN7xBKYD FXnNpcJxaMDG4wTCVpzLl6B5jaEKK3fkHlYaBaV7bcqvjIZK80DaAW9B0YvgMhosff3g yqqQ== X-Gm-Message-State: AOAM531dtbBNt38rOE6Q9mtAd6cL0yPLzvsvwgm/jk0j281iSpfaXa3i Zm3DMCqprOjr7D9R+7q7EB1kI47Qd2Jvyb3isyLkjw== X-Google-Smtp-Source: ABdhPJwYl3zbghfYhYFMuVPi4gUDMMTH/oozKnq2xijfswRnh+/GDJHe4m7dvl6R9pcClwnWAFz5YJdipINce51iMQ4= X-Received: by 2002:a05:6402:1042:: with SMTP id e2mr15209725edu.320.1604921128585; Mon, 09 Nov 2020 03:25:28 -0800 (PST) MIME-Version: 1.0 References: <20201109052945.6fcfaf70.freebsd@edvax.de> <20201109090703.4642059f@DaemONX> In-Reply-To: <20201109090703.4642059f@DaemONX> From: Tomasz CEDRO Date: Mon, 9 Nov 2020 12:25:19 +0100 Message-ID: Subject: Re: Firefox memory usage To: Serpent7776 Cc: Polytropon , Mario Lobo , FreeBSD Questions Mailing List Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4CV7vv46x2z4fyR X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=LMh/Eph6; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2a00:1450:4864:20::52a) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-1.30 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[cedro.info]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::52a:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::52a:from]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::52a:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Nov 2020 11:25:32 -0000 On Mon, Nov 9, 2020 at 9:08 AM Serpent7776 wrote: > Never seen swapping caused by firefox. Some of the opened tabs are: slack, > discord, rocket chat, twitter, linkedIn. Tho only extensions I use are uBlock > origin, Disconnect and vimium. Also not using any desktop env, only > herbstluftwm. > > I'm still on 11.4-RELEASE-p4. I am not sure where did the change come from and what is the change exactly but modern computers and OSes are less responsive than 10 or 20 years ago. Maybe it is the switch between 11 and 12. I was using macOS since 2013 and all was fine until somewhere around 2017 I noticed those responsiveness lags. Like the input mechanisms was changed, interrupts replaced with polling (it seems like that from an electronics perspective). The computer seemed slow and I did not like enforcing changes, so I have moved to FreeBSD for good also on my desktop. But for some time it also get "the same way slow" here on FreeBSD. Is it something with memory management or task scheduling that changed substantially around 11 or 12 in FreeBSD? Can I change that? Maybe the way input is handled changed? Maybe this is Intel hardware sharing resources between CPU and GPU so when CPU gets buty all system gets laggy.. very slight changes like milliseconds but disturbing the closed feedback loop of interaction missing clicks etc. The hardware is the same but the experience is far worse with time. I also work on a desktop based FreeBSD workstation with AMD CPU and RADEON GPU also the Enlightenment WM and I can see no impact like this in preformance-vs-experience. There is a 16GB of RAM in a desktop pc instead 8GB as in a laptop pc but the laptop has M2 SSD and 20GB of swap. Swap is on a separate dedicated partition. All ZFS is ELI encrypted. I have no fun of working on this machine anymore and I don't really need to buy a new machine just to get things running smoothly. For working compiling and calculations I have a dedicated machine with 24CPU and 128GB RAM. These are not the basic hardware requirements for modern desktop everyday tasks OS right? Best regards :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info