System performance is not OK.

Everything about X, Gnome, KDE, ... and everything running on it

System performance is not OK.

Postby hack3rcon » 2019-08-05 11:20

Hello,
When I want to open some files together then my system hanged. For example, I'm downloading a file and played a song and launch a VM then music interrupted and system hanged for some minutes. My system is Core i7 and have 16 GB of RAM. I have enough free space too.
How can I troubleshooting it? I checked by "iotop" or "htop" commands, but not found anything odd.

Thanks.
hack3rcon
 
Posts: 293
Joined: 2015-02-16 09:54

Re: System performance is not OK.

Postby ruwolf » 2019-08-05 12:00

What does your abbreviation VM mean?
User avatar
ruwolf
 
Posts: 392
Joined: 2008-02-18 05:04
Location: Slovakia, Banovce nad Bebravou, Matice slovenskej 1260/4-7

Re: System performance is not OK.

Postby CwF » 2019-08-05 13:11

Don't use Virtual Box and don't provision all the cpu's to the the vm?

Que Depth! It's not how big your pipe is but how many you have.
CwF
 
Posts: 443
Joined: 2018-06-20 15:16

Re: System performance is not OK.

Postby Head_on_a_Stick » 2019-08-05 14:55

hack3rcon wrote:I checked by "iotop" or "htop" commands

Was there much memory free?
Code: Select all
free -h

@ruwolf: "VM" is short for Virtual Machine, the OP is probably using VirtualBox (sadly).
User avatar
Head_on_a_Stick
 
Posts: 10377
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: System performance is not OK.

Postby stevepusser » 2019-08-05 16:20

Yes, the system "hanging" for a few minutes and then recovering matches what happens when it runs out of free RAM and has to resort to swapping to the hard disk for a period.

There are several ways to keep an eye on used RAM--I prefer to have a widget on the taskbar that shows it, updated every second. What widget is right for you depends on your desktop.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Calibre 3.47.1, QMPlay2 19.09.03, wine-staging 4.15, Telegram-desktop 1.8.4, Pale Moon 28.7.0, Waterfox 56.2.14
User avatar
stevepusser
 
Posts: 11090
Joined: 2009-10-06 05:53

Re: System performance is not OK.

Postby hack3rcon » 2019-08-10 11:27

My system has enough free memory:
Code: Select all
$ sudo free
              total        used        free      shared  buff/cache   available
Mem:       16274948     8001252     1824336      133008     6449360     7893208
Swap:       8795132       15304     8779828

https://pasteboard.co/Is2Imq7.png
hack3rcon
 
Posts: 293
Joined: 2015-02-16 09:54

Re: System performance is not OK.

Postby Deb-fan » 2019-08-10 12:48

Check logs for one. Like "journalctl -p 3". Do 2 and 1 with it too. Would also help if you gave more info about your hardware. Many ways to do it and much software for gnu/nix available for the purpose ie:inxi etc etc. Somebody might spot a problem child component or whatever else. Lastly would definitely advise lowering your swappiness to 10. Edit the /etc/sysctl.conf file and put this at the bottom.
Code: Select all
# Lower swap to a more reasonable level
vm.swappiness=10
Deb-fan
 
Posts: 273
Joined: 2012-08-14 12:27

Re: System performance is not OK.

Postby Zjho » 2019-08-12 05:18

If a solid state drive is used try also every so often :

Code: Select all
fstrim -v /
User avatar
Zjho
 
Posts: 42
Joined: 2016-09-15 17:46

Re: System performance is not OK.

Postby pcalvert » 2019-08-13 00:53

“Property is the fruit of labor; property is desirable; it is a positive good
in the world. That some should be rich shows that others may become
rich, and hence is just encouragement to industry and enterprise.”
— Abraham Lincoln
pcalvert
 
Posts: 1845
Joined: 2006-04-21 11:19
Location: Sol Sector

Re: System performance is not OK.

Postby phenest » 2019-08-13 06:45

Some here have suggested your VM might be to blame. Regardless of which software you use for that, have you allocated RAM sensibly for it and not handed over a huge amount?

Also, does this only happen when you use a particular program (i.e. your VM) or any of them? Try to narrow it down through observation in case it's just one piece of software or combinations.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D
User avatar
phenest
 
Posts: 1703
Joined: 2010-03-09 09:38
Location: The Matrix


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 11 guests

fashionable