Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #262912 > unrolled thread

Performance of my computer

Started byWilliam Torrez Corea <willitc9888@gmail.com>
First post2023-10-30 19:50 +0100
Last post2023-10-31 04:30 +0100
Articles 20 on this page of 25 — 11 participants

Back to article view | Back to linux.debian.user


Contents

  Performance of my computer William Torrez Corea <willitc9888@gmail.com> - 2023-10-30 19:50 +0100
    Re: Performance of my computer Greg Wooledge <greg@wooledge.org> - 2023-10-30 20:00 +0100
      Re: Performance of my computer William Torrez Corea <willitc9888@gmail.com> - 2023-10-30 20:10 +0100
        Re: Performance of my computer William Torrez Corea <willitc9888@gmail.com> - 2023-10-30 23:00 +0100
      Re: Performance of my computer Jeffrey Walton <noloader@gmail.com> - 2023-10-30 21:00 +0100
      Re: Performance of my computer Max Nikulin <manikulin@gmail.com> - 2023-10-31 08:10 +0100
    Re: Performance of my computer David Christensen <dpchrist@holgerdanske.com> - 2023-10-30 20:10 +0100
      Re: Performance of my computer Michael Kjörling <2695bd53d63c@ewoof.net> - 2023-10-30 20:30 +0100
        Re: Performance of my computer William Torrez Corea <willitc9888@gmail.com> - 2023-10-30 20:40 +0100
      Re: Performance of my computer David Christensen <dpchrist@holgerdanske.com> - 2023-10-31 00:50 +0100
    Re: Performance of my computer Michael Kjörling <2695bd53d63c@ewoof.net> - 2023-10-30 20:30 +0100
      Re: Performance of my computer piorunz <piorunz@gmx.com> - 2023-10-30 20:40 +0100
      Re: Performance of my computer William Torrez Corea <willitc9888@gmail.com> - 2023-10-30 20:40 +0100
        Re: Performance of my computer Michael Kjörling <2695bd53d63c@ewoof.net> - 2023-10-30 20:50 +0100
          Re: Performance of my computer William Torrez Corea <willitc9888@gmail.com> - 2023-10-30 21:20 +0100
          Re: Performance of my computer piorunz <piorunz@gmx.com> - 2023-10-31 01:10 +0100
            Re: Performance of my computer Michael Kjörling <2695bd53d63c@ewoof.net> - 2023-10-31 13:20 +0100
              Re: Performance of my computer piorunz <piorunz@gmx.com> - 2023-10-31 13:50 +0100
    Re: Performance of my computer piorunz <piorunz@gmx.com> - 2023-10-30 20:50 +0100
      Re: Performance of my computer Dan Purgert <dan@djph.net> - 2023-10-31 00:30 +0100
      Re: Performance of my computer piorunz <piorunz@gmx.com> - 2023-10-31 01:10 +0100
        Re: Performance of my computer John Hasler <john@sugarbit.com> - 2023-10-31 01:30 +0100
      Re: Performance of my computer Stefan Monnier <monnier@iro.umontreal.ca> - 2023-10-31 04:00 +0100
      Re: Performance of my computer Mike Castle <dalgoda+debian@gmail.com> - 2023-10-31 06:40 +0100
    kill -9 firefox (Re: Performance of my computer) Max Nikulin <manikulin@gmail.com> - 2023-10-31 04:30 +0100

Page 1 of 2  [1] 2  Next page →


#262912 — Performance of my computer

FromWilliam Torrez Corea <willitc9888@gmail.com>
Date2023-10-30 19:50 +0100
SubjectPerformance of my computer
Message-ID<HuFuN-1WQx-5@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

How can improve the performance of my computer?

I have problems when I have a lot of tabs opened in my browser, i am using
the libreoffice or playing on Steam. The system blew up.

My browser: Firefox Browser 115.4.0esr (64 bit)
My system: Linux 5.10.0-26-amd64 1 SMP Debian 5.10.197-1 (2023-09-29)
x86_64 GNU/Linux

My browser consumes 655MB of memory and uses 34% of the CPU.

The system uses 30% CPU, 265 Process, 50% memory and swap 9%.

I haven't partitioned my hard disk.

I have Toshiba L200 Laptop PC Hard drive 1 TB, 5400 rpm, 128 MB/8MB buffer

-- 

With kindest regards, William.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀

[toc] | [next] | [standalone]


#262915

FromGreg Wooledge <greg@wooledge.org>
Date2023-10-30 20:00 +0100
Message-ID<HuFEt-1WTZ-3@gated-at.bofh.it>
In reply to#262912
On Mon, Oct 30, 2023 at 12:45:38PM -0600, William Torrez Corea wrote:
> I have problems when I have a lot of tabs opened in my browser, i am using
> the libreoffice or playing on Steam. The system blew up.

Sounds like you want more memory.

> My browser: Firefox Browser 115.4.0esr (64 bit)
> My system: Linux 5.10.0-26-amd64 1 SMP Debian 5.10.197-1 (2023-09-29)
> x86_64 GNU/Linux
> 
> My browser consumes 655MB of memory and uses 34% of the CPU.
> 
> The system uses 30% CPU, 265 Process, 50% memory and swap 9%.
> 
> I haven't partitioned my hard disk.
> 
> I have Toshiba L200 Laptop PC Hard drive 1 TB, 5400 rpm, 128 MB/8MB buffer

That doesn't sound right.  128 MB of RAM?  I think you must have more
than that, or else you wouldn't have been able to run all those programs
*at all*, never mind worrying about performance.

What does "free -m" say?

[toc] | [prev] | [next] | [standalone]


#262917

FromWilliam Torrez Corea <willitc9888@gmail.com>
Date2023-10-30 20:10 +0100
Message-ID<HuFO9-1Xde-1@gated-at.bofh.it>
In reply to#262915

[Multipart message — attachments visible in raw view] — view raw

On Mon, Oct 30, 2023 at 12:58 PM Greg Wooledge <greg@wooledge.org> wrote:

> On Mon, Oct 30, 2023 at 12:45:38PM -0600, William Torrez Corea wrote:
> > I have problems when I have a lot of tabs opened in my browser, i am
> using
> > the libreoffice or playing on Steam. The system blew up.
>
> Sounds like you want more memory.
>
> > My browser: Firefox Browser 115.4.0esr (64 bit)
> > My system: Linux 5.10.0-26-amd64 1 SMP Debian 5.10.197-1 (2023-09-29)
> > x86_64 GNU/Linux
> >
> > My browser consumes 655MB of memory and uses 34% of the CPU.
> >
> > The system uses 30% CPU, 265 Process, 50% memory and swap 9%.
> >
> > I haven't partitioned my hard disk.
> >
> > I have Toshiba L200 Laptop PC Hard drive 1 TB, 5400 rpm, 128 MB/8MB
> buffer
>
> That doesn't sound right.  128 MB of RAM?  I think you must have more
> than that, or else you wouldn't have been able to run all those programs
> *at all*, never mind worrying about performance.
>
> What does "free -m" say?
>
>
      total        used        free      shared  buff/cache   available
Mem:           7.7Gi       3.6Gi       3.2Gi       311Mi       824Mi
3.5Gi
Swap:          8.8Gi       1.5Gi       7.3Gi

-- 

With kindest regards, William.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀

[toc] | [prev] | [next] | [standalone]


#262932

FromWilliam Torrez Corea <willitc9888@gmail.com>
Date2023-10-30 23:00 +0100
Message-ID<HuIsF-1YBN-7@gated-at.bofh.it>
In reply to#262917

[Multipart message — attachments visible in raw view] — view raw

On Mon, Oct 30, 2023 at 3:18 PM Ximo <ximolistas@yahoo.es> wrote:

> El 30/10/2023 a las 20:02, William Torrez Corea escribió:
> >
> >        total        used        free      shared  buff/cache   available
> > Mem:           7.7Gi       3.6Gi       3.2Gi       311Mi       824Mi
> >    3.5Gi
> > Swap:          8.8Gi       1.5Gi       7.3Gi
> >
>
> It seems that the system is swapping a lot on a slow (5400 rpm) HD.
>
> Try top to see the memory usage for processes
> https://superuser.com/questions/270197/top-command-memory-usage
>
> Best regards,
>
> --
> ximolistas@yahoo.es
>
>
>
top - 15:57:10 up 21:36,  1 user,  load average: 0.60, 0.85, 1.21
Tasks: 260 total,   1 running, 256 sleeping,   0 stopped,   3 zombie
%Cpu(s):  5.1 us,  2.4 sy,  0.0 ni, 92.4 id,  0.0 wa,  0.0 hi,  0.1 si,
 0.0 st
MiB Mem :   7850.1 total,   2831.8 free,   3847.5 used,   1170.8 buff/cache
MiB Swap:   9011.2 total,   7657.6 free,   1353.6 used.   3257.5 avail Mem

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+
COMMAND
 143087 lulu      20   0 3060484 468828 119656 S  15.3   5.8   6:25.19
