home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.sys.raspberry-pi      Raspberry Pi computers & related hardwar      26,127 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 25,448 of 26,127   
   Theo to druck   
   Re: Video speed at a crawl   
   13 May 25 10:48:36   
   
   From: theom+news@chiark.greenend.org.uk   
      
   druck  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   
      
   --- SoupGate-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca