Sujet : Re: Video speed at a crawl
De : theom+news (at) *nospam* chiark.greenend.org.uk (Theo)
Groupes : comp.sys.raspberry-piDate : 13. May 2025, 10:48:36
Autres entêtes
Organisation : University of Cambridge, England
Message-ID : <m-q*DvmcA@news.chiark.greenend.org.uk>
References : 1 2 3 4
User-Agent : tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-28-amd64 (x86_64))
druck <
news@druck.org.uk> wrote:
On 12/05/2025 10:41, Jesper wrote:
Thank you for your reply. HTOP sems to be a great tool, but it will take
some time to be familliar with it. A strange thing is I saw 45 lines
with /usr/lib/thunderbird/thunderbird listed with 5.7 % for MEM%. That
sums up to 250% :-) So I do not understand HTOP at all :-)
Browsers now run each tab as a separate process, so you will get many
lines of entries. Each process will share the read only code from the
first process, and have their own writeable data. Which is why they can
all add up to more than the total amount of memory in the machine, but
actually only be using a much lower proportion.
I think htop also shows individual threads - the lines which have identical
commands with identical amounts of RAM usage aren't separate processes,
they're multiple threads running inside the same address space. Since it's
one address space they all share the same RAM utilisation.
eg on this machine, the number of Firefox processes is:
$ ps -flye | grep firefox | wc -l
74
but the number of threads:
$ ps -flye -T | grep firefox | wc -l
2237
Theo