Isolate+
   2666 lulu      20   0 1421448  10284   7708 S   5.7   0.1  43:06.96
pulseau+
  32542 lulu      20   0  349284  14676  11392 S   3.0   0.2   9:59.80
Utility+
   1485 root      20   0  936900  64764  40344 S   2.7   0.8  68:22.64 Xorg

   3019 lulu      20   0  491480  28088  20212 S   2.3   0.3   0:24.43
xfce4-t+
  32027 lulu      20   0 5059604 822860 172116 S   2.3  10.2 175:15.62
firefox+
   2156 mysql     20   0 2276856  14648    728 S   0.7   0.2   8:29.98
mysqld
 126805 lulu      20   0 2993084 154028  59916 S   0.7   1.9   0:58.13
Isolate+
 134249 lulu      20   0 3308900 592624 116568 S   0.7   7.4   6:54.68
Isolate+
 154021 lulu      20   0 2429156  96280  76276 S   0.7   1.2   0:00.28
Isolate+
   2920 lulu      20   0  165828    652    516 S   0.3   0.0   0:12.66
at-spi2+
   2926 lulu      20   0  621184   1688    884 S   0.3   0.0   0:01.58
xdg-des+
   2960 lulu      20   0  613740  23856  12308 S   0.3   0.3  19:48.77
xfwm4
   3008 lulu      20   0  420116   9960   6572 S   0.3   0.1   0:06.14
okular
   3038 lulu      20   0  473992  20788  13020 S   0.3   0.3   2:32.24
panel-8+
   3058 lulu      20   0  193244   8324   4728 S   0.3   0.1   2:58.18
panel-2+
   3194 lulu      20   0  502284  11048   6016 S   0.3   0.1   0:12.31
kdeconn+
-- 

With kindest regards, William.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀

[toc] | [prev] | [next] | [standalone]


#262927

FromJeffrey Walton <noloader@gmail.com>
Date2023-10-30 21:00 +0100
Message-ID<HuGAx-1XsY-11@gated-at.bofh.it>
In reply to#262915
> On Mon, Oct 30, 2023 at 12:45:38PM -0600, William Torrez Corea wrote:
> > I have problems when I have a lot of tabs opened in my browser, i am using
> > the libreoffice or playing on Steam. The system blew up.
>
> ...
> > My browser: Firefox Browser 115.4.0esr (64 bit)
> > My system: Linux 5.10.0-26-amd64 1 SMP Debian 5.10.197-1 (2023-09-29)
> > x86_64 GNU/Linux
> >
> > My browser consumes 655MB of memory and uses 34% of the CPU.

OP might try another browser that is not so resource hungry:
<https://wiki.debian.org/WebBrowsers>.

Sorry to hang this of GW's post. I cannot find the original in my Inbox.

Jeff

[toc] | [prev] | [next] | [standalone]


#262953

FromMax Nikulin <manikulin@gmail.com>
Date2023-10-31 08:10 +0100
Message-ID<HuR2V-24ok-3@gated-at.bofh.it>
In reply to#262915
On 31/10/2023 01:57, Greg Wooledge wrote:
> On Mon, Oct 30, 2023 at 12:45:38PM -0600, William Torrez Corea wrote:
>> I haven't partitioned my hard disk.
>>
>> I have Toshiba L200 Laptop PC Hard drive 1 TB, 5400 rpm, 128 MB/8MB buffer
> 
> That doesn't sound right.  128 MB of RAM?

It is buffer size of the hard drive with shingled magnetic recording. 
Otherwise random write performance would be disaster.

It was discussed a year ago

William Torrez Corea to debian-user. How to can make a partition in my 
hard disk ? Wed, 19 Oct 2022 15:22:49 -0600.
> I want to improve my partition; my OS is very slow. 

https://lists.debian.org/msgid-search/CAGiORHdshDMmOrDvOsudzR8FYDau42392Ek=MWVQt08M9FS8Lw@mail.gmail.com

[toc] | [prev] | [next] | [standalone]


#262916

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2023-10-30 20:10 +0100
Message-ID<HuFO9-1Xde-3@gated-at.bofh.it>
In reply to#262912
On 10/30/23 11:45, William Torrez Corea wrote:
> How can improve the performance of my computer?
> 
> I have problems when I have a lot of tabs opened in my browser, i am using
> the libreoffice or playing on Steam. The system blew up.
> 
> My browser: Firefox Browser 115.4.0esr (64 bit)
> My system: Linux 5.10.0-26-amd64 1 SMP Debian 5.10.197-1 (2023-09-29)
> x86_64 GNU/Linux
> 
> My browser consumes 655MB of memory and uses 34% of the CPU.
> 
> The system uses 30% CPU, 265 Process, 50% memory and swap 9%.
> 
> I haven't partitioned my hard disk.
> 
> I have Toshiba L200 Laptop PC Hard drive 1 TB, 5400 rpm, 128 MB/8MB buffer


Please run the following command and reply with the console session 
(prompt, command entered, output displayed):

# cat /etc/debian_version ; uname -a


What is the make and model of the computer?


What processor does it have?


What memory modules are installed?


STFW "Toshiba L200" I see:

 
https://www.toshiba-storage.com/products/toshiba-internal-hard-drives-l200/

Replacing a HDD with an SSD would improve responsiveness when booting, 
starting applications, opening and saving files, backing up, imaging, etc..


David

[toc] | [prev] | [next] | [standalone]


#262919

FromMichael Kjörling <2695bd53d63c@ewoof.net>
Date2023-10-30 20:30 +0100
Message-ID<HuG7w-1Xjy-9@gated-at.bofh.it>
In reply to#262916
On 30 Oct 2023 12:04 -0700, from dpchrist@holgerdanske.com (David Christensen):
> # cat /etc/debian_version ; uname -a

The kernel and Firefox version specified in the original question
match current Bullseye, so that seems a likely guess.

-- 
Michael Kjörling                     🔗 https://michael.kjorling.se
“Remember when, on the Internet, nobody cared that you were a dog?”

[toc] | [prev] | [next] | [standalone]


#262921

FromWilliam Torrez Corea <willitc9888@gmail.com>
Date2023-10-30 20:40 +0100
Message-ID<HuGhb-1Xmy-7@gated-at.bofh.it>
In reply to#262919

[Multipart message — attachments visible in raw view] — view raw

On Mon, Oct 30, 2023 at 1:25 PM Michael Kjörling <2695bd53d63c@ewoof.net>
wrote:

> On 30 Oct 2023 12:04 -0700, from dpchrist@holgerdanske.com (David
> Christensen):
> > # cat /etc/debian_version ; uname -a
>
> The kernel and Firefox version specified in the original question
> match current Bullseye, so that seems a likely guess.
>
> --
> Michael Kjörling                     🔗 https://michael.kjorling.se
> “Remember when, on the Internet, nobody cared that you were a dog?”
>
>
11.8
Linux  5.10.0-26-amd64 #1 SMP Debian 5.10.197-1 (2023-09-29) x86_64
GNU/Linux

-- 

With kindest regards, William.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀

[toc] | [prev] | [next] | [standalone]


#262938

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2023-10-31 00:50 +0100
Message-ID<HuKb8-1ZJK-3@gated-at.bofh.it>
In reply to#262916
On 10/30/23 12:04, David Christensen wrote:
> On 10/30/23 11:45, William Torrez Corea wrote:
>> How can improve the performance of my computer?
>>
>> I have problems when I have a lot of tabs opened in my browser, i am 
>> using
>> the libreoffice or playing on Steam. The system blew up.
>>
>> My browser: Firefox Browser 115.4.0esr (64 bit)
>> My system: Linux 5.10.0-26-amd64 1 SMP Debian 5.10.197-1 (2023-09-29)
>> x86_64 GNU/Linux
>>
>> My browser consumes 655MB of memory and uses 34% of the CPU.
>>
>> The system uses 30% CPU, 265 Process, 50% memory and swap 9%.
>>
>> I haven't partitioned my hard disk.
>>
>> I have Toshiba L200 Laptop PC Hard drive 1 TB, 5400 rpm, 128 MB/8MB 
>> buffer
> 
> 
> Please run the following command and reply with the console session 
> (prompt, command entered, output displayed):
> 
> # cat /etc/debian_version ; uname -a


On 10/30/23 12:38, William Torrez Corea wrote:
 > 11.8
 > Linux  5.10.0-26-amd64 #1 SMP Debian 5.10.197-1 (2023-09-29) x86_64
 > GNU/Linux


While that does appear to be console output for the command I suggested, 
your post is incomplete -- you did not post the prompt and the command.


This is an example of what I was requesting:

2023-10-30 15:43:45 root@taz ~
# cat /etc/debian_version ; uname -a
11.8
Linux taz 5.10.0-26-amd64 #1 SMP Debian 5.10.197-1 (2023-09-29) x86_64 
GNU/Linux


Note that I have set the environment variable "PS1" in the shell 
start-up file ".profile" so that the shell prompt provides useful 
information -- date, time, username, hostname, and current working 
directory:

2023-10-30 15:44:35 root@taz ~
# grep PS1 .profile
export PS1='\n\D{%Y-%m-%d %H:%M:%S} ${USER}@\h \w\n\$ '


Providing good context in your posts will make your posts more useful.


> What is the make and model of the computer?


If you answer this question, we can explore options such as upgrading 
the processor, memory, storage, graphics card, etc..


> What processor does it have?

On 10/30/23 12:36, William Torrez Corea wrote:
 > model name : Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz


Again, posting the prompt and command would help us understand the output.


Looking up the specifications on the Intel web site:

 
https://ark.intel.com/content/www/us/en/ark/products/75460/intel-core-i74500u-processor-4m-cache-up-to-3-00-ghz.html


That is a 10-year old ultra-low power laptop processor.  It should be 
adequate for light to moderate desktop use, but heavy web sites, heavy 
office documents, and especially games are going to crush it.


> What memory modules are installed?

If you answer this question, we can explore options such as upgrading 
the memory modules.


> STFW "Toshiba L200" I see:
>
> https://www.toshiba-storage.com/products/toshiba-internal-hard-drives-l200/
>
> Replacing a HDD with an SSD would improve responsiveness when booting, 
> starting applications, opening and saving files, backing up, imaging, etc..


David

[toc] | [prev] | [next] | [standalone]


#262918

FromMichael Kjörling <2695bd53d63c@ewoof.net>
Date2023-10-30 20:30 +0100
Message-ID<HuG7w-1Xjy-7@gated-at.bofh.it>
In reply to#262912
On 30 Oct 2023 12:45 -0600, from willitc9888@gmail.com (William Torrez Corea):
> I have problems when I have a lot of tabs opened in my browser, i am using
> the libreoffice or playing on Steam. The system blew up.

I'm fairly certain that when you say that "the system blew up", you do
not mean that it literally exploded. Do you mean crashed, or slowed
down considerably?


> My browser: Firefox Browser 115.4.0esr (64 bit)
> My system: Linux 5.10.0-26-amd64 1 SMP Debian 5.10.197-1 (2023-09-29)
> x86_64 GNU/Linux
> 
> My browser consumes 655MB of memory and uses 34% of the CPU.

Unfortunately modern browsers as a rule are quite memory-hungry. My
current Firefox instance (same version) is using ~1GB of memory, and I
don't even have a lot of tabs open or have had it running for
particularly long. Still, 7-8 GB of RAM (as indicated in your response
to Greg) and only half of it in use should be enough for most everyday
needs.


> The system uses 30% CPU, 265 Process, 50% memory and swap 9%.

None of those are particularly high; and you certainly aren't
bottlenecked on any of them. It's normal to see some swap usage even
if you aren't actually using all RAM, especially if the system was
under memory pressure earlier (since the most recent reboot).

Searching for "Toshiba L200" doesn't really tell me anything about
your computer, but since it has a 1 TB 5400 rpm HDD, I would guess
that your computer is not the most up-to-date model. That's fine;
Linux in generally tends to be a good choice for slightly older
computers. However, if you have a processor with few cores (maybe even
just two or four cores), it's entirely possible that something is
bottlenecking on a _single core_. Given your figure of 30% CPU usage,
I wouldn't be surprised if your system has a 4-core CPU and some
single-thread process is bottlenecking on single-core performance.
Depending on the exact tool, you'd see either a single core fully
utilized and all others idle as 25% utilization, or as 100%
utilization (with all four cores being fully utilized then being shown
as 100% or 400% CPU usage, respectively).

Could you show us the output of these four commands executed in a
terminal _while you're doing something which you feel is slow_?

grep -m 1 -e '^model name' /proc/cpuinfo

grep -e '^cpu MHz' /proc/cpuinfo

free -m

grep -c '^processor' /proc/cpuinfo 

That will tell us what CPU and how much memory and swap your computer
has.

-- 
Michael Kjörling                     🔗 https://michael.kjorling.se
“Remember when, on the Internet, nobody cared that you were a dog?”

[toc] | [prev] | [next] | [standalone]


#262920

Frompiorunz <piorunz@gmx.com>
Date2023-10-30 20:40 +0100
Message-ID<HuGhb-1Xmy-3@gated-at.bofh.it>
In reply to#262918
On 30/10/2023 19:36, William Torrez Corea wrote:
> total        used        free      shared  buff/cache   available
> Mem:           7.7Gi       4.3Gi       2.6Gi       373Mi       830Mi     
>    2.7Gi
> Swap:          8.8Gi       1.4Gi       7.4Gi

Last step: Run command:
sudo inxi -m

And paste the result, then we will know what are your options to expand RAM.

-- 
With kindest regards, Piotr.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀⠀⠀

[toc] | [prev] | [next] | [standalone]


#262922

FromWilliam Torrez Corea <willitc9888@gmail.com>
Date2023-10-30 20:40 +0100
Message-ID<HuGhb-1Xmy-5@gated-at.bofh.it>
In reply to#262918

[Multipart message — attachments visible in raw view] — view raw

On Mon, Oct 30, 2023 at 1:23 PM Michael Kjörling <2695bd53d63c@ewoof.net>
wrote:

> On 30 Oct 2023 12:45 -0600, from willitc9888@gmail.com (William Torrez
> Corea):
> > I have problems when I have a lot of tabs opened in my browser, i am
> using
> > the libreoffice or playing on Steam. The system blew up.
>
> I'm fairly certain that when you say that "the system blew up", you do
> not mean that it literally exploded. Do you mean crashed, or slowed
> down considerably?
>
>
> > My browser: Firefox Browser 115.4.0esr (64 bit)
> > My system: Linux 5.10.0-26-amd64 1 SMP Debian 5.10.197-1 (2023-09-29)
> > x86_64 GNU/Linux
> >
> > My browser consumes 655MB of memory and uses 34% of the CPU.
>
> Unfortunately modern browsers as a rule are quite memory-hungry. My
> current Firefox instance (same version) is using ~1GB of memory, and I
> don't even have a lot of tabs open or have had it running for
> particularly long. Still, 7-8 GB of RAM (as indicated in your response
> to Greg) and only half of it in use should be enough for most everyday
> needs.
>
>
> > The system uses 30% CPU, 265 Process, 50% memory and swap 9%.
>
> None of those are particularly high; and you certainly aren't
> bottlenecked on any of them. It's normal to see some swap usage even
> if you aren't actually using all RAM, especially if the system was
> under memory pressure earlier (since the most recent reboot).
>
> Searching for "Toshiba L200" doesn't really tell me anything about
> your computer, but since it has a 1 TB 5400 rpm HDD, I would guess
> that your computer is not the most up-to-date model. That's fine;
> Linux in generally tends to be a good choice for slightly older
> computers. However, if you have a processor with few cores (maybe even
> just two or four cores), it's entirely possible that something is
> bottlenecking on a _single core_. Given your figure of 30% CPU usage,
> I wouldn't be surprised if your system has a 4-core CPU and some
> single-thread process is bottlenecking on single-core performance.
> Depending on the exact tool, you'd see either a single core fully
> utilized and all others idle as 25% utilization, or as 100%
> utilization (with all four cores being fully utilized then being shown
> as 100% or 400% CPU usage, respectively).
>
> Could you show us the output of these four commands executed in a
> terminal _while you're doing something which you feel is slow_?
>
> grep -m 1 -e '^model name' /proc/cpuinfo
>
> grep -e '^cpu MHz' /proc/cpuinfo
>
> free -m
>
> grep -c '^processor' /proc/cpuinfo
>
> That will tell us what CPU and how much memory and swap your computer
> has.
>
> --
> Michael Kjörling                     🔗 https://michael.kjorling.se
> “Remember when, on the Internet, nobody cared that you were a dog?”
>
>

model name : Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz

cpu MHz : 798.205
cpu MHz : 798.173
cpu MHz : 798.250
cpu MHz : 798.223

total        used        free      shared  buff/cache   available
Mem:           7.7Gi       4.3Gi       2.6Gi       373Mi       830Mi
2.7Gi
Swap:          8.8Gi       1.4Gi       7.4Gi

4
-- 

With kindest regards, William.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀

[toc] | [prev] | [next] | [standalone]


#262924

FromMichael Kjörling <2695bd53d63c@ewoof.net>
Date2023-10-30 20:50 +0100
Message-ID<HuGqR-1XpU-5@gated-at.bofh.it>
In reply to#262922
On 30 Oct 2023 13:36 -0600, from willitc9888@gmail.com (William Torrez Corea):
> model name : Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
> 
> cpu MHz : 798.205
> cpu MHz : 798.173
> cpu MHz : 798.250
> cpu MHz : 798.223

There's something. You have a 4 x 1.8 GHz CPU but it's actually
running at 800 MHz across all cores. 1.8 GHz is already at the slow
end by modern standards but 800 MHz is definitely slow. If you
actually did this while doing something which you felt was slow, it
should have stepped up the frequency.

This _might_ be different on an older kernel but I'm curious what the
CPU frequency governor is set to. Please try:

for policy in /sys/devices/system/cpu/cpufreq/policy*/; do echo $policy ; cat $policy/scaling_governor ; cat $policy/scaling_max_freq ; done

(note: all on one line)

and show us the output.

-- 
Michael Kjörling                     🔗 https://michael.kjorling.se
“Remember when, on the Internet, nobody cared that you were a dog?”

[toc] | [prev] | [next] | [standalone]


#262928

FromWilliam Torrez Corea <willitc9888@gmail.com>
Date2023-10-30 21:20 +0100
Message-ID<HuGTT-1XPA-1@gated-at.bofh.it>
In reply to#262924

[Multipart message — attachments visible in raw view] — view raw

On Mon, Oct 30, 2023 at 1:49 PM Michael Kjörling <2695bd53d63c@ewoof.net>
wrote:

> On 30 Oct 2023 13:36 -0600, from willitc9888@gmail.com (William Torrez
> Corea):
> > model name : Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
> >
> > cpu MHz : 798.205
> > cpu MHz : 798.173
> > cpu MHz : 798.250
> > cpu MHz : 798.223
>
> There's something. You have a 4 x 1.8 GHz CPU but it's actually
> running at 800 MHz across all cores. 1.8 GHz is already at the slow
> end by modern standards but 800 MHz is definitely slow. If you
> actually did this while doing something which you felt was slow, it
> should have stepped up the frequency.
>
> This _might_ be different on an older kernel but I'm curious what the
> CPU frequency governor is set to. Please try:
>
> for policy in /sys/devices/system/cpu/cpufreq/policy*/; do echo $policy ;
> cat $policy/scaling_governor ; cat $policy/scaling_max_freq ; done
>
> (note: all on one line)
>
> and show us the output.
>
> --
> Michael Kjörling                     🔗 https://michael.kjorling.se
> “Remember when, on the Internet, nobody cared that you were a dog?”
>
>
/sys/devices/system/cpu/cpufreq/policy0/
schedutil
3000000
/sys/devices/system/cpu/cpufreq/policy1/
schedutil
3000000
/sys/devices/system/cpu/cpufreq/policy2/
schedutil
3000000
/sys/devices/system/cpu/cpufreq/policy3/
schedutil
3000000


-- 

With kindest regards, William.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀

[toc] | [prev] | [next] | [standalone]


#262940

Frompiorunz <piorunz@gmx.com>
Date2023-10-31 01:10 +0100
Message-ID<HuKut-206l-3@gated-at.bofh.it>
In reply to#262924
On 30/10/2023 19:49, Michael Kjörling wrote:
> On 30 Oct 2023 13:36 -0600, from willitc9888@gmail.com (William Torrez Corea):
>> model name : Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
>>
>> cpu MHz : 798.205
>> cpu MHz : 798.173
>> cpu MHz : 798.250
>> cpu MHz : 798.223
>
> There's something. You have a 4 x 1.8 GHz CPU but it's actually
> running at 800 MHz across all cores. 1.8 GHz is already at the slow
> end by modern standards but 800 MHz is definitely slow. If you
> actually did this while doing something which you felt was slow, it
> should have stepped up the frequency.

CPU is idling and there is nothing to do, I don't know why you want to
investigate normal CPU behaviour. This is absolutely normal. Going down
all the way to 0.80 GHz is actually great, that is definitely conserving
power.

Here's another example:

neofetch | grep CPU
CPU: AMD Ryzen 7 5800X (16) @ 3.800GHz [47.3°C]

$ grep -e '^cpu MHz' /proc/cpuinfo
cpu MHz         : 2627.848
cpu MHz         : 2880.186
cpu MHz         : 2660.697
cpu MHz         : 2874.974
cpu MHz         : 2878.375
cpu MHz         : 2879.568
cpu MHz         : 3800.000
cpu MHz         : 2200.000
cpu MHz         : 2200.000
cpu MHz         : 2878.822
cpu MHz         : 2879.274
cpu MHz         : 2824.946
cpu MHz         : 2200.000
cpu MHz         : 2200.000
cpu MHz         : 3596.336
cpu MHz         : 2869.524

Oh look my Ryzen is broken because it's only delivering 2800 MHz instead
of advertised 3800 MHz, yes? No. It's power saving because there is
nothing to do, processor is not busy, so frequency is scaling down. This
is all by default, no tweaks required.

--
With kindest regards, Piotr.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀⠀⠀

[toc] | [prev] | [next] | [standalone]


#262959

FromMichael Kjörling <2695bd53d63c@ewoof.net>
Date2023-10-31 13:20 +0100
Message-ID<HuVSV-27kE-1@gated-at.bofh.it>
In reply to#262940
On 31 Oct 2023 00:08 +0000, from piorunz@gmx.com (piorunz):
> CPU is idling and there is nothing to do, I don't know why you want to
> investigate normal CPU behaviour. This is absolutely normal. Going down
> all the way to 0.80 GHz is actually great, that is definitely conserving
> power.

Which is why I specifically asked OP to show the output of those while
doing something where OP felt that the computer was slow, _and_
reiterated that exact point in my response which you quoted from.

Please at least actually read what you're replying to before resorting
to sarcasm and assuming that people have no clue what they are talking
about or making suggestions to check.

-- 
Michael Kjörling                     🔗 https://michael.kjorling.se
“Remember when, on the Internet, nobody cared that you were a dog?”

[toc] | [prev] | [next] | [standalone]


#262961

Frompiorunz <piorunz@gmx.com>
Date2023-10-31 13:50 +0100
Message-ID<HuWlX-27vf-5@gated-at.bofh.it>
In reply to#262959
On 31/10/2023 12:10, Michael Kjörling wrote:
> Which is why I specifically asked OP to show the output of those while
> doing something where OP felt that the computer was slow,_and_
> reiterated that exact point in my response which you quoted from.

Dear Michael,

It was not my intention to offend you. Sorry for sarcasm.

I don't believe that CPU slowing down due to no activity will be felt by
a desktop user, because even moving a mouse will cause CPU frequency to
spike. And a busy computer (OP has stated that CPU has a constant use of
around 30%) will have frequencies high anyway.

--
With kindest regards, Piotr.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀⠀⠀

[toc] | [prev] | [next] | [standalone]


#262925

Frompiorunz <piorunz@gmx.com>
Date2023-10-30 20:50 +0100
Message-ID<HuGqR-1XpU-9@gated-at.bofh.it>
In reply to#262912
On 30/10/2023 18:56, Van Snyder wrote:
> Firefox, in every version I've used so far, appears to have memory
> leaks. If I kill it, not by clicking its little "X" or Alt-F4, but with
> "kill -9", so that it reopens everything when I restart it, my memory
> usage immediately drops by 75%. Then it creeps back up.

Firefox doesn't have any memory leaks. It actively uses buffers, cache,
filling available memory. I have Firefox running for days, sometimes
weeks. On slow laptop, and fast workstation PC. Same result, no crashes,
no memory leaks.

--
With kindest regards, Piotr.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀⠀⠀

[toc] | [prev] | [next] | [standalone]


#262937

FromDan Purgert <dan@djph.net>
Date2023-10-31 00:30 +0100
Message-ID<HuJRL-1ZCr-3@gated-at.bofh.it>
In reply to#262925

[Multipart message — attachments visible in raw view] — view raw

On Oct 30, 2023, Van Snyder wrote:
> On Mon, 2023-10-30 at 19:40 +0000, piorunz wrote:
> > On 30/10/2023 18:56, Van Snyder wrote:
> > > Firefox, in every version I've used so far, appears to have
> > > memoryleaks. If I kill it, not by clicking its little "X" or Alt-
> > > F4, but with"kill -9", so that it reopens everything when I restart
> > > it, my memoryusage immediately drops by 75%. Then it creeps back
> > > up.
> > 
> > Firefox doesn't have any memory leaks. It actively uses buffers,
> > cache,filling available memory. I have Firefox running for days,
> > sometimesweeks. On slow laptop, and fast workstation PC. Same result,
> > no crashes,no memory leaks.
> 
> Then why does it use 1/3 as much memory to display the same pages and
> tabs when I kill it and restart it? That's a symptom of memory leakage.

Or is it a plugin that leaks (or crap scripts on the sites)?

-- 
|_|O|_|
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1  E067 6D65 70E5 4CE7 2860

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | linux.debian.user


csiph-